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
expression, receiver, resolvedCall
 
Method Summary
static boolean shouldBeInlined(JetCallExpression expression, TranslationContext context)
           
static JsExpression translate(JetCallExpression expression, JsExpression receiver, TranslationContext context)
           
 
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 JsExpression translate(@NotNull
                                             JetCallExpression expression,
                                             @Nullable
                                             JsExpression receiver,
                                             @NotNull
                                             TranslationContext context)