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

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

Issue 2270903002: Remove 'Element.docRange'. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
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.dart.element.member; 5 library analyzer.src.dart.element.member;
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 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 AnalysisContext get context => _baseElement.context; 440 AnalysisContext get context => _baseElement.context;
441 441
442 /** 442 /**
443 * Return the type in which the element is defined. 443 * Return the type in which the element is defined.
444 */ 444 */
445 ParameterizedType get definingType => _definingType; 445 ParameterizedType get definingType => _definingType;
446 446
447 @override 447 @override
448 String get displayName => _baseElement.displayName; 448 String get displayName => _baseElement.displayName;
449 449
450 @deprecated
451 @override
452 SourceRange get docRange => _baseElement.docRange;
453
454 @override 450 @override
455 String get documentationComment => _baseElement.documentationComment; 451 String get documentationComment => _baseElement.documentationComment;
456 452
457 @override 453 @override
458 int get id => _baseElement.id; 454 int get id => _baseElement.id;
459 455
460 @override 456 @override
461 bool get isDeprecated => _baseElement.isDeprecated; 457 bool get isDeprecated => _baseElement.isDeprecated;
462 458
463 @override 459 @override
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
1047 DartObject computeConstantValue() => baseElement.computeConstantValue(); 1043 DartObject computeConstantValue() => baseElement.computeConstantValue();
1048 1044
1049 @override 1045 @override
1050 void visitChildren(ElementVisitor visitor) { 1046 void visitChildren(ElementVisitor visitor) {
1051 // TODO(brianwilkerson) We need to finish implementing the accessors used 1047 // TODO(brianwilkerson) We need to finish implementing the accessors used
1052 // below so that we can safely invoke them. 1048 // below so that we can safely invoke them.
1053 super.visitChildren(visitor); 1049 super.visitChildren(visitor);
1054 baseElement.initializer?.accept(visitor); 1050 baseElement.initializer?.accept(visitor);
1055 } 1051 }
1056 } 1052 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/dart/element/handle.dart ('k') | pkg/analyzer/lib/src/generated/utilities_dart.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698