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

Side by Side Diff: pkg/analyzer/lib/src/dart/element/handle.dart

Issue 2694403003: Add CompilationUnitElement.lineInfo and resynthesize it. (Closed)
Patch Set: Created 3 years, 10 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
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 library analyzer.src.generated.element_handle; 5 library analyzer.src.generated.element_handle;
6 6
7 import 'package:analyzer/dart/ast/ast.dart'; 7 import 'package:analyzer/dart/ast/ast.dart';
8 import 'package:analyzer/dart/constant/value.dart'; 8 import 'package:analyzer/dart/constant/value.dart';
9 import 'package:analyzer/dart/element/element.dart'; 9 import 'package:analyzer/dart/element/element.dart';
10 import 'package:analyzer/dart/element/type.dart'; 10 import 'package:analyzer/dart/element/type.dart';
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 List<FunctionTypeAliasElement> get functionTypeAliases => 202 List<FunctionTypeAliasElement> get functionTypeAliases =>
203 actualElement.functionTypeAliases; 203 actualElement.functionTypeAliases;
204 204
205 @override 205 @override
206 bool get hasLoadLibraryFunction => actualElement.hasLoadLibraryFunction; 206 bool get hasLoadLibraryFunction => actualElement.hasLoadLibraryFunction;
207 207
208 @override 208 @override
209 ElementKind get kind => ElementKind.COMPILATION_UNIT; 209 ElementKind get kind => ElementKind.COMPILATION_UNIT;
210 210
211 @override 211 @override
212 LineInfo get lineInfo => actualElement.lineInfo;
213
214 @override
212 Source get source => actualElement.source; 215 Source get source => actualElement.source;
213 216
214 @override 217 @override
215 List<TopLevelVariableElement> get topLevelVariables => 218 List<TopLevelVariableElement> get topLevelVariables =>
216 actualElement.topLevelVariables; 219 actualElement.topLevelVariables;
217 220
218 @override 221 @override
219 List<ClassElement> get types => actualElement.types; 222 List<ClassElement> get types => actualElement.types;
220 223
221 @override 224 @override
(...skipping 898 matching lines...) Expand 10 before | Expand all | Expand 10 after
1120 1123
1121 @override 1124 @override
1122 bool get isStatic => actualElement.isStatic; 1125 bool get isStatic => actualElement.isStatic;
1123 1126
1124 @override 1127 @override
1125 DartType get type => actualElement.type; 1128 DartType get type => actualElement.type;
1126 1129
1127 @override 1130 @override
1128 DartObject computeConstantValue() => actualElement.computeConstantValue(); 1131 DartObject computeConstantValue() => actualElement.computeConstantValue();
1129 } 1132 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/dart/element/element.dart ('k') | pkg/analyzer/lib/src/summary/resynthesize.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698