| 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 1326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1337 /** | 1337 /** |
| 1338 * Unlinked summary information about a specific name contributed by a | 1338 * Unlinked summary information about a specific name contributed by a |
| 1339 * compilation unit to a library's public namespace. | 1339 * compilation unit to a library's public namespace. |
| 1340 * | 1340 * |
| 1341 * TODO(paulberry): some of this information is redundant with information | 1341 * TODO(paulberry): some of this information is redundant with information |
| 1342 * elsewhere in the summary. Consider reducing the redundancy to reduce | 1342 * elsewhere in the summary. Consider reducing the redundancy to reduce |
| 1343 * summary size. | 1343 * summary size. |
| 1344 */ | 1344 */ |
| 1345 abstract class UnlinkedPublicName extends base.SummaryClass { | 1345 abstract class UnlinkedPublicName extends base.SummaryClass { |
| 1346 /** | 1346 /** |
| 1347 * If this [UnlinkedPublicName] is a class, the list of members which can be | |
| 1348 * referenced from constants - static constant fields, static methods, and | |
| 1349 * constructors. Otherwise empty. | |
| 1350 */ | |
| 1351 List<UnlinkedPublicName> get constMembers; | |
| 1352 | |
| 1353 /** | |
| 1354 * The kind of object referred to by the name. | 1347 * The kind of object referred to by the name. |
| 1355 */ | 1348 */ |
| 1356 ReferenceKind get kind; | 1349 ReferenceKind get kind; |
| 1357 | 1350 |
| 1358 /** | 1351 /** |
| 1352 * If this [UnlinkedPublicName] is a class, the list of members which can be |
| 1353 * referenced from constants or factory redirects - static constant fields, |
| 1354 * static methods, and constructors. Otherwise empty. |
| 1355 * |
| 1356 * Unnamed constructors are not included since they do not constitute a |
| 1357 * separate name added to any namespace. |
| 1358 */ |
| 1359 List<UnlinkedPublicName> get members; |
| 1360 |
| 1361 /** |
| 1359 * The name itself. | 1362 * The name itself. |
| 1360 */ | 1363 */ |
| 1361 String get name; | 1364 String get name; |
| 1362 | 1365 |
| 1363 /** | 1366 /** |
| 1364 * If the entity being referred to is generic, the number of type parameters | 1367 * If the entity being referred to is generic, the number of type parameters |
| 1365 * it accepts. Otherwise zero. | 1368 * it accepts. Otherwise zero. |
| 1366 */ | 1369 */ |
| 1367 int get numTypeParameters; | 1370 int get numTypeParameters; |
| 1368 } | 1371 } |
| (...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1654 * | 1657 * |
| 1655 * Non-propagable variables have a [propagatedTypeSlot] of zero. | 1658 * Non-propagable variables have a [propagatedTypeSlot] of zero. |
| 1656 */ | 1659 */ |
| 1657 int get propagatedTypeSlot; | 1660 int get propagatedTypeSlot; |
| 1658 | 1661 |
| 1659 /** | 1662 /** |
| 1660 * Declared type of the variable. Absent if the type is implicit. | 1663 * Declared type of the variable. Absent if the type is implicit. |
| 1661 */ | 1664 */ |
| 1662 EntityRef get type; | 1665 EntityRef get type; |
| 1663 } | 1666 } |
| OLD | NEW |