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 'dart:uri'; | |
8 import 'dart:collection' show LinkedHashMap; | 7 import 'dart:collection' show LinkedHashMap; |
9 | 8 |
10 import 'elements.dart'; | 9 import 'elements.dart'; |
11 import '../../compiler.dart' as api; | 10 import '../../compiler.dart' as api; |
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 | 14 |
16 import '../dart2jslib.dart' show invariant, | 15 import '../dart2jslib.dart' show invariant, |
17 InterfaceType, | 16 InterfaceType, |
(...skipping 2077 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2095 | 2094 |
2096 MetadataAnnotation ensureResolved(Compiler compiler) { | 2095 MetadataAnnotation ensureResolved(Compiler compiler) { |
2097 if (resolutionState == STATE_NOT_STARTED) { | 2096 if (resolutionState == STATE_NOT_STARTED) { |
2098 compiler.resolver.resolveMetadataAnnotation(this); | 2097 compiler.resolver.resolveMetadataAnnotation(this); |
2099 } | 2098 } |
2100 return this; | 2099 return this; |
2101 } | 2100 } |
2102 | 2101 |
2103 String toString() => 'MetadataAnnotation($value, $resolutionState)'; | 2102 String toString() => 'MetadataAnnotation($value, $resolutionState)'; |
2104 } | 2103 } |
OLD | NEW |