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

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

Issue 2293143003: Revert "Remove 'Element.docRange'." (Closed)
Patch Set: Created 4 years, 3 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 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 } 333 }
334 return _elementReference; 334 return _elementReference;
335 } 335 }
336 336
337 @override 337 @override
338 AnalysisContext get context => _resynthesizer.context; 338 AnalysisContext get context => _resynthesizer.context;
339 339
340 @override 340 @override
341 String get displayName => actualElement.displayName; 341 String get displayName => actualElement.displayName;
342 342
343 @deprecated
344 @override
345 SourceRange get docRange => actualElement.docRange;
346
343 @override 347 @override
344 String get documentationComment => actualElement.documentationComment; 348 String get documentationComment => actualElement.documentationComment;
345 349
346 @override 350 @override
347 Element get enclosingElement => actualElement.enclosingElement; 351 Element get enclosingElement => actualElement.enclosingElement;
348 352
349 @override 353 @override
350 int get hashCode => _location.hashCode; 354 int get hashCode => _location.hashCode;
351 355
352 @override 356 @override
(...skipping 762 matching lines...) Expand 10 before | Expand all | Expand 10 after
1115 1119
1116 @override 1120 @override
1117 bool get isStatic => actualElement.isStatic; 1121 bool get isStatic => actualElement.isStatic;
1118 1122
1119 @override 1123 @override
1120 DartType get type => actualElement.type; 1124 DartType get type => actualElement.type;
1121 1125
1122 @override 1126 @override
1123 DartObject computeConstantValue() => actualElement.computeConstantValue(); 1127 DartObject computeConstantValue() => actualElement.computeConstantValue();
1124 } 1128 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/dart/element/element.dart ('k') | pkg/analyzer/lib/src/dart/element/member.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698