Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Side by Side Diff: pkg/compiler/lib/src/mirror_renamer/mirror_renamer.dart

Issue 1313073007: Move parser and token related libraries into their own subfolder. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix unittests and try Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/io/start_end_information.dart ('k') | pkg/compiler/lib/src/mirrors/dart2js_mirrors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698