public abstract class IsNumberNode extends JavaScriptBaseNode
JSRuntime.isNumber(Object)| Constructor and Description |
|---|
IsNumberNode() |
| Modifier and Type | Method and Description |
|---|---|
protected static boolean |
doDouble(double value) |
protected static boolean |
doInt(int value) |
protected static boolean |
doOther(Object value) |
protected static boolean |
doSafeInteger(SafeInteger value) |
abstract boolean |
execute(com.oracle.truffle.api.nodes.Node node,
Object value) |
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 execute(com.oracle.truffle.api.nodes.Node node,
Object value)
protected static boolean doInt(int value)
protected static boolean doSafeInteger(SafeInteger value)
protected static boolean doDouble(double value)
protected static boolean doOther(Object value)