public abstract class IsPrimitiveNode extends JavaScriptBaseNode
| Constructor and Description |
|---|
IsPrimitiveNode() |
| Modifier and Type | Method and Description |
|---|---|
static IsPrimitiveNode |
create() |
protected static boolean |
doBigInt(BigInt operand) |
protected static boolean |
doBoolean(boolean operand) |
protected static boolean |
doDouble(double operand) |
protected static boolean |
doForeignObject(Object operand,
com.oracle.truffle.api.interop.InteropLibrary interop) |
protected static boolean |
doInt(int operand) |
protected static boolean |
doIsObject(com.oracle.truffle.api.object.DynamicObject operand) |
protected static boolean |
doLargeInt(SafeInteger operand) |
protected static boolean |
doLong(long operand) |
protected static boolean |
doNull(Object operand) |
protected static boolean |
doString(CharSequence operand) |
protected static boolean |
doSymbol(Symbol operand) |
protected static boolean |
doUndefined(Object operand) |
abstract boolean |
executeBoolean(Object operand) |
copy, getLanguage, getRealm, 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 doNull(Object operand)
protected static boolean doUndefined(Object operand)
protected static boolean doBoolean(boolean operand)
protected static boolean doInt(int operand)
protected static boolean doLong(long operand)
protected static boolean doLargeInt(SafeInteger operand)
protected static boolean doDouble(double operand)
protected static boolean doSymbol(Symbol operand)
protected static boolean doBigInt(BigInt operand)
protected static boolean doString(CharSequence operand)
protected static boolean doIsObject(com.oracle.truffle.api.object.DynamicObject operand)
protected static boolean doForeignObject(Object operand, com.oracle.truffle.api.interop.InteropLibrary interop)
public static IsPrimitiveNode create()