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

Unified Diff: lib/compiler/implementation/tree/renamer.dart

Issue 10836128: A visitor that builds a map from node to "Usage". (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: lib/compiler/implementation/tree/renamer.dart
diff --git a/lib/compiler/implementation/tree/renamer.dart b/lib/compiler/implementation/tree/renamer.dart
index 60fabd2454464ba0d6d416704bf8a4799b1fc51e..578dc64a6cf001da5cfedf154db7caa23d7c6cf7 100644
--- a/lib/compiler/implementation/tree/renamer.dart
+++ b/lib/compiler/implementation/tree/renamer.dart
@@ -9,19 +9,5 @@
class Renamer {
const Renamer();
- /**
- * Renames type name for given type annotation. Should not touch type
- * arguments. Returns [null] if no rename is needed.
- */
- String renameTypeName(TypeAnnotation type) => null;
-
- /**
- * Renames method name. Returns [null] if no rename is needed.
- */
- String renameSendMethod(Send send) => null;
-
- /**
- * Renames identifier. Returns [null] if no rename is needed.
- */
- String renameIdentifier(Identifier node) => null;
+ String rename(Node node) => null;
}

Powered by Google App Engine
This is Rietveld 408576698