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

Unified Diff: dart/pkg/compiler/lib/src/resolution/registry.dart

Issue 935033005: Register literals through backend. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Changes commited as r43876. Created 5 years, 10 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
« no previous file with comments | « dart/pkg/compiler/lib/src/resolution/members.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/pkg/compiler/lib/src/resolution/registry.dart
diff --git a/dart/pkg/compiler/lib/src/resolution/registry.dart b/dart/pkg/compiler/lib/src/resolution/registry.dart
index 317efbb4074fcb4d2fa84f81ddea1ec65c7d47c6..da520054721b44ac8e8a54df24e25e0d730a128b 100644
--- a/dart/pkg/compiler/lib/src/resolution/registry.dart
+++ b/dart/pkg/compiler/lib/src/resolution/registry.dart
@@ -371,4 +371,33 @@ class ResolutionRegistry extends Registry {
void registerAsyncMarker(FunctionElement element) {
backend.registerAsyncMarker(element, world, this);
}
+
+ void registerLiteralInt() {
+ backend.resolutionCallbacks.onLiteralInt(this);
+ }
+
+ void registerLiteralDouble() {
+ backend.resolutionCallbacks.onLiteralDouble(this);
+ }
+
+ void registerLiteralBool() {
+ backend.resolutionCallbacks.onLiteralBool(this);
+ }
+
+ void registerLiteralString() {
+ backend.resolutionCallbacks.onLiteralString(this);
+ }
+
+ void registerLiteralNull() {
+ backend.resolutionCallbacks.onLiteralNull(this);
+ }
+
+ void registerLiteralSymbol(String name) {
+ backend.resolutionCallbacks.onLiteralSymbol(this);
+ registerConstSymbol(name);
+ }
+
+ void registerLiteralFunction() {
+ backend.resolutionCallbacks.onLiteralFunction(this);
+ }
}
« no previous file with comments | « dart/pkg/compiler/lib/src/resolution/members.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698