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/expressions.dart'; | 9 import '../constants/expressions.dart'; |
10 import '../constants/constructors.dart'; | 10 import '../constants/constructors.dart'; |
11 import '../helpers/helpers.dart'; // Included for debug helpers. | |
12 import '../tree/tree.dart'; | 11 import '../tree/tree.dart'; |
13 import '../util/util.dart'; | 12 import '../util/util.dart'; |
14 import '../resolution/resolution.dart'; | 13 import '../resolution/resolution.dart'; |
15 import '../resolution/class_members.dart' show ClassMemberMixin; | 14 import '../resolution/class_members.dart' show ClassMemberMixin; |
16 | 15 |
17 import '../dart2jslib.dart' show | 16 import '../dart2jslib.dart' show |
18 Backend, | 17 Backend, |
19 Compiler, | 18 Compiler, |
20 Constant, | 19 Constant, |
21 DartType, | 20 DartType, |
(...skipping 2880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2902 AstElement get definingElement; | 2901 AstElement get definingElement; |
2903 | 2902 |
2904 bool get hasResolvedAst => definingElement.hasTreeElements; | 2903 bool get hasResolvedAst => definingElement.hasTreeElements; |
2905 | 2904 |
2906 ResolvedAst get resolvedAst { | 2905 ResolvedAst get resolvedAst { |
2907 return new ResolvedAst(declaration, | 2906 return new ResolvedAst(declaration, |
2908 definingElement.node, definingElement.treeElements); | 2907 definingElement.node, definingElement.treeElements); |
2909 } | 2908 } |
2910 | 2909 |
2911 } | 2910 } |
OLD | NEW |