public class LiteralFunctionTranslator extends java.lang.Object
| Constructor and Description |
|---|
LiteralFunctionTranslator() |
| Modifier and Type | Method and Description |
|---|---|
com.google.dart.compiler.backend.js.ast.JsVars.JsVar |
getDeclaration() |
void |
setRootContext(TranslationContext rootContext) |
com.google.dart.compiler.backend.js.ast.JsExpression |
translate(ClassDescriptor containingClass,
JetClassOrObject declaration,
ClassDescriptor descriptor,
ClassTranslator classTranslator) |
com.google.dart.compiler.backend.js.ast.JsExpression |
translate(JetFunctionLiteralExpression declaration) |
public LiteralFunctionTranslator()
public void setRootContext(@NotNull TranslationContext rootContext)
public com.google.dart.compiler.backend.js.ast.JsVars.JsVar getDeclaration()
public com.google.dart.compiler.backend.js.ast.JsExpression translate(@NotNull JetFunctionLiteralExpression declaration)
public com.google.dart.compiler.backend.js.ast.JsExpression translate(@NotNull ClassDescriptor containingClass, @NotNull JetClassOrObject declaration, @NotNull ClassDescriptor descriptor, @NotNull ClassTranslator classTranslator)