Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(469)

Side by Side Diff: pkg/analyzer/tool/summary/idl.dart

Issue 1539103002: Change SdkBundle to better fit its usage by SummaryResynthesizer. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pkg/analyzer/tool/summary/build_sdk_summary.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « pkg/analyzer/tool/summary/build_sdk_summary.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698