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 |
doCharSequence(CharSequence charSequence) |
protected static boolean |
doJSFunction(com.oracle.truffle.api.object.DynamicObject function) |
protected static boolean |
doJSProxy(com.oracle.truffle.api.object.DynamicObject proxy) |
protected static boolean |
doNumber(Number number) |
protected static boolean |
doOther(Object other) |
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, onReplaceaccept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, lookupContextReference, lookupLanguageReference, notifyInserted, replace, replace, reportPolymorphicSpecialize, toStringpublic abstract boolean executeBoolean(Object operand)
protected static boolean doJSFunction(com.oracle.truffle.api.object.DynamicObject function)
protected static boolean doJSProxy(com.oracle.truffle.api.object.DynamicObject proxy)
protected static boolean doOther(Object other)
protected static boolean doCharSequence(CharSequence charSequence)
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()