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

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

Issue 1963213002: Remove 'name' from argumentNames and replace with 'argumentsNames' in UnlinkedConstructorInitialize… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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/resynthesize.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 1015 matching lines...) Expand 10 before | Expand all | Expand 10 after
1026 List<int> get ints; 1026 List<int> get ints;
1027 1027
1028 /** 1028 /**
1029 * Indicates whether the expression is a valid potentially constant 1029 * Indicates whether the expression is a valid potentially constant
1030 * expression. 1030 * expression.
1031 */ 1031 */
1032 @Id(5) 1032 @Id(5)
1033 bool get isValidConst; 1033 bool get isValidConst;
1034 1034
1035 /** 1035 /**
1036 * If the expression is a [NamedExpression], the name of the expression.
1037 */
1038 @Id(7)
1039 String get name;
1040
1041 /**
1042 * Sequence of operations to execute (starting with an empty stack) to form 1036 * Sequence of operations to execute (starting with an empty stack) to form
1043 * the constant value. 1037 * the constant value.
1044 */ 1038 */
1045 @Id(0) 1039 @Id(0)
1046 List<UnlinkedConstOperation> get operations; 1040 List<UnlinkedConstOperation> get operations;
1047 1041
1048 /** 1042 /**
1049 * Sequence of language constructs consumed by the operations 1043 * Sequence of language constructs consumed by the operations
1050 * `pushReference`, `invokeConstructor`, `makeList`, and `makeMap`. Note 1044 * `pushReference`, `invokeConstructor`, `makeList`, and `makeMap`. Note
1051 * that in the case of `pushReference` (and sometimes `invokeConstructor` the 1045 * that in the case of `pushReference` (and sometimes `invokeConstructor` the
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
1466 */ 1460 */
1467 abstract class UnlinkedConstructorInitializer extends base.SummaryClass { 1461 abstract class UnlinkedConstructorInitializer extends base.SummaryClass {
1468 /** 1462 /**
1469 * If [kind] is `thisInvocation` or `superInvocation`, the arguments of the 1463 * If [kind] is `thisInvocation` or `superInvocation`, the arguments of the
1470 * invocation. Otherwise empty. 1464 * invocation. Otherwise empty.
1471 */ 1465 */
1472 @Id(3) 1466 @Id(3)
1473 List<UnlinkedConst> get arguments; 1467 List<UnlinkedConst> get arguments;
1474 1468
1475 /** 1469 /**
1470 * If there are `m` [arguments] and `n` [argumentNames], then each argument
1471 * from [arguments] with index `i` such that `n + i - m >= 0`, should be used
1472 * with the name at `n + i - m`.
1473 */
1474 @Id(4)
1475 List<String> get argumentNames;
1476
1477 /**
1476 * If [kind] is `field`, the expression of the field initializer. 1478 * If [kind] is `field`, the expression of the field initializer.
1477 * Otherwise `null`. 1479 * Otherwise `null`.
1478 */ 1480 */
1479 @Id(1) 1481 @Id(1)
1480 UnlinkedConst get expression; 1482 UnlinkedConst get expression;
1481 1483
1482 /** 1484 /**
1483 * The kind of the constructor initializer (field, redirect, super). 1485 * The kind of the constructor initializer (field, redirect, super).
1484 */ 1486 */
1485 @Id(2) 1487 @Id(2)
(...skipping 1216 matching lines...) Expand 10 before | Expand all | Expand 10 after
2702 */ 2704 */
2703 @Id(11) 2705 @Id(11)
2704 int get visibleLength; 2706 int get visibleLength;
2705 2707
2706 /** 2708 /**
2707 * If a local variable, the beginning of the visible range; zero otherwise. 2709 * If a local variable, the beginning of the visible range; zero otherwise.
2708 */ 2710 */
2709 @Id(12) 2711 @Id(12)
2710 int get visibleOffset; 2712 int get visibleOffset;
2711 } 2713 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/summary/format.fbs ('k') | pkg/analyzer/lib/src/summary/resynthesize.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698