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