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 mirror_renamer; | 5 library mirror_renamer; |
6 | 6 |
7 import '../compiler.dart' show Compiler; | 7 import '../compiler.dart' show |
| 8 Compiler; |
| 9 import '../dart_backend/dart_backend.dart' show |
| 10 DartBackend, |
| 11 PlaceholderCollector; |
| 12 import '../elements/elements.dart'; |
| 13 import '../tokens/token.dart' show |
| 14 Token; |
8 import '../tree/tree.dart'; | 15 import '../tree/tree.dart'; |
9 import '../scanner/token.dart' show Token; | |
10 import '../elements/elements.dart'; | |
11 import '../dart_backend/dart_backend.dart' show DartBackend, | |
12 PlaceholderCollector; | |
13 | 16 |
14 part 'renamer.dart'; | 17 part 'renamer.dart'; |
15 | 18 |
16 class MirrorRenamer { | 19 class MirrorRenamer { |
17 const MirrorRenamer(); | 20 const MirrorRenamer(); |
18 | 21 |
19 LibraryElement get helperLibrary => null; | 22 LibraryElement get helperLibrary => null; |
20 | 23 |
21 FunctionElement get getNameFunction => null; | 24 FunctionElement get getNameFunction => null; |
22 | 25 |
23 bool isMirrorHelperLibrary(LibraryElement element) => false; | 26 bool isMirrorHelperLibrary(LibraryElement element) => false; |
24 | 27 |
25 void registerStaticSend(Element currentElement, Element target, Node node) {} | 28 void registerStaticSend(Element currentElement, Element target, Node node) {} |
26 | 29 |
27 void addRenames(Map<Node, String> renames, List<Node> topLevelNodes, | 30 void addRenames(Map<Node, String> renames, List<Node> topLevelNodes, |
28 PlaceholderCollector placeholderCollector) {} | 31 PlaceholderCollector placeholderCollector) {} |
29 } | 32 } |
OLD | NEW |