| 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 */ | 123 */ |
| 124 PrelinkedReferenceKind kind; | 124 PrelinkedReferenceKind kind; |
| 125 | 125 |
| 126 /** | 126 /** |
| 127 * Integer index indicating which unit in the imported library contains the | 127 * Integer index indicating which unit in the imported library contains the |
| 128 * definition of the entity. As with indices into [PrelinkedLibrary.units], | 128 * definition of the entity. As with indices into [PrelinkedLibrary.units], |
| 129 * zero represents the defining compilation unit, and nonzero values | 129 * zero represents the defining compilation unit, and nonzero values |
| 130 * represent parts in the order of the corresponding `part` declarations. | 130 * represent parts in the order of the corresponding `part` declarations. |
| 131 */ | 131 */ |
| 132 int unit; | 132 int unit; |
| 133 |
| 134 /** |
| 135 * If the entity being referred to is generic, the number of type parameters |
| 136 * it accepts. Otherwise zero. |
| 137 */ |
| 138 int numTypeParameters; |
| 133 } | 139 } |
| 134 | 140 |
| 135 /** | 141 /** |
| 136 * Enum used to indicate the kind of entity referred to by a | 142 * Enum used to indicate the kind of entity referred to by a |
| 137 * [PrelinkedReference]. | 143 * [PrelinkedReference]. |
| 138 */ | 144 */ |
| 139 enum PrelinkedReferenceKind { | 145 enum PrelinkedReferenceKind { |
| 140 /** | 146 /** |
| 141 * The entity is a class or enum. | 147 * The entity is a class or enum. |
| 142 */ | 148 */ |
| (...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 772 /** | 778 /** |
| 773 * Indicates whether the variable is declared using the `const` keyword. | 779 * Indicates whether the variable is declared using the `const` keyword. |
| 774 */ | 780 */ |
| 775 bool isConst; | 781 bool isConst; |
| 776 | 782 |
| 777 /** | 783 /** |
| 778 * Indicates whether this variable lacks an explicit type declaration. | 784 * Indicates whether this variable lacks an explicit type declaration. |
| 779 */ | 785 */ |
| 780 bool hasImplicitType; | 786 bool hasImplicitType; |
| 781 } | 787 } |
| OLD | NEW |