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

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

Issue 1642483002: Improve 'length' instance property reference encoding. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Improve using 'UnlinkedConstOperation.length'. Created 4 years, 10 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/test/src/summary/summary_common.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 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 * The entity is a static const field. 299 * The entity is a static const field.
300 */ 300 */
301 constField, 301 constField,
302 302
303 /** 303 /**
304 * The entity is a static method. 304 * The entity is a static method.
305 */ 305 */
306 staticMethod, 306 staticMethod,
307 307
308 /** 308 /**
309 * The `length` property access.
310 */
311 length,
312
313 /**
309 * The entity is a typedef. 314 * The entity is a typedef.
310 */ 315 */
311 typedef, 316 typedef,
312 317
313 /** 318 /**
314 * The entity is a top level function. 319 * The entity is a top level function.
315 */ 320 */
316 topLevelFunction, 321 topLevelFunction,
317 322
318 /** 323 /**
(...skipping 1139 matching lines...) Expand 10 before | Expand all | Expand 10 after
1458 int propagatedTypeSlot; 1463 int propagatedTypeSlot;
1459 1464
1460 /** 1465 /**
1461 * If this variable is inferrable, nonzero slot id identifying which entry in 1466 * If this variable is inferrable, nonzero slot id identifying which entry in
1462 * [LinkedLibrary.types] contains the inferred type for this variable. If 1467 * [LinkedLibrary.types] contains the inferred type for this variable. If
1463 * there is no matching entry in [LinkedLibrary.types], then no type was 1468 * there is no matching entry in [LinkedLibrary.types], then no type was
1464 * inferred for this variable, so its static type is `dynamic`. 1469 * inferred for this variable, so its static type is `dynamic`.
1465 */ 1470 */
1466 int inferredTypeSlot; 1471 int inferredTypeSlot;
1467 } 1472 }
OLDNEW
« no previous file with comments | « pkg/analyzer/test/src/summary/summary_common.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698