| 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 732 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 743 class UnlinkedReference { | 743 class UnlinkedReference { |
| 744 /** | 744 /** |
| 745 * Name of the entity being referred to. The empty string refers to the | 745 * Name of the entity being referred to. The empty string refers to the |
| 746 * pseudo-type `dynamic`. | 746 * pseudo-type `dynamic`. |
| 747 */ | 747 */ |
| 748 String name; | 748 String name; |
| 749 | 749 |
| 750 /** | 750 /** |
| 751 * Prefix used to refer to the entity, or zero if no prefix is used. This is | 751 * Prefix used to refer to the entity, or zero if no prefix is used. This is |
| 752 * an index into [UnlinkedUnit.references]. | 752 * an index into [UnlinkedUnit.references]. |
| 753 * |
| 754 * Prefix references must always point backward; that is, for all i, if |
| 755 * UnlinkedUnit.references[i].prefixReference != 0, then |
| 756 * UnlinkedUnit.references[i].prefixReference < i. |
| 753 */ | 757 */ |
| 754 int prefixReference; | 758 int prefixReference; |
| 755 } | 759 } |
| 756 | 760 |
| 757 /** | 761 /** |
| 758 * Unlinked summary information about a typedef declaration. | 762 * Unlinked summary information about a typedef declaration. |
| 759 */ | 763 */ |
| 760 class UnlinkedTypedef { | 764 class UnlinkedTypedef { |
| 761 /** | 765 /** |
| 762 * Name of the typedef. | 766 * Name of the typedef. |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 989 /** | 993 /** |
| 990 * Indicates whether the variable is declared using the `const` keyword. | 994 * Indicates whether the variable is declared using the `const` keyword. |
| 991 */ | 995 */ |
| 992 bool isConst; | 996 bool isConst; |
| 993 | 997 |
| 994 /** | 998 /** |
| 995 * Indicates whether this variable lacks an explicit type declaration. | 999 * Indicates whether this variable lacks an explicit type declaration. |
| 996 */ | 1000 */ |
| 997 bool hasImplicitType; | 1001 bool hasImplicitType; |
| 998 } | 1002 } |
| OLD | NEW |