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
static com.intellij.openapi.util.Trinity<java.util.List<com.google.dart.compiler.backend.js.ast.JsPropertyInitializer>,LabelGenerator,com.google.dart.compiler.backend.js.ast.JsExpression> createPlace(java.util.List<com.google.dart.compiler.backend.js.ast.JsPropertyInitializer> list, com.google.dart.compiler.backend.js.ast.JsExpression reference)
           
 void setDefinitionPlace(com.intellij.openapi.util.NotNullLazyValue<com.intellij.openapi.util.Trinity<java.util.List<com.google.dart.compiler.backend.js.ast.JsPropertyInitializer>,LabelGenerator,com.google.dart.compiler.backend.js.ast.JsExpression>> place)
           
 void setRootContext(TranslationContext rootContext)
           
 com.google.dart.compiler.backend.js.ast.JsExpression translate(ClassDescriptor outerClass, JetClassOrObject declaration, ClassDescriptor descriptor, ClassTranslator classTranslator)
           
 com.google.dart.compiler.backend.js.ast.JsExpression translate(JetDeclarationWithBody declaration, FunctionDescriptor descriptor, TranslationContext outerContext)
           
 
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)

createPlace

public static com.intellij.openapi.util.Trinity<java.util.List<com.google.dart.compiler.backend.js.ast.JsPropertyInitializer>,LabelGenerator,com.google.dart.compiler.backend.js.ast.JsExpression> createPlace(@NotNull
                                                                                                                                                                                                               java.util.List<com.google.dart.compiler.backend.js.ast.JsPropertyInitializer> list,
                                                                                                                                                                                                               @NotNull
                                                                                                                                                                                                               com.google.dart.compiler.backend.js.ast.JsExpression reference)

setDefinitionPlace

public void setDefinitionPlace(@Nullable
                               com.intellij.openapi.util.NotNullLazyValue<com.intellij.openapi.util.Trinity<java.util.List<com.google.dart.compiler.backend.js.ast.JsPropertyInitializer>,LabelGenerator,com.google.dart.compiler.backend.js.ast.JsExpression>> place)

translate

public com.google.dart.compiler.backend.js.ast.JsExpression translate(@NotNull
                                                                      JetDeclarationWithBody declaration,
                                                                      @NotNull
                                                                      FunctionDescriptor descriptor,
                                                                      @NotNull
                                                                      TranslationContext outerContext)

translate

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