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 '../compiler.dart' show | 7 import '../compiler.dart' show |
8 Compiler; | 8 Compiler; |
9 import '../constants/constant_constructors.dart'; | 9 import '../constants/constant_constructors.dart'; |
10 import '../constants/constructors.dart'; | 10 import '../constants/constructors.dart'; |
(...skipping 17 matching lines...) Expand all Loading... |
28 ClassScope, | 28 ClassScope, |
29 LibraryScope, | 29 LibraryScope, |
30 Scope, | 30 Scope, |
31 TypeDeclarationScope; | 31 TypeDeclarationScope; |
32 import '../resolution/resolution.dart' show | 32 import '../resolution/resolution.dart' show |
33 AnalyzableElementX; | 33 AnalyzableElementX; |
34 import '../resolution/tree_elements.dart' show | 34 import '../resolution/tree_elements.dart' show |
35 TreeElements; | 35 TreeElements; |
36 import '../resolution/typedefs.dart' show | 36 import '../resolution/typedefs.dart' show |
37 TypedefCyclicVisitor; | 37 TypedefCyclicVisitor; |
38 import '../scanner/scannerlib.dart' show | 38 import '../scanner/token.dart' show |
39 EOF_TOKEN, | 39 EOF_TOKEN, |
40 ErrorToken, | 40 ErrorToken, |
41 Token; | 41 Token; |
42 import '../script.dart'; | 42 import '../script.dart'; |
43 import '../tree/tree.dart'; | 43 import '../tree/tree.dart'; |
44 import '../util/util.dart'; | 44 import '../util/util.dart'; |
45 | 45 |
46 import 'common.dart'; | 46 import 'common.dart'; |
47 import 'elements.dart'; | 47 import 'elements.dart'; |
48 import 'visitor.dart' show | 48 import 'visitor.dart' show |
(...skipping 2860 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2909 AstElement get definingElement; | 2909 AstElement get definingElement; |
2910 | 2910 |
2911 bool get hasResolvedAst => definingElement.hasTreeElements; | 2911 bool get hasResolvedAst => definingElement.hasTreeElements; |
2912 | 2912 |
2913 ResolvedAst get resolvedAst { | 2913 ResolvedAst get resolvedAst { |
2914 return new ResolvedAst(declaration, | 2914 return new ResolvedAst(declaration, |
2915 definingElement.node, definingElement.treeElements); | 2915 definingElement.node, definingElement.treeElements); |
2916 } | 2916 } |
2917 | 2917 |
2918 } | 2918 } |
OLD | NEW |