Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 1016 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1027 List<int> get ints; | 1027 List<int> get ints; |
| 1028 | 1028 |
| 1029 /** | 1029 /** |
| 1030 * Indicates whether the expression is a valid potentially constant | 1030 * Indicates whether the expression is a valid potentially constant |
| 1031 * expression. | 1031 * expression. |
| 1032 */ | 1032 */ |
| 1033 @Id(5) | 1033 @Id(5) |
| 1034 bool get isValidConst; | 1034 bool get isValidConst; |
| 1035 | 1035 |
| 1036 /** | 1036 /** |
| 1037 * If the expression is a [NamedExpression], the name of the expression. | |
| 1038 */ | |
| 1039 @Id(7) | |
| 1040 String get name; | |
|
Paul Berry
2016/05/05 21:47:02
It seems like an unfortunate inconsistency that we
scheglov
2016/05/05 21:56:58
Well, I actually started to implement it this way.
Paul Berry
2016/05/05 22:04:28
Hmm, It's not clear to me where the additional sou
| |
| 1041 | |
| 1042 /** | |
| 1037 * Sequence of operations to execute (starting with an empty stack) to form | 1043 * Sequence of operations to execute (starting with an empty stack) to form |
| 1038 * the constant value. | 1044 * the constant value. |
| 1039 */ | 1045 */ |
| 1040 @Id(0) | 1046 @Id(0) |
| 1041 List<UnlinkedConstOperation> get operations; | 1047 List<UnlinkedConstOperation> get operations; |
| 1042 | 1048 |
| 1043 /** | 1049 /** |
| 1044 * Sequence of language constructs consumed by the operations | 1050 * Sequence of language constructs consumed by the operations |
| 1045 * `pushReference`, `invokeConstructor`, `makeList`, and `makeMap`. Note | 1051 * `pushReference`, `invokeConstructor`, `makeList`, and `makeMap`. Note |
| 1046 * that in the case of `pushReference` (and sometimes `invokeConstructor` the | 1052 * that in the case of `pushReference` (and sometimes `invokeConstructor` the |
| (...skipping 1650 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2697 */ | 2703 */ |
| 2698 @Id(11) | 2704 @Id(11) |
| 2699 int get visibleLength; | 2705 int get visibleLength; |
| 2700 | 2706 |
| 2701 /** | 2707 /** |
| 2702 * If a local variable, the beginning of the visible range; zero otherwise. | 2708 * If a local variable, the beginning of the visible range; zero otherwise. |
| 2703 */ | 2709 */ |
| 2704 @Id(12) | 2710 @Id(12) |
| 2705 int get visibleOffset; | 2711 int get visibleOffset; |
| 2706 } | 2712 } |
| OLD | NEW |