public abstract class JSToStringOrNumberNode extends JavaScriptBaseNode
| Constructor and Description |
|---|
JSToStringOrNumberNode() |
| Modifier and Type | Method and Description |
|---|---|
static JSToStringOrNumberNode |
create() |
protected static BigInt |
doBigInt(BigInt value) |
protected int |
doBoolean(boolean value) |
protected double |
doDouble(double value) |
protected int |
doInteger(int value) |
protected double |
doJSObject(com.oracle.truffle.api.object.DynamicObject value,
JSToDoubleNode toDoubleNode) |
protected boolean |
doLong(long value) |
protected int |
doNull(Object value) |
protected SafeInteger |
doSafeInteger(SafeInteger value) |
protected String |
doString(String value) |
protected Object |
doSymbol(Symbol value) |
protected double |
doUndefined(Object value) |
abstract Object |
execute(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 static JSToStringOrNumberNode create()
protected int doInteger(int value)
protected SafeInteger doSafeInteger(SafeInteger value)
protected int doBoolean(boolean value)
protected boolean doLong(long value)
protected double doDouble(double value)
protected double doJSObject(com.oracle.truffle.api.object.DynamicObject value,
JSToDoubleNode toDoubleNode)
protected int doNull(Object value)
protected double doUndefined(Object value)