org.jetbrains.k2js.translate.reference
Class InlinedCallExpressionTranslator

java.lang.Object
  extended by org.jetbrains.k2js.translate.general.AbstractTranslator
      extended by org.jetbrains.k2js.translate.reference.AbstractCallExpressionTranslator
          extended by org.jetbrains.k2js.translate.reference.InlinedCallExpressionTranslator

public final class InlinedCallExpressionTranslator
extends AbstractCallExpressionTranslator


Field Summary
 
Fields inherited from class org.jetbrains.k2js.translate.reference.AbstractCallExpressionTranslator
callType, expression, receiver, resolvedCall
 
Method Summary
static boolean shouldBeInlined(JetCallExpression expression, TranslationContext context)
           
 boolean shouldWrapVarargInArray()
           
static com.google.dart.compiler.backend.js.ast.JsExpression translate(JetCallExpression expression, com.google.dart.compiler.backend.js.ast.JsExpression receiver, CallType callType, TranslationContext context)
           
 
Methods inherited from class org.jetbrains.k2js.translate.reference.AbstractCallExpressionTranslator
translateSingleArgument
 
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
 

Method Detail

shouldBeInlined

public static boolean shouldBeInlined(@NotNull
                                      JetCallExpression expression,
                                      @NotNull
                                      TranslationContext context)

translate

@NotNull
public static com.google.dart.compiler.backend.js.ast.JsExpression translate(@NotNull
                                                                                     JetCallExpression expression,
                                                                                     @Nullable
                                                                                     com.google.dart.compiler.backend.js.ast.JsExpression receiver,
                                                                                     @NotNull
                                                                                     CallType callType,
                                                                                     @NotNull
                                                                                     TranslationContext context)

shouldWrapVarargInArray

public boolean shouldWrapVarargInArray()
Specified by:
shouldWrapVarargInArray in class AbstractCallExpressionTranslator