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

Side by Side Diff: pkg/analyzer/lib/src/summary/idl.dart

Issue 1843473002: Sort analyzer sources (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Remove generated file and fix misplaced comments Created 4 years, 8 months 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
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 6 * This file is an "idl" style description of the summary format. It
7 * contains abstract classes which declare the interface for reading data from 7 * contains abstract classes which declare the interface for reading data from
8 * summaries. It is parsed and transformed into code that implements the 8 * summaries. It is parsed and transformed into code that implements the
9 * summary format. 9 * summary format.
10 * 10 *
(...skipping 2217 matching lines...) Expand 10 before | Expand all | Expand 10 after
2228 2228
2229 /** 2229 /**
2230 * Unlinked summary information about a compilation unit ("part file"). 2230 * Unlinked summary information about a compilation unit ("part file").
2231 */ 2231 */
2232 @TopLevel('UUnt') 2232 @TopLevel('UUnt')
2233 abstract class UnlinkedUnit extends base.SummaryClass { 2233 abstract class UnlinkedUnit extends base.SummaryClass {
2234 factory UnlinkedUnit.fromBuffer(List<int> buffer) => 2234 factory UnlinkedUnit.fromBuffer(List<int> buffer) =>
2235 generated.readUnlinkedUnit(buffer); 2235 generated.readUnlinkedUnit(buffer);
2236 2236
2237 /** 2237 /**
2238 * If this compilation unit was summarized in fallback mode, the path where
2239 * the compilation unit may be found on disk. Otherwise empty.
2240 *
2241 * When this field is non-empty, all other fields in the data structure have
2242 * their default values.
2243 */
2244 @Id(16)
2245 String get fallbackModePath;
2246
2247 /**
2248 * Classes declared in the compilation unit. 2238 * Classes declared in the compilation unit.
2249 */ 2239 */
2250 @Id(2) 2240 @Id(2)
2251 List<UnlinkedClass> get classes; 2241 List<UnlinkedClass> get classes;
2252 2242
2253 /** 2243 /**
2254 * Code range of the unit. 2244 * Code range of the unit.
2255 */ 2245 */
2256 @informative 2246 @informative
2257 @Id(15) 2247 @Id(15)
(...skipping 12 matching lines...) Expand all
2270 @Id(4) 2260 @Id(4)
2271 List<UnlinkedExecutable> get executables; 2261 List<UnlinkedExecutable> get executables;
2272 2262
2273 /** 2263 /**
2274 * Export declarations in the compilation unit. 2264 * Export declarations in the compilation unit.
2275 */ 2265 */
2276 @Id(13) 2266 @Id(13)
2277 List<UnlinkedExportNonPublic> get exports; 2267 List<UnlinkedExportNonPublic> get exports;
2278 2268
2279 /** 2269 /**
2270 * If this compilation unit was summarized in fallback mode, the path where
2271 * the compilation unit may be found on disk. Otherwise empty.
2272 *
2273 * When this field is non-empty, all other fields in the data structure have
2274 * their default values.
2275 */
2276 @Id(16)
2277 String get fallbackModePath;
2278
2279 /**
2280 * Import declarations in the compilation unit. 2280 * Import declarations in the compilation unit.
2281 */ 2281 */
2282 @Id(5) 2282 @Id(5)
2283 List<UnlinkedImport> get imports; 2283 List<UnlinkedImport> get imports;
2284 2284
2285 /** 2285 /**
2286 * Annotations for the library declaration, or the empty list if there is no 2286 * Annotations for the library declaration, or the empty list if there is no
2287 * library declaration. 2287 * library declaration.
2288 */ 2288 */
2289 @Id(14) 2289 @Id(14)
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
2461 */ 2461 */
2462 @Id(11) 2462 @Id(11)
2463 int get visibleLength; 2463 int get visibleLength;
2464 2464
2465 /** 2465 /**
2466 * If a local variable, the beginning of the visible range; zero otherwise. 2466 * If a local variable, the beginning of the visible range; zero otherwise.
2467 */ 2467 */
2468 @Id(12) 2468 @Id(12)
2469 int get visibleOffset; 2469 int get visibleOffset;
2470 } 2470 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/summary/format.dart ('k') | pkg/analyzer/test/generated/all_the_rest_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698