public abstract class IsConstructorNode extends JavaScriptBaseNode
JSRuntime.isConstructor(Object)| Modifier | Constructor and Description |
|---|---|
protected |
IsConstructorNode() |
| Modifier and Type | Method and Description |
|---|---|
static IsConstructorNode |
create() |
protected static boolean |
doBigInt(BigInt bigInt) |
protected static boolean |
doBoolean(boolean value) |
protected static boolean |
doJSFunction(JSFunctionObject function) |
protected static boolean |
doJSProxy(JSProxyObject proxy) |
protected static boolean |
doNumber(Number number) |
protected static boolean |
doOther(Object other) |
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 doJSFunction(JSFunctionObject function)
protected static boolean doJSProxy(JSProxyObject proxy)
protected static boolean doOther(Object other)
protected static boolean doString(com.oracle.truffle.api.strings.TruffleString string)
protected static boolean doBoolean(boolean value)
protected static boolean doNumber(Number number)
protected static boolean doSymbol(Symbol symbol)
protected static boolean doBigInt(BigInt bigInt)
protected static boolean doTruffleObject(Object obj, com.oracle.truffle.api.interop.InteropLibrary interop)
public static IsConstructorNode create()