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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 @TopLevel('ADRU') | 63 @TopLevel('ADRU') |
64 abstract class AnalysisDriverResolvedUnit extends base.SummaryClass { | 64 abstract class AnalysisDriverResolvedUnit extends base.SummaryClass { |
65 factory AnalysisDriverResolvedUnit.fromBuffer(List<int> buffer) => | 65 factory AnalysisDriverResolvedUnit.fromBuffer(List<int> buffer) => |
66 generated.readAnalysisDriverResolvedUnit(buffer); | 66 generated.readAnalysisDriverResolvedUnit(buffer); |
67 | 67 |
68 /** | 68 /** |
69 * The full list of analysis errors, both syntactic and semantic. | 69 * The full list of analysis errors, both syntactic and semantic. |
70 */ | 70 */ |
71 @Id(0) | 71 @Id(0) |
72 List<AnalysisDriverUnitError> get errors; | 72 List<AnalysisDriverUnitError> get errors; |
| 73 |
| 74 /** |
| 75 * The index of the unit. |
| 76 */ |
| 77 @Id(1) |
| 78 AnalysisDriverUnitIndex get index; |
73 } | 79 } |
74 | 80 |
75 /** | 81 /** |
76 * Information about an error in a resolved unit. | 82 * Information about an error in a resolved unit. |
77 */ | 83 */ |
78 abstract class AnalysisDriverUnitError extends base.SummaryClass { | 84 abstract class AnalysisDriverUnitError extends base.SummaryClass { |
79 /** | 85 /** |
80 * The optional correction hint for the error. | 86 * The optional correction hint for the error. |
81 */ | 87 */ |
82 @Id(4) | 88 @Id(4) |
(...skipping 2967 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3050 @Id(11) | 3056 @Id(11) |
3051 int get visibleLength; | 3057 int get visibleLength; |
3052 | 3058 |
3053 /** | 3059 /** |
3054 * If a local variable, the beginning of the visible range; zero otherwise. | 3060 * If a local variable, the beginning of the visible range; zero otherwise. |
3055 */ | 3061 */ |
3056 @informative | 3062 @informative |
3057 @Id(12) | 3063 @Id(12) |
3058 int get visibleOffset; | 3064 int get visibleOffset; |
3059 } | 3065 } |
OLD | NEW |