org.jetbrains.k2js.translate.expression
Class LiteralFunctionTranslator

java.lang.Object
  extended by org.jetbrains.k2js.translate.expression.LiteralFunctionTranslator

public class LiteralFunctionTranslator
extends java.lang.Object


Constructor Summary
LiteralFunctionTranslator()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiteralFunctionTranslator

public LiteralFunctionTranslator()
Method Detail

setRootContext

public void setRootContext(@NotNull
                           TranslationContext rootContext)

getDeclaration

public com.google.dart.compiler.backend.js.ast.JsVars.JsVar getDeclaration()

translate

public com.google.dart.compiler.backend.js.ast.JsExpression translate(@NotNull
                                                                      JetFunctionLiteralExpression declaration)

translate

public com.google.dart.compiler.backend.js.ast.JsExpression translate(@NotNull
                                                                      ClassDescriptor containingClass,
                                                                      @NotNull
                                                                      JetClassOrObject declaration,
                                                                      @NotNull
                                                                      ClassDescriptor descriptor,
                                                                      @NotNull
                                                                      ClassTranslator classTranslator)