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'; |
12 import '../helpers/helpers.dart'; | 13 import '../helpers/helpers.dart'; |
| 14 import '../messages.dart'; |
| 15 import '../script.dart'; |
13 import '../tree/tree.dart'; | 16 import '../tree/tree.dart'; |
14 import '../util/util.dart'; | 17 import '../util/util.dart'; |
15 import '../resolution/resolution.dart'; | 18 import '../resolution/resolution.dart'; |
16 import '../resolution/class_members.dart' show ClassMemberMixin; | 19 import '../resolution/class_members.dart' show ClassMemberMixin; |
17 | 20 |
18 import '../dart2jslib.dart' show | 21 import '../dart2jslib.dart' show |
19 Backend, | 22 Backend, |
20 Compiler, | 23 Compiler, |
21 Constant, | 24 Constant, |
22 DartType, | 25 DartType, |
(...skipping 2880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2903 AstElement get definingElement; | 2906 AstElement get definingElement; |
2904 | 2907 |
2905 bool get hasResolvedAst => definingElement.hasTreeElements; | 2908 bool get hasResolvedAst => definingElement.hasTreeElements; |
2906 | 2909 |
2907 ResolvedAst get resolvedAst { | 2910 ResolvedAst get resolvedAst { |
2908 return new ResolvedAst(declaration, | 2911 return new ResolvedAst(declaration, |
2909 definingElement.node, definingElement.treeElements); | 2912 definingElement.node, definingElement.treeElements); |
2910 } | 2913 } |
2911 | 2914 |
2912 } | 2915 } |
OLD | NEW |