OLD | NEW |
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 Loading... |
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 |
450 @override | 454 @override |
451 String get documentationComment => _baseElement.documentationComment; | 455 String get documentationComment => _baseElement.documentationComment; |
452 | 456 |
453 @override | 457 @override |
454 int get id => _baseElement.id; | 458 int get id => _baseElement.id; |
455 | 459 |
456 @override | 460 @override |
457 bool get isDeprecated => _baseElement.isDeprecated; | 461 bool get isDeprecated => _baseElement.isDeprecated; |
458 | 462 |
459 @override | 463 @override |
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1043 DartObject computeConstantValue() => baseElement.computeConstantValue(); | 1047 DartObject computeConstantValue() => baseElement.computeConstantValue(); |
1044 | 1048 |
1045 @override | 1049 @override |
1046 void visitChildren(ElementVisitor visitor) { | 1050 void visitChildren(ElementVisitor visitor) { |
1047 // TODO(brianwilkerson) We need to finish implementing the accessors used | 1051 // TODO(brianwilkerson) We need to finish implementing the accessors used |
1048 // below so that we can safely invoke them. | 1052 // below so that we can safely invoke them. |
1049 super.visitChildren(visitor); | 1053 super.visitChildren(visitor); |
1050 baseElement.initializer?.accept(visitor); | 1054 baseElement.initializer?.accept(visitor); |
1051 } | 1055 } |
1052 } | 1056 } |
OLD | NEW |