org.jetbrains.k2js.translate.expression
Class LiteralFunctionTranslator

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

public class LiteralFunctionTranslator
extends AbstractTranslator


Constructor Summary
LiteralFunctionTranslator(TranslationContext context)
           
 
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)
           
 com.google.dart.compiler.backend.js.ast.JsExpression translate(ClassDescriptor outerClass, TranslationContext outerClassContext, 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 org.jetbrains.k2js.translate.general.AbstractTranslator
bindingContext, context, program
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiteralFunctionTranslator

public LiteralFunctionTranslator(@NotNull
                                 TranslationContext context)
Method Detail

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
                                                                      TranslationContext outerClassContext,
                                                                      @NotNull
                                                                      JetClassOrObject declaration,
                                                                      @NotNull
                                                                      ClassDescriptor descriptor,
                                                                      @NotNull
                                                                      ClassTranslator classTranslator)