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 813 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
824 /** | 824 /** |
825 * The kind of the entity being referred to. For the pseudo-types `dynamic` | 825 * The kind of the entity being referred to. For the pseudo-types `dynamic` |
826 * and `void`, the kind is [ReferenceKind.classOrEnum]. | 826 * and `void`, the kind is [ReferenceKind.classOrEnum]. |
827 */ | 827 */ |
828 @Id(2) | 828 @Id(2) |
829 ReferenceKind get kind; | 829 ReferenceKind get kind; |
830 | 830 |
831 /** | 831 /** |
832 * If [kind] is [ReferenceKind.function] (that is, the entity being referred | 832 * If [kind] is [ReferenceKind.function] (that is, the entity being referred |
833 * to is a local function), the index of the function within | 833 * to is a local function), the index of the function within |
834 * [UnlinkedExecutable.localFunctions]. If [kind] is | 834 * [UnlinkedExecutable.localFunctions]. Otherwise zero. |
835 * [ReferenceKind.variable], the index of the variable within | |
836 * [UnlinkedExecutable.localVariables]. Otherwise zero. | |
837 */ | 835 */ |
838 @Id(6) | 836 @Id(6) |
839 int get localIndex; | 837 int get localIndex; |
840 | 838 |
841 /** | 839 /** |
842 * If this [LinkedReference] doesn't have an associated [UnlinkedReference], | 840 * If this [LinkedReference] doesn't have an associated [UnlinkedReference], |
843 * name of the entity being referred to. For the pseudo-type `dynamic`, the | 841 * name of the entity being referred to. For the pseudo-type `dynamic`, the |
844 * string is "dynamic". For the pseudo-type `void`, the string is "void". | 842 * string is "dynamic". For the pseudo-type `void`, the string is "void". |
845 */ | 843 */ |
846 @Id(3) | 844 @Id(3) |
(...skipping 948 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1795 * The list of local labels. | 1793 * The list of local labels. |
1796 */ | 1794 */ |
1797 @informative | 1795 @informative |
1798 @Id(22) | 1796 @Id(22) |
1799 List<UnlinkedLabel> get localLabels; | 1797 List<UnlinkedLabel> get localLabels; |
1800 | 1798 |
1801 /** | 1799 /** |
1802 * The list of local variables. | 1800 * The list of local variables. |
1803 */ | 1801 */ |
1804 @informative | 1802 @informative |
| 1803 @deprecated |
1805 @Id(19) | 1804 @Id(19) |
1806 List<UnlinkedVariable> get localVariables; | 1805 List<UnlinkedVariable> get localVariables; |
1807 | 1806 |
1808 /** | 1807 /** |
1809 * Name of the executable. For setters, this includes the trailing "=". For | 1808 * Name of the executable. For setters, this includes the trailing "=". For |
1810 * named constructors, this excludes the class name and excludes the ".". | 1809 * named constructors, this excludes the class name and excludes the ".". |
1811 * For unnamed constructors, this is the empty string. | 1810 * For unnamed constructors, this is the empty string. |
1812 */ | 1811 */ |
1813 @Id(1) | 1812 @Id(1) |
1814 String get name; | 1813 String get name; |
(...skipping 1568 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3383 @Id(11) | 3382 @Id(11) |
3384 int get visibleLength; | 3383 int get visibleLength; |
3385 | 3384 |
3386 /** | 3385 /** |
3387 * If a local variable, the beginning of the visible range; zero otherwise. | 3386 * If a local variable, the beginning of the visible range; zero otherwise. |
3388 */ | 3387 */ |
3389 @informative | 3388 @informative |
3390 @Id(12) | 3389 @Id(12) |
3391 int get visibleOffset; | 3390 int get visibleOffset; |
3392 } | 3391 } |
OLD | NEW |