api_library.carbon 873 B

12345678910111213141516171819
  1. // Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. // Exceptions. See /LICENSE for license information.
  3. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. //
  5. // AUTOUPDATE
  6. package Geometry library "Shapes" api;
  7. // CHECK:STDOUT: - filename: api_library.carbon
  8. // CHECK:STDOUT: parse_tree: [
  9. // CHECK:STDOUT: {kind: 'FileStart', text: ''},
  10. // CHECK:STDOUT: {kind: 'PackageIntroducer', text: 'package'},
  11. // CHECK:STDOUT: {kind: 'PackageName', text: 'Geometry'},
  12. // CHECK:STDOUT: {kind: 'LibraryName', text: '"Shapes"'},
  13. // CHECK:STDOUT: {kind: 'LibrarySpecifier', text: 'library', subtree_size: 2},
  14. // CHECK:STDOUT: {kind: 'PackageApi', text: 'api'},
  15. // CHECK:STDOUT: {kind: 'PackageDirective', text: ';', subtree_size: 6},
  16. // CHECK:STDOUT: {kind: 'FileEnd', text: ''},
  17. // CHECK:STDOUT: ]