public abstract class JSToDoubleNode extends JavaScriptBaseNode
| Constructor and Description |
|---|
JSToDoubleNode() |
| Modifier and Type | Method and Description |
|---|---|
static JSToDoubleNode |
create() |
protected double |
doBigInt(BigInt value) |
protected static double |
doBoolean(boolean value) |
protected static double |
doDouble(double value) |
protected double |
doForeignObject(Object object,
JSToPrimitiveNode toPrimitiveNode) |
protected static double |
doInteger(int value) |
protected static double |
doJavaNumber(Object value) |
protected double |
doJSObject(com.oracle.truffle.api.object.DynamicObject value,
JSToPrimitiveNode toPrimitiveNode) |
protected static double |
doNull(Object value) |
protected static double |
doStringDouble(String value,
JSStringToNumberNode stringToNumberNode) |
protected double |
doSymbol(Symbol value) |
protected static double |
doUndefined(Object value) |
abstract Object |
execute(Object value) |
abstract double |
executeDouble(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 double executeDouble(Object value)
public static JSToDoubleNode create()
protected static double doInteger(int value)
protected static double doBoolean(boolean value)
protected static double doDouble(double value)
protected final double doBigInt(BigInt value)
protected static double doNull(Object value)
protected static double doUndefined(Object value)
protected static double doStringDouble(String value, JSStringToNumberNode stringToNumberNode)
protected double doJSObject(com.oracle.truffle.api.object.DynamicObject value,
JSToPrimitiveNode toPrimitiveNode)
protected final double doSymbol(Symbol value)
protected double doForeignObject(Object object, JSToPrimitiveNode toPrimitiveNode)
protected static double doJavaNumber(Object value)