| 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/resolution.dart' show | 8 import '../common/resolution.dart' show |
| 8 Resolution, | 9 Resolution, |
| 9 Parsing; | 10 Parsing; |
| 10 import '../compiler.dart' show | 11 import '../compiler.dart' show |
| 11 Compiler; | 12 Compiler; |
| 12 import '../constants/constant_constructors.dart'; | 13 import '../constants/constant_constructors.dart'; |
| 13 import '../constants/constructors.dart'; | 14 import '../constants/constructors.dart'; |
| 14 import '../constants/expressions.dart'; | 15 import '../constants/expressions.dart'; |
| 15 import '../dart_types.dart'; | 16 import '../dart_types.dart'; |
| 16 import '../diagnostics/diagnostic_listener.dart'; | 17 import '../diagnostics/messages.dart' show |
| 17 import '../diagnostics/invariant.dart' show | 18 MessageTemplate; |
| 18 invariant; | |
| 19 import '../diagnostics/messages.dart'; | |
| 20 import '../diagnostics/source_span.dart' show | |
| 21 SourceSpan; | |
| 22 import '../diagnostics/spannable.dart' show | |
| 23 Spannable, | |
| 24 SpannableAssertionFailure; | |
| 25 import '../helpers/helpers.dart'; | |
| 26 import '../ordered_typeset.dart' show | 19 import '../ordered_typeset.dart' show |
| 27 OrderedTypeSet; | 20 OrderedTypeSet; |
| 28 import '../resolution/class_members.dart' show | 21 import '../resolution/class_members.dart' show |
| 29 ClassMemberMixin; | 22 ClassMemberMixin; |
| 30 import '../resolution/scope.dart' show | 23 import '../resolution/scope.dart' show |
| 31 ClassScope, | 24 ClassScope, |
| 32 LibraryScope, | 25 LibraryScope, |
| 33 Scope, | 26 Scope, |
| 34 TypeDeclarationScope; | 27 TypeDeclarationScope; |
| 35 import '../resolution/resolution.dart' show | 28 import '../resolution/resolution.dart' show |
| (...skipping 3087 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3123 AstElement get definingElement; | 3116 AstElement get definingElement; |
| 3124 | 3117 |
| 3125 bool get hasResolvedAst => definingElement.hasTreeElements; | 3118 bool get hasResolvedAst => definingElement.hasTreeElements; |
| 3126 | 3119 |
| 3127 ResolvedAst get resolvedAst { | 3120 ResolvedAst get resolvedAst { |
| 3128 return new ResolvedAst(declaration, | 3121 return new ResolvedAst(declaration, |
| 3129 definingElement.node, definingElement.treeElements); | 3122 definingElement.node, definingElement.treeElements); |
| 3130 } | 3123 } |
| 3131 | 3124 |
| 3132 } | 3125 } |
| OLD | NEW |