| 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/element/element.dart'; | 9 import 'package:analyzer/dart/element/element.dart'; |
| 9 import 'package:analyzer/dart/element/type.dart'; | 10 import 'package:analyzer/dart/element/type.dart'; |
| 10 import 'package:analyzer/src/dart/element/element.dart'; | 11 import 'package:analyzer/src/dart/element/element.dart'; |
| 11 import 'package:analyzer/src/dart/element/type.dart'; | 12 import 'package:analyzer/src/dart/element/type.dart'; |
| 12 import 'package:analyzer/src/generated/constant.dart' | |
| 13 show DartObject, EvaluationResultImpl; | |
| 14 import 'package:analyzer/src/generated/engine.dart' | 13 import 'package:analyzer/src/generated/engine.dart' |
| 15 show AnalysisContext, AnalysisEngine; | 14 show AnalysisContext, AnalysisEngine; |
| 16 import 'package:analyzer/src/generated/java_core.dart'; | 15 import 'package:analyzer/src/generated/java_core.dart'; |
| 17 import 'package:analyzer/src/generated/java_engine.dart'; | 16 import 'package:analyzer/src/generated/java_engine.dart'; |
| 18 import 'package:analyzer/src/generated/source.dart'; | 17 import 'package:analyzer/src/generated/source.dart'; |
| 19 import 'package:analyzer/src/generated/utilities_dart.dart'; | 18 import 'package:analyzer/src/generated/utilities_dart.dart'; |
| 20 | 19 |
| 21 /** | 20 /** |
| 22 * A constructor element defined in a parameterized type where the values of the | 21 * A constructor element defined in a parameterized type where the values of the |
| 23 * type parameters are known. | 22 * type parameters are known. |
| (...skipping 1007 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1031 bool get isStatic => baseElement.isStatic; | 1030 bool get isStatic => baseElement.isStatic; |
| 1032 | 1031 |
| 1033 @override | 1032 @override |
| 1034 void visitChildren(ElementVisitor visitor) { | 1033 void visitChildren(ElementVisitor visitor) { |
| 1035 // TODO(brianwilkerson) We need to finish implementing the accessors used | 1034 // TODO(brianwilkerson) We need to finish implementing the accessors used |
| 1036 // below so that we can safely invoke them. | 1035 // below so that we can safely invoke them. |
| 1037 super.visitChildren(visitor); | 1036 super.visitChildren(visitor); |
| 1038 baseElement.initializer?.accept(visitor); | 1037 baseElement.initializer?.accept(visitor); |
| 1039 } | 1038 } |
| 1040 } | 1039 } |
| OLD | NEW |