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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 AnalysisContext get context => _baseElement.context; | 439 AnalysisContext get context => _baseElement.context; |
440 | 440 |
441 /** | 441 /** |
442 * Return the type in which the element is defined. | 442 * Return the type in which the element is defined. |
443 */ | 443 */ |
444 ParameterizedType get definingType => _definingType; | 444 ParameterizedType get definingType => _definingType; |
445 | 445 |
446 @override | 446 @override |
447 String get displayName => _baseElement.displayName; | 447 String get displayName => _baseElement.displayName; |
448 | 448 |
449 @deprecated | |
450 @override | |
451 SourceRange get docRange => _baseElement.docRange; | |
452 | |
453 @override | 449 @override |
454 String get documentationComment => _baseElement.documentationComment; | 450 String get documentationComment => _baseElement.documentationComment; |
455 | 451 |
456 @override | 452 @override |
457 int get id => _baseElement.id; | 453 int get id => _baseElement.id; |
458 | 454 |
459 @override | 455 @override |
460 bool get isDeprecated => _baseElement.isDeprecated; | 456 bool get isDeprecated => _baseElement.isDeprecated; |
461 | 457 |
462 @override | 458 @override |
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1059 DartObject computeConstantValue() => baseElement.computeConstantValue(); | 1055 DartObject computeConstantValue() => baseElement.computeConstantValue(); |
1060 | 1056 |
1061 @override | 1057 @override |
1062 void visitChildren(ElementVisitor visitor) { | 1058 void visitChildren(ElementVisitor visitor) { |
1063 // TODO(brianwilkerson) We need to finish implementing the accessors used | 1059 // TODO(brianwilkerson) We need to finish implementing the accessors used |
1064 // below so that we can safely invoke them. | 1060 // below so that we can safely invoke them. |
1065 super.visitChildren(visitor); | 1061 super.visitChildren(visitor); |
1066 baseElement.initializer?.accept(visitor); | 1062 baseElement.initializer?.accept(visitor); |
1067 } | 1063 } |
1068 } | 1064 } |
OLD | NEW |