public abstract class IsCallableNode extends JavaScriptBaseNode
JSRuntime.isCallable(Object)| Modifier | Constructor and Description |
|---|---|
protected |
IsCallableNode() |
| Modifier and Type | Method and Description |
|---|---|
static IsCallableNode |
create() |
protected static boolean |
doBigInt(BigInt bigInt) |
protected static boolean |
doBoolean(boolean value) |
protected static boolean |
doJSFunction(JSDynamicObject function) |
protected static boolean |
doJSFunctionShape(JSDynamicObject function,
com.oracle.truffle.api.object.Shape shape) |
protected static boolean |
doJSProxy(JSDynamicObject proxy) |
protected static boolean |
doJSTypeOther(JSDynamicObject object) |
protected static boolean |
doNumber(Number number) |
protected static boolean |
doString(com.oracle.truffle.api.strings.TruffleString string) |
protected static boolean |
doSymbol(Symbol symbol) |
protected static boolean |
doTruffleObject(Object obj,
com.oracle.truffle.api.interop.InteropLibrary interop) |
abstract boolean |
executeBoolean(Object operand) |
copy, getLanguage, getRealm, hasOverloadedOperators, onReplaceaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toStringpublic abstract boolean executeBoolean(Object operand)
protected static boolean doJSFunctionShape(JSDynamicObject function, com.oracle.truffle.api.object.Shape shape)
protected static boolean doJSFunction(JSDynamicObject function)
protected static boolean doJSProxy(JSDynamicObject proxy)
protected static boolean doJSTypeOther(JSDynamicObject object)
protected static boolean doTruffleObject(Object obj, com.oracle.truffle.api.interop.InteropLibrary interop)
protected static boolean doString(com.oracle.truffle.api.strings.TruffleString string)
protected static boolean doNumber(Number number)
protected static boolean doBoolean(boolean value)
protected static boolean doSymbol(Symbol symbol)
protected static boolean doBigInt(BigInt bigInt)
public static IsCallableNode create()