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