public abstract class ToIntlMathematicalValue extends JavaScriptBaseNode
| Modifier | Constructor and Description |
|---|---|
protected |
ToIntlMathematicalValue(boolean partOfRange) |
| Modifier and Type | Method and Description |
|---|---|
static ToIntlMathematicalValue |
create(boolean partOfRange) |
protected Number |
doBigInt(BigInt value) |
protected Number |
doBoolean(boolean value) |
protected Number |
doDouble(double value) |
protected Number |
doGeneric(Object value,
JSToPrimitiveNode toPrimitiveNode,
ToIntlMathematicalValue nestedToIntlMVNode) |
protected Number |
doLong(long value) |
protected Number |
doNull(Object value) |
protected Number |
doString(com.oracle.truffle.api.strings.TruffleString value) |
protected Number |
doSymbol(Symbol value) |
protected Number |
doUndefined(Object value) |
abstract Number |
executeNumber(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 static ToIntlMathematicalValue create(boolean partOfRange)
protected Number doDouble(double value)
protected Number doLong(long value)
protected Number doString(com.oracle.truffle.api.strings.TruffleString value)
protected Number doBoolean(boolean value)
protected Number doGeneric(Object value, JSToPrimitiveNode toPrimitiveNode, ToIntlMathematicalValue nestedToIntlMVNode)