public abstract class JSToIntegerAsIntNode extends JavaScriptBaseNode
JSToIntegerAsLongNode| Constructor and Description |
|---|
JSToIntegerAsIntNode() |
| Modifier and Type | Method and Description |
|---|---|
static JSToIntegerAsIntNode |
create() |
protected int |
doBigInt(BigInt value) |
protected static int |
doBoolean(boolean value) |
protected static int |
doDouble(double value) |
protected static int |
doInteger(int value) |
protected int |
doJSObject(JSObject value,
JSToNumberNode toNumberNode) |
protected int |
doJSOrForeignObject(Object value,
JSToNumberNode toNumberNode) |
protected static int |
doNull(Object value) |
protected static int |
doSafeIntegerInt32Range(SafeInteger value) |
protected static int |
doSafeIntegerOther(SafeInteger value) |
protected int |
doString(com.oracle.truffle.api.strings.TruffleString value,
JSToIntegerAsIntNode nestedToIntegerNode,
JSStringToNumberNode stringToNumberNode) |
protected int |
doSymbol(Symbol value) |
protected static int |
doUndefined(Object value) |
abstract int |
executeInt(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 static JSToIntegerAsIntNode create()
public abstract int executeInt(Object operand)
protected static int doInteger(int value)
protected static int doBoolean(boolean value)
protected static int doSafeIntegerInt32Range(SafeInteger value)
protected static int doSafeIntegerOther(SafeInteger value)
protected static int doDouble(double value)
protected static int doUndefined(Object value)
protected static int doNull(Object value)
protected final int doSymbol(Symbol value)
protected final int doBigInt(BigInt value)
protected int doString(com.oracle.truffle.api.strings.TruffleString value,
JSToIntegerAsIntNode nestedToIntegerNode,
JSStringToNumberNode stringToNumberNode)
protected int doJSObject(JSObject value, JSToNumberNode toNumberNode)
protected int doJSOrForeignObject(Object value, JSToNumberNode toNumberNode)