| 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 'compile_time_constants.dart' show |
| 8 ConstantCompiler; |
| 7 import 'constants/expressions.dart'; | 9 import 'constants/expressions.dart'; |
| 8 import 'constants/values.dart' show | 10 import 'constants/values.dart' show |
| 9 ConstantValue, | 11 ConstantValue, |
| 10 ConstructedConstantValue, | 12 ConstructedConstantValue, |
| 11 ListConstantValue, | 13 ListConstantValue, |
| 12 StringConstantValue, | 14 StringConstantValue, |
| 13 TypeConstantValue; | 15 TypeConstantValue; |
| 14 | 16 |
| 15 import 'dart_types.dart' show | 17 import 'dart_types.dart' show |
| 16 DartType, | 18 DartType, |
| 17 InterfaceType, | 19 InterfaceType, |
| 18 TypeKind; | 20 TypeKind; |
| 19 | 21 |
| 20 import 'dart2jslib.dart' show | 22 import 'dart2jslib.dart' show |
| 21 Compiler, | 23 Compiler, |
| 22 CompilerTask, | 24 CompilerTask, |
| 23 ConstantCompiler, | |
| 24 MessageKind, | 25 MessageKind, |
| 25 TreeElements, | 26 TreeElements, |
| 26 invariant; | 27 invariant; |
| 27 | 28 |
| 28 import 'elements/elements.dart' show | 29 import 'elements/elements.dart' show |
| 29 ClassElement, | 30 ClassElement, |
| 30 Element, | 31 Element, |
| 31 LibraryElement, | 32 LibraryElement, |
| 32 MetadataAnnotation, | 33 MetadataAnnotation, |
| 33 ScopeContainerElement, | 34 ScopeContainerElement, |
| (...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 587 // @MirrorsUsed(targets: fisk) | 588 // @MirrorsUsed(targets: fisk) |
| 588 // ^^^^ | 589 // ^^^^ |
| 589 // | 590 // |
| 590 // Instead of saying 'fisk' should pretty print the problematic constant | 591 // Instead of saying 'fisk' should pretty print the problematic constant |
| 591 // value. | 592 // value. |
| 592 return spannable; | 593 return spannable; |
| 593 } | 594 } |
| 594 return node; | 595 return node; |
| 595 } | 596 } |
| 596 } | 597 } |
| OLD | NEW |