org.jetbrains.k2js.translate.intrinsic.functions.basic
Class FunctionIntrinsic
java.lang.Object
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
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 |
NO_INTRINSIC
@NotNull
public static final FunctionIntrinsic NO_INTRINSIC
FunctionIntrinsic
public FunctionIntrinsic()
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()