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

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

Issue 1791493003: Fix for indexing synthetic enum fields. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « pkg/analyzer/lib/src/summary/format.fbs ('k') | pkg/analyzer/lib/src/summary/index_unit.dart » ('j') | 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 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 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 setter, 275 setter,
276 276
277 /** 277 /**
278 * The synthetic top-level variable element. 278 * The synthetic top-level variable element.
279 */ 279 */
280 topLevelVariable, 280 topLevelVariable,
281 281
282 /** 282 /**
283 * The synthetic `loadLibrary` element. 283 * The synthetic `loadLibrary` element.
284 */ 284 */
285 loadLibrary 285 loadLibrary,
286
287 /**
288 * The synthetic `index` getter of an enum.
289 */
290 enumIndex,
291
292 /**
293 * The synthetic `values` getter of an enum.
294 */
295 enumValues
286 } 296 }
287 297
288 /** 298 /**
289 * Information about a dependency that exists between one library and another 299 * Information about a dependency that exists between one library and another
290 * due to an "import" declaration. 300 * due to an "import" declaration.
291 */ 301 */
292 abstract class LinkedDependency extends base.SummaryClass { 302 abstract class LinkedDependency extends base.SummaryClass {
293 /** 303 /**
294 * URI for the compilation units listed in the library's `part` declarations. 304 * URI for the compilation units listed in the library's `part` declarations.
295 * These URIs are relative to the importing library. 305 * These URIs are relative to the importing library.
(...skipping 2077 matching lines...) Expand 10 before | Expand all | Expand 10 after
2373 */ 2383 */
2374 @Id(11) 2384 @Id(11)
2375 int get visibleLength; 2385 int get visibleLength;
2376 2386
2377 /** 2387 /**
2378 * If a local variable, the beginning of the visible range; zero otherwise. 2388 * If a local variable, the beginning of the visible range; zero otherwise.
2379 */ 2389 */
2380 @Id(12) 2390 @Id(12)
2381 int get visibleOffset; 2391 int get visibleOffset;
2382 } 2392 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/summary/format.fbs ('k') | pkg/analyzer/lib/src/summary/index_unit.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698