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 dart2js.mirrors_used; | 5 library dart2js.mirrors_used; |
6 | 6 |
7 import 'common/tasks.dart' show | 7 import 'common/tasks.dart' show |
8 CompilerTask; | 8 CompilerTask; |
9 import 'compile_time_constants.dart' show | 9 import 'compile_time_constants.dart' show |
10 ConstantCompiler; | 10 ConstantCompiler; |
11 import 'compiler.dart' show | 11 import 'compiler.dart' show |
12 Compiler; | 12 Compiler; |
13 import 'constants/expressions.dart'; | 13 import 'constants/expressions.dart'; |
14 import 'constants/values.dart' show | 14 import 'constants/values.dart' show |
15 ConstantValue, | 15 ConstantValue, |
16 ConstructedConstantValue, | 16 ConstructedConstantValue, |
17 ListConstantValue, | 17 ListConstantValue, |
18 StringConstantValue, | 18 StringConstantValue, |
19 TypeConstantValue; | 19 TypeConstantValue; |
20 import 'dart_types.dart' show | 20 import 'dart_types.dart' show |
21 DartType, | 21 DartType, |
22 InterfaceType, | 22 InterfaceType, |
23 TypeKind; | 23 TypeKind; |
| 24 import 'diagnostics/messages.dart' show |
| 25 MessageKind; |
24 import 'diagnostics/spannable.dart' show | 26 import 'diagnostics/spannable.dart' show |
25 Spannable; | 27 Spannable; |
26 import 'elements/elements.dart' show | 28 import 'elements/elements.dart' show |
27 ClassElement, | 29 ClassElement, |
28 Element, | 30 Element, |
29 LibraryElement, | 31 LibraryElement, |
30 MetadataAnnotation, | 32 MetadataAnnotation, |
31 ScopeContainerElement, | 33 ScopeContainerElement, |
32 VariableElement; | 34 VariableElement; |
33 import 'messages.dart' show | |
34 MessageKind; | |
35 import 'resolution/resolution.dart' show | 35 import 'resolution/resolution.dart' show |
36 TreeElements; | 36 TreeElements; |
37 import 'tree/tree.dart' show | 37 import 'tree/tree.dart' show |
38 Import, | 38 Import, |
39 LibraryTag, | 39 LibraryTag, |
40 NamedArgument, | 40 NamedArgument, |
41 NewExpression, | 41 NewExpression, |
42 Node; | 42 Node; |
43 | 43 |
44 /** | 44 /** |
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
586 // @MirrorsUsed(targets: fisk) | 586 // @MirrorsUsed(targets: fisk) |
587 // ^^^^ | 587 // ^^^^ |
588 // | 588 // |
589 // Instead of saying 'fisk' should pretty print the problematic constant | 589 // Instead of saying 'fisk' should pretty print the problematic constant |
590 // value. | 590 // value. |
591 return spannable; | 591 return spannable; |
592 } | 592 } |
593 return node; | 593 return node; |
594 } | 594 } |
595 } | 595 } |
OLD | NEW |