| 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 isPrivateName; | 9 isPrivateName; |
| 10 import '../constants/constant_constructors.dart'; | 10 import '../constants/constant_constructors.dart'; |
| 11 import '../constants/constructors.dart'; | 11 import '../constants/constructors.dart'; |
| 12 import '../constants/expressions.dart'; | 12 import '../constants/expressions.dart'; |
| 13 import '../dart_types.dart'; | 13 import '../dart_types.dart'; |
| 14 import '../diagnostic_listener.dart'; | 14 import '../diagnostics/diagnostic_listener.dart'; |
| 15 import '../diagnostics/invariant.dart' show | 15 import '../diagnostics/invariant.dart' show |
| 16 invariant; | 16 invariant; |
| 17 import '../diagnostics/messages.dart'; |
| 17 import '../diagnostics/source_span.dart' show | 18 import '../diagnostics/source_span.dart' show |
| 18 SourceSpan; | 19 SourceSpan; |
| 19 import '../diagnostics/spannable.dart' show | 20 import '../diagnostics/spannable.dart' show |
| 20 Spannable, | 21 Spannable, |
| 21 SpannableAssertionFailure; | 22 SpannableAssertionFailure; |
| 22 import '../helpers/helpers.dart'; | 23 import '../helpers/helpers.dart'; |
| 23 import '../messages.dart'; | |
| 24 import '../ordered_typeset.dart' show | 24 import '../ordered_typeset.dart' show |
| 25 OrderedTypeSet; | 25 OrderedTypeSet; |
| 26 import '../resolution/resolution.dart'; | 26 import '../resolution/resolution.dart'; |
| 27 import '../resolution/class_members.dart' show | 27 import '../resolution/class_members.dart' show |
| 28 ClassMemberMixin; | 28 ClassMemberMixin; |
| 29 import '../scanner/scannerlib.dart' show | 29 import '../scanner/scannerlib.dart' show |
| 30 EOF_TOKEN, | 30 EOF_TOKEN, |
| 31 ErrorToken, | 31 ErrorToken, |
| 32 Token; | 32 Token; |
| 33 import '../script.dart'; | 33 import '../script.dart'; |
| (...skipping 2863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2897 AstElement get definingElement; | 2897 AstElement get definingElement; |
| 2898 | 2898 |
| 2899 bool get hasResolvedAst => definingElement.hasTreeElements; | 2899 bool get hasResolvedAst => definingElement.hasTreeElements; |
| 2900 | 2900 |
| 2901 ResolvedAst get resolvedAst { | 2901 ResolvedAst get resolvedAst { |
| 2902 return new ResolvedAst(declaration, | 2902 return new ResolvedAst(declaration, |
| 2903 definingElement.node, definingElement.treeElements); | 2903 definingElement.node, definingElement.treeElements); |
| 2904 } | 2904 } |
| 2905 | 2905 |
| 2906 } | 2906 } |
| OLD | NEW |