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

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

Issue 1854213002: Add support for serializing 'target[index]' expressions. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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 1342 matching lines...) Expand 10 before | Expand all | Expand 10 after
1353 * the stack. 1353 * the stack.
1354 */ 1354 */
1355 assignToProperty, 1355 assignToProperty,
1356 1356
1357 /** 1357 /**
1358 * Pop from the stack `value`, `index` and `target`. Perform 1358 * Pop from the stack `value`, `index` and `target`. Perform
1359 * `target[index] op= value` where `op` is the next assignment operator from 1359 * `target[index] op= value` where `op` is the next assignment operator from
1360 * [UnlinkedConst.assignmentOperators]. Push `value` back into the stack. 1360 * [UnlinkedConst.assignmentOperators]. Push `value` back into the stack.
1361 */ 1361 */
1362 assignToIndex, 1362 assignToIndex,
1363
1364 /**
1365 * Pop from the stack `index` and `target`. Push into the stack the result
1366 * of evaluation of `target[index]`.
1367 */
1368 extractIndex,
1363 } 1369 }
1364 1370
1365 /** 1371 /**
1366 * Unlinked summary information about a constructor initializer. 1372 * Unlinked summary information about a constructor initializer.
1367 */ 1373 */
1368 abstract class UnlinkedConstructorInitializer extends base.SummaryClass { 1374 abstract class UnlinkedConstructorInitializer extends base.SummaryClass {
1369 /** 1375 /**
1370 * If [kind] is `thisInvocation` or `superInvocation`, the arguments of the 1376 * If [kind] is `thisInvocation` or `superInvocation`, the arguments of the
1371 * invocation. Otherwise empty. 1377 * invocation. Otherwise empty.
1372 */ 1378 */
(...skipping 1194 matching lines...) Expand 10 before | Expand all | Expand 10 after
2567 */ 2573 */
2568 @Id(11) 2574 @Id(11)
2569 int get visibleLength; 2575 int get visibleLength;
2570 2576
2571 /** 2577 /**
2572 * If a local variable, the beginning of the visible range; zero otherwise. 2578 * If a local variable, the beginning of the visible range; zero otherwise.
2573 */ 2579 */
2574 @Id(12) 2580 @Id(12)
2575 int get visibleOffset; 2581 int get visibleOffset;
2576 } 2582 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/summary/format.fbs ('k') | pkg/analyzer/lib/src/summary/summarize_const_expr.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698