| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * This file is an "idl" style description of the summary format. It is not | 6 * This file is an "idl" style description of the summary format. It is not |
| 7 * executed directly; instead it is parsed and transformed into code that | 7 * executed directly; instead it is parsed and transformed into code that |
| 8 * implements the summary format. | 8 * implements the summary format. |
| 9 * | 9 * |
| 10 * The code generation process introduces the following non-typical semantics: | 10 * The code generation process introduces the following non-typical semantics: |
| (...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 565 * The kind of object referred to by the name. | 565 * The kind of object referred to by the name. |
| 566 */ | 566 */ |
| 567 PrelinkedReferenceKind kind; | 567 PrelinkedReferenceKind kind; |
| 568 } | 568 } |
| 569 | 569 |
| 570 /** | 570 /** |
| 571 * Unlinked summary information about what a compilation unit contributes to a | 571 * Unlinked summary information about what a compilation unit contributes to a |
| 572 * library's public namespace. This is the subset of [UnlinkedUnit] that is | 572 * library's public namespace. This is the subset of [UnlinkedUnit] that is |
| 573 * required from dependent libraries in order to perform prelinking. | 573 * required from dependent libraries in order to perform prelinking. |
| 574 */ | 574 */ |
| 575 @topLevel |
| 575 class UnlinkedPublicNamespace { | 576 class UnlinkedPublicNamespace { |
| 576 /** | 577 /** |
| 577 * Public names defined in the compilation unit. | 578 * Public names defined in the compilation unit. |
| 578 * | 579 * |
| 579 * TODO(paulberry): consider sorting these names to reduce unnecessary | 580 * TODO(paulberry): consider sorting these names to reduce unnecessary |
| 580 * relinking. | 581 * relinking. |
| 581 */ | 582 */ |
| 582 List<UnlinkedPublicName> names; | 583 List<UnlinkedPublicName> names; |
| 583 | 584 |
| 584 /** | 585 /** |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 782 /** | 783 /** |
| 783 * Indicates whether the variable is declared using the `const` keyword. | 784 * Indicates whether the variable is declared using the `const` keyword. |
| 784 */ | 785 */ |
| 785 bool isConst; | 786 bool isConst; |
| 786 | 787 |
| 787 /** | 788 /** |
| 788 * Indicates whether this variable lacks an explicit type declaration. | 789 * Indicates whether this variable lacks an explicit type declaration. |
| 789 */ | 790 */ |
| 790 bool hasImplicitType; | 791 bool hasImplicitType; |
| 791 } | 792 } |
| OLD | NEW |