org.jetbrains.k2js.translate.intrinsic.functions.basic
Class FunctionIntrinsic

java.lang.Object
  extended by org.jetbrains.k2js.translate.intrinsic.functions.basic.FunctionIntrinsic
Direct Known Subclasses:
BuiltInFunctionIntrinsic, BuiltInPropertyIntrinsic, FunctionIntrinsic.CallParametersAwareFunctionIntrinsic, KotlinFunctionIntrinsic

public abstract class FunctionIntrinsic
extends java.lang.Object

Base for intrinsics that substitute standard function calls like Int#plus, Float#minus ... etc


Nested Class Summary
static class FunctionIntrinsic.CallParametersAwareFunctionIntrinsic
           
 
Field Summary
static FunctionIntrinsic NO_INTRINSIC
           
 
Constructor Summary
FunctionIntrinsic()
           
 
Method Summary
 com.google.dart.compiler.backend.js.ast.JsExpression apply(CallTranslator callTranslator, java.util.List<com.google.dart.compiler.backend.js.ast.JsExpression> arguments, TranslationContext context)
           
abstract  com.google.dart.compiler.backend.js.ast.JsExpression apply(com.google.dart.compiler.backend.js.ast.JsExpression receiver, java.util.List<com.google.dart.compiler.backend.js.ast.JsExpression> arguments, TranslationContext context)
           
 boolean exists()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_INTRINSIC

@NotNull
public static final FunctionIntrinsic NO_INTRINSIC
Constructor Detail

FunctionIntrinsic

public FunctionIntrinsic()
Method Detail

apply

@NotNull
public com.google.dart.compiler.backend.js.ast.JsExpression apply(@NotNull
                                                                          CallTranslator callTranslator,
                                                                          @NotNull
                                                                          java.util.List<com.google.dart.compiler.backend.js.ast.JsExpression> arguments,
                                                                          @NotNull
                                                                          TranslationContext context)

apply

@NotNull
public abstract com.google.dart.compiler.backend.js.ast.JsExpression apply(@Nullable
                                                                                   com.google.dart.compiler.backend.js.ast.JsExpression receiver,
                                                                                   @NotNull
                                                                                   java.util.List<com.google.dart.compiler.backend.js.ast.JsExpression> arguments,
                                                                                   @NotNull
                                                                                   TranslationContext context)

exists

public boolean exists()