| Index: dart/pkg/compiler/lib/src/compiler.dart
|
| diff --git a/dart/pkg/compiler/lib/src/compiler.dart b/dart/pkg/compiler/lib/src/compiler.dart
|
| index d0b85f5acd79124dfc230d6b5311233f55cbc8f7..44248839a73555a622b921e424f6cd208fb7ecb2 100644
|
| --- a/dart/pkg/compiler/lib/src/compiler.dart
|
| +++ b/dart/pkg/compiler/lib/src/compiler.dart
|
| @@ -524,9 +524,10 @@ abstract class Backend {
|
|
|
| void registerMainHasArguments(Enqueuer enqueuer) {}
|
|
|
| - void registerAsyncMarker(FunctionElement element,
|
| - Enqueuer enqueuer,
|
| - Registry registry) {}
|
| + void registerAsyncMarker(
|
| + FunctionElement element,
|
| + Enqueuer enqueuer,
|
| + Registry registry) {}
|
| }
|
|
|
| /// Backend callbacks function specific to the resolution phase.
|
| @@ -593,6 +594,27 @@ class ResolutionCallbacks {
|
|
|
| /// Called when resolving the `Symbol` constructor.
|
| void onSymbolConstructor(Registry registry) {}
|
| +
|
| + /// Called when resolving a literal int.
|
| + void onLiteralInt(Registry registry) {}
|
| +
|
| + /// Called when resolving a literal double.
|
| + void onLiteralDouble(Registry registry) {}
|
| +
|
| + /// Called when resolving a literal bool.
|
| + void onLiteralBool(Registry registry) {}
|
| +
|
| + /// Called when resolving a literal String.
|
| + void onLiteralString(Registry registry) {}
|
| +
|
| + /// Called when resolving a literal null.
|
| + void onLiteralNull(Registry registry) {}
|
| +
|
| + /// Called when resolving a literal Symbol.
|
| + void onLiteralSymbol(Registry registry) {}
|
| +
|
| + /// Called when resolving a literal Function (aka a closure).
|
| + void onLiteralFunction(Registry registry) {}
|
| }
|
|
|
| /**
|
|
|