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

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

Issue 2270903002: Remove 'Element.docRange'. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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
347 @override 343 @override
348 String get documentationComment => actualElement.documentationComment; 344 String get documentationComment => actualElement.documentationComment;
349 345
350 @override 346 @override
351 Element get enclosingElement => actualElement.enclosingElement; 347 Element get enclosingElement => actualElement.enclosingElement;
352 348
353 @override 349 @override
354 int get hashCode => _location.hashCode; 350 int get hashCode => _location.hashCode;
355 351
356 @override 352 @override
(...skipping 762 matching lines...) Expand 10 before | Expand all | Expand 10 after
1119 1115
1120 @override 1116 @override
1121 bool get isStatic => actualElement.isStatic; 1117 bool get isStatic => actualElement.isStatic;
1122 1118
1123 @override 1119 @override
1124 DartType get type => actualElement.type; 1120 DartType get type => actualElement.type;
1125 1121
1126 @override 1122 @override
1127 DartObject computeConstantValue() => actualElement.computeConstantValue(); 1123 DartObject computeConstantValue() => actualElement.computeConstantValue();
1128 } 1124 }
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