| 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 455 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 466 @override | 466 @override |
| 467 bool get isPrivate => _baseElement.isPrivate; | 467 bool get isPrivate => _baseElement.isPrivate; |
| 468 | 468 |
| 469 @override | 469 @override |
| 470 bool get isProtected => _baseElement.isProtected; | 470 bool get isProtected => _baseElement.isProtected; |
| 471 | 471 |
| 472 @override | 472 @override |
| 473 bool get isPublic => _baseElement.isPublic; | 473 bool get isPublic => _baseElement.isPublic; |
| 474 | 474 |
| 475 @override | 475 @override |
| 476 bool get isRequired => _baseElement.isRequired; |
| 477 |
| 478 @override |
| 476 bool get isSynthetic => _baseElement.isSynthetic; | 479 bool get isSynthetic => _baseElement.isSynthetic; |
| 477 | 480 |
| 478 @override | 481 @override |
| 479 ElementKind get kind => _baseElement.kind; | 482 ElementKind get kind => _baseElement.kind; |
| 480 | 483 |
| 481 @override | 484 @override |
| 482 LibraryElement get library => _baseElement.library; | 485 LibraryElement get library => _baseElement.library; |
| 483 | 486 |
| 484 @override | 487 @override |
| 485 ElementLocation get location => _baseElement.location; | 488 ElementLocation get location => _baseElement.location; |
| (...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1030 bool get isStatic => baseElement.isStatic; | 1033 bool get isStatic => baseElement.isStatic; |
| 1031 | 1034 |
| 1032 @override | 1035 @override |
| 1033 void visitChildren(ElementVisitor visitor) { | 1036 void visitChildren(ElementVisitor visitor) { |
| 1034 // TODO(brianwilkerson) We need to finish implementing the accessors used | 1037 // TODO(brianwilkerson) We need to finish implementing the accessors used |
| 1035 // below so that we can safely invoke them. | 1038 // below so that we can safely invoke them. |
| 1036 super.visitChildren(visitor); | 1039 super.visitChildren(visitor); |
| 1037 baseElement.initializer?.accept(visitor); | 1040 baseElement.initializer?.accept(visitor); |
| 1038 } | 1041 } |
| 1039 } | 1042 } |
| OLD | NEW |