Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1052)

Side by Side Diff: pkg/analyzer/lib/src/summary/idl.dart

Issue 2777783003: Record variable names in type inference cycles. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « pkg/analyzer/lib/src/summary/format.fbs ('k') | pkg/analyzer/lib/src/summary/link.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1122 matching lines...) Expand 10 before | Expand all | Expand 10 after
1133 * The entity being referred to does not exist. 1133 * The entity being referred to does not exist.
1134 */ 1134 */
1135 unresolved 1135 unresolved
1136 } 1136 }
1137 1137
1138 /** 1138 /**
1139 * Summary information about a top-level type inference error. 1139 * Summary information about a top-level type inference error.
1140 */ 1140 */
1141 abstract class TopLevelInferenceError extends base.SummaryClass { 1141 abstract class TopLevelInferenceError extends base.SummaryClass {
1142 /** 1142 /**
1143 * The [kind] specific arguments.
1144 */
1145 @Id(2)
1146 List<String> get arguments;
1147
1148 /**
1143 * The kind of the error. 1149 * The kind of the error.
1144 */ 1150 */
1145 @Id(1) 1151 @Id(1)
1146 TopLevelInferenceErrorKind get kind; 1152 TopLevelInferenceErrorKind get kind;
1147 1153
1148 /** 1154 /**
1149 * The slot id (which is unique within the compilation unit) identifying the 1155 * The slot id (which is unique within the compilation unit) identifying the
1150 * target of type inference with which this [TopLevelInferenceError] is 1156 * target of type inference with which this [TopLevelInferenceError] is
1151 * associated. 1157 * associated.
1152 */ 1158 */
(...skipping 2166 matching lines...) Expand 10 before | Expand all | Expand 10 after
3319 @Id(11) 3325 @Id(11)
3320 int get visibleLength; 3326 int get visibleLength;
3321 3327
3322 /** 3328 /**
3323 * If a local variable, the beginning of the visible range; zero otherwise. 3329 * If a local variable, the beginning of the visible range; zero otherwise.
3324 */ 3330 */
3325 @informative 3331 @informative
3326 @Id(12) 3332 @Id(12)
3327 int get visibleOffset; 3333 int get visibleOffset;
3328 } 3334 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/summary/format.fbs ('k') | pkg/analyzer/lib/src/summary/link.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698