OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 elements.modelx; | 5 library elements.modelx; |
6 | 6 |
7 import 'common.dart'; | 7 import 'common.dart'; |
8 import 'elements.dart'; | 8 import 'elements.dart'; |
9 import '../constants/constant_constructors.dart'; | 9 import '../constants/constant_constructors.dart'; |
10 import '../constants/constructors.dart'; | 10 import '../constants/constructors.dart'; |
11 import '../constants/expressions.dart'; | 11 import '../constants/expressions.dart'; |
12 import '../diagnostic_listener.dart'; | |
13 import '../helpers/helpers.dart'; | 12 import '../helpers/helpers.dart'; |
14 import '../messages.dart'; | |
15 import '../script.dart'; | |
16 import '../tree/tree.dart'; | 13 import '../tree/tree.dart'; |
17 import '../util/util.dart'; | 14 import '../util/util.dart'; |
18 import '../resolution/resolution.dart'; | 15 import '../resolution/resolution.dart'; |
19 import '../resolution/class_members.dart' show ClassMemberMixin; | 16 import '../resolution/class_members.dart' show ClassMemberMixin; |
20 | 17 |
21 import '../dart2jslib.dart' show | 18 import '../dart2jslib.dart' show |
22 Backend, | 19 Backend, |
23 Compiler, | 20 Compiler, |
24 Constant, | 21 Constant, |
25 DartType, | 22 DartType, |
(...skipping 2880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2906 AstElement get definingElement; | 2903 AstElement get definingElement; |
2907 | 2904 |
2908 bool get hasResolvedAst => definingElement.hasTreeElements; | 2905 bool get hasResolvedAst => definingElement.hasTreeElements; |
2909 | 2906 |
2910 ResolvedAst get resolvedAst { | 2907 ResolvedAst get resolvedAst { |
2911 return new ResolvedAst(declaration, | 2908 return new ResolvedAst(declaration, |
2912 definingElement.node, definingElement.treeElements); | 2909 definingElement.node, definingElement.treeElements); |
2913 } | 2910 } |
2914 | 2911 |
2915 } | 2912 } |
OLD | NEW |