public abstract class JSToBooleanNode extends JavaScriptBaseNode
JSToBooleanUnaryNode| Modifier | Constructor and Description |
|---|---|
protected |
JSToBooleanNode() |
| Modifier and Type | Method and Description |
|---|---|
static JSToBooleanNode |
create() |
protected static boolean |
doBigInt(BigInt value) |
protected static boolean |
doBoolean(boolean value) |
protected static boolean |
doDouble(double value) |
protected boolean |
doForeignObject(Object value,
com.oracle.truffle.api.interop.InteropLibrary interop) |
protected static boolean |
doInt(int value) |
protected static boolean |
doLazyString(JSLazyString value) |
protected static boolean |
doLong(long value) |
protected static boolean |
doNull(Object value) |
protected static boolean |
doObject(Object value) |
protected static boolean |
doString(String value) |
protected static boolean |
doSymbol(Symbol value) |
protected static boolean |
doUndefined(Object value) |
abstract boolean |
executeBoolean(Object value) |
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 value)
public static JSToBooleanNode create()
protected static boolean doBoolean(boolean value)
protected static boolean doNull(Object value)
protected static boolean doUndefined(Object value)
protected static boolean doInt(int value)
protected static boolean doLong(long value)
protected static boolean doDouble(double value)
protected static boolean doBigInt(BigInt value)
protected static boolean doLazyString(JSLazyString value)
protected static boolean doString(String value)
protected static boolean doObject(Object value)
protected static boolean doSymbol(Symbol value)
protected final boolean doForeignObject(Object value, com.oracle.truffle.api.interop.InteropLibrary interop)