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 | |
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 Loading... |
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 } |
OLD | NEW |