| 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 */ | 173 */ |
| 174 List<PrelinkedReference> references; | 174 List<PrelinkedReference> references; |
| 175 } | 175 } |
| 176 | 176 |
| 177 /** | 177 /** |
| 178 * Information about SDK. | 178 * Information about SDK. |
| 179 */ | 179 */ |
| 180 @topLevel | 180 @topLevel |
| 181 class SdkBundle { | 181 class SdkBundle { |
| 182 /** | 182 /** |
| 183 * Information for the libraries units constituting the SDK. | 183 * The list of URIs of items in [prelinkedLibraries], e.g. `dart:core`. |
| 184 */ | 184 */ |
| 185 List<SdkBundleLibrary> libraries; | 185 List<String> prelinkedLibraryUris; |
| 186 } | |
| 187 | |
| 188 /** | |
| 189 * Information about a single library in SDK. | |
| 190 */ | |
| 191 class SdkBundleLibrary { | |
| 192 /** | |
| 193 * The URI of the library, including `dart:`, e.g. `dart:core`. | |
| 194 */ | |
| 195 String uri; | |
| 196 | 186 |
| 197 /** | 187 /** |
| 198 * Pre-linked information the library. | 188 * Pre-linked libraries. |
| 199 */ | 189 */ |
| 200 PrelinkedLibrary prelinked; | 190 List<PrelinkedLibrary> prelinkedLibraries; |
| 201 | 191 |
| 202 /** | 192 /** |
| 203 * Unlinked information for the compilation units constituting the library. | 193 * The list of URIs of items in [unlinkedUnits], e.g. `dart:core/bool.dart`. |
| 204 * The zeroth entry in the list is the defining compilation unit; the | 194 */ |
| 205 * remaining entries are the parts, in the order listed in the defining | 195 List<String> unlinkedUnitUris; |
| 206 * compilation unit's part declarations. | 196 |
| 197 /** |
| 198 * Unlinked information for the compilation units constituting the SDK. |
| 207 */ | 199 */ |
| 208 List<UnlinkedUnit> unlinkedUnits; | 200 List<UnlinkedUnit> unlinkedUnits; |
| 209 } | 201 } |
| 210 | 202 |
| 211 /** | 203 /** |
| 212 * Unlinked summary information about a class declaration. | 204 * Unlinked summary information about a class declaration. |
| 213 */ | 205 */ |
| 214 class UnlinkedClass { | 206 class UnlinkedClass { |
| 215 /** | 207 /** |
| 216 * Name of the class. | 208 * Name of the class. |
| (...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 744 /** | 736 /** |
| 745 * Indicates whether the variable is declared using the `const` keyword. | 737 * Indicates whether the variable is declared using the `const` keyword. |
| 746 */ | 738 */ |
| 747 bool isConst; | 739 bool isConst; |
| 748 | 740 |
| 749 /** | 741 /** |
| 750 * Indicates whether this variable lacks an explicit type declaration. | 742 * Indicates whether this variable lacks an explicit type declaration. |
| 751 */ | 743 */ |
| 752 bool hasImplicitType; | 744 bool hasImplicitType; |
| 753 } | 745 } |
| OLD | NEW |