| 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 1109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1120 @Id(4) | 1120 @Id(4) |
| 1121 UnlinkedExecutableKind get kind; | 1121 UnlinkedExecutableKind get kind; |
| 1122 | 1122 |
| 1123 /** | 1123 /** |
| 1124 * The list of local functions. | 1124 * The list of local functions. |
| 1125 */ | 1125 */ |
| 1126 @Id(18) | 1126 @Id(18) |
| 1127 List<UnlinkedExecutable> get localFunctions; | 1127 List<UnlinkedExecutable> get localFunctions; |
| 1128 | 1128 |
| 1129 /** | 1129 /** |
| 1130 * The list of local labels. |
| 1131 */ |
| 1132 @Id(22) |
| 1133 List<UnlinkedLabel> get localLabels; |
| 1134 |
| 1135 /** |
| 1130 * The list of local variables. | 1136 * The list of local variables. |
| 1131 */ | 1137 */ |
| 1132 @Id(19) | 1138 @Id(19) |
| 1133 List<UnlinkedVariable> get localVariables; | 1139 List<UnlinkedVariable> get localVariables; |
| 1134 | 1140 |
| 1135 /** | 1141 /** |
| 1136 * Name of the executable. For setters, this includes the trailing "=". For | 1142 * Name of the executable. For setters, this includes the trailing "=". For |
| 1137 * named constructors, this excludes the class name and excludes the ".". | 1143 * named constructors, this excludes the class name and excludes the ".". |
| 1138 * For unnamed constructors, this is the empty string. | 1144 * For unnamed constructors, this is the empty string. |
| 1139 */ | 1145 */ |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1348 /** | 1354 /** |
| 1349 * Offset of the URI string (including quotes) relative to the beginning of | 1355 * Offset of the URI string (including quotes) relative to the beginning of |
| 1350 * the file. If [isImplicit] is true, zero. | 1356 * the file. If [isImplicit] is true, zero. |
| 1351 */ | 1357 */ |
| 1352 @informative | 1358 @informative |
| 1353 @Id(3) | 1359 @Id(3) |
| 1354 int get uriOffset; | 1360 int get uriOffset; |
| 1355 } | 1361 } |
| 1356 | 1362 |
| 1357 /** | 1363 /** |
| 1364 * Unlinked summary information about a label. |
| 1365 */ |
| 1366 abstract class UnlinkedLabel extends base.SummaryClass { |
| 1367 /** |
| 1368 * Return `true` if this label is associated with a `switch` member (`case` or |
| 1369 * `default`). |
| 1370 */ |
| 1371 @Id(2) |
| 1372 bool get isOnSwitchMember; |
| 1373 |
| 1374 /** |
| 1375 * Return `true` if this label is associated with a `switch` statement. |
| 1376 */ |
| 1377 @Id(3) |
| 1378 bool get isOnSwitchStatement; |
| 1379 |
| 1380 /** |
| 1381 * Name of the label. |
| 1382 */ |
| 1383 @Id(0) |
| 1384 String get name; |
| 1385 |
| 1386 /** |
| 1387 * Offset of the label relative to the beginning of the file. |
| 1388 */ |
| 1389 @informative |
| 1390 @Id(1) |
| 1391 int get nameOffset; |
| 1392 } |
| 1393 |
| 1394 /** |
| 1358 * Unlinked summary information about a function parameter. | 1395 * Unlinked summary information about a function parameter. |
| 1359 */ | 1396 */ |
| 1360 abstract class UnlinkedParam extends base.SummaryClass { | 1397 abstract class UnlinkedParam extends base.SummaryClass { |
| 1361 /** | 1398 /** |
| 1362 * Annotations for this parameter. | 1399 * Annotations for this parameter. |
| 1363 */ | 1400 */ |
| 1364 @Id(9) | 1401 @Id(9) |
| 1365 List<UnlinkedConst> get annotations; | 1402 List<UnlinkedConst> get annotations; |
| 1366 | 1403 |
| 1367 /** | 1404 /** |
| (...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1887 */ | 1924 */ |
| 1888 @Id(11) | 1925 @Id(11) |
| 1889 int get visibleLength; | 1926 int get visibleLength; |
| 1890 | 1927 |
| 1891 /** | 1928 /** |
| 1892 * If a local variable, the beginning of the visible range; zero otherwise. | 1929 * If a local variable, the beginning of the visible range; zero otherwise. |
| 1893 */ | 1930 */ |
| 1894 @Id(12) | 1931 @Id(12) |
| 1895 int get visibleOffset; | 1932 int get visibleOffset; |
| 1896 } | 1933 } |
| OLD | NEW |