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 2082 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2100 | 2099 |
2101 MetadataAnnotation ensureResolved(Compiler compiler) { | 2100 MetadataAnnotation ensureResolved(Compiler compiler) { |
2102 if (resolutionState == STATE_NOT_STARTED) { | 2101 if (resolutionState == STATE_NOT_STARTED) { |
2103 compiler.resolver.resolveMetadataAnnotation(this); | 2102 compiler.resolver.resolveMetadataAnnotation(this); |
2104 } | 2103 } |
2105 return this; | 2104 return this; |
2106 } | 2105 } |
2107 | 2106 |
2108 String toString() => 'MetadataAnnotation($value, $resolutionState)'; | 2107 String toString() => 'MetadataAnnotation($value, $resolutionState)'; |
2109 } | 2108 } |
OLD | NEW |