| 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 CompilerTask; | 7 import 'common/tasks.dart' show CompilerTask; |
| 8 import 'common.dart'; | 8 import 'common.dart'; |
| 9 import 'compile_time_constants.dart' show ConstantCompiler; | 9 import 'compile_time_constants.dart' show ConstantCompiler; |
| 10 import 'compiler.dart' show Compiler; | 10 import 'compiler.dart' show Compiler; |
| 11 import 'constants/expressions.dart'; | 11 import 'constants/expressions.dart'; |
| 12 import 'constants/values.dart' | 12 import 'constants/values.dart' |
| 13 show | 13 show |
| 14 ConstantValue, | 14 ConstantValue, |
| 15 ConstructedConstantValue, | 15 ConstructedConstantValue, |
| 16 ListConstantValue, | 16 ListConstantValue, |
| 17 StringConstantValue, | 17 StringConstantValue, |
| 18 TypeConstantValue; | 18 TypeConstantValue; |
| 19 import 'dart_types.dart' show DartType, InterfaceType; | 19 import 'elements/resolution_types.dart' show DartType, InterfaceType; |
| 20 import 'elements/elements.dart' | 20 import 'elements/elements.dart' |
| 21 show | 21 show |
| 22 ClassElement, | 22 ClassElement, |
| 23 Element, | 23 Element, |
| 24 ImportElement, | 24 ImportElement, |
| 25 LibraryElement, | 25 LibraryElement, |
| 26 MetadataAnnotation, | 26 MetadataAnnotation, |
| 27 ScopeContainerElement, | 27 ScopeContainerElement, |
| 28 VariableElement; | 28 VariableElement; |
| 29 import 'resolution/tree_elements.dart' show TreeElements; | 29 import 'resolution/tree_elements.dart' show TreeElements; |
| (...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 564 // @MirrorsUsed(targets: fisk) | 564 // @MirrorsUsed(targets: fisk) |
| 565 // ^^^^ | 565 // ^^^^ |
| 566 // | 566 // |
| 567 // Instead of saying 'fisk' should pretty print the problematic constant | 567 // Instead of saying 'fisk' should pretty print the problematic constant |
| 568 // value. | 568 // value. |
| 569 return spannable; | 569 return spannable; |
| 570 } | 570 } |
| 571 return node; | 571 return node; |
| 572 } | 572 } |
| 573 } | 573 } |
| OLD | NEW |