public abstract class JSToIntegerWithoutRoundingNode extends JavaScriptBaseNode
| Constructor and Description |
|---|
JSToIntegerWithoutRoundingNode() |
| Modifier and Type | Method and Description |
|---|---|
protected long |
doBigInt(BigInt value) |
protected static double |
doBoolean(boolean value) |
protected double |
doDoubleInfinite(double value,
com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch) |
protected static double |
doInteger(int value) |
protected double |
doJSOrForeignObject(Object value,
JSToIntegerWithoutRoundingNode toIntOrInf,
JSToNumberNode toNumberNode) |
protected static double |
doLong(long value) |
protected static double |
doNull(Object value) |
protected static double |
doSafeInteger(SafeInteger value) |
protected double |
doString(com.oracle.truffle.api.strings.TruffleString value,
JSToIntegerWithoutRoundingNode toIntOrInf,
JSStringToNumberNode stringToNumberNode) |
protected long |
doSymbol(Symbol value) |
protected static double |
doUndefined(Object value) |
abstract Object |
execute(Object value) |
double |
executeDouble(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 final double executeDouble(Object value)
protected static double doInteger(int value)
protected static double doLong(long value)
protected static double doBoolean(boolean value)
protected static double doSafeInteger(SafeInteger value)
protected final double doDoubleInfinite(double value,
com.oracle.truffle.api.profiles.InlinedBranchProfile errorBranch)
protected static double doNull(Object value)
protected static double doUndefined(Object value)
protected final long doSymbol(Symbol value)
protected final long doBigInt(BigInt value)
protected double doString(com.oracle.truffle.api.strings.TruffleString value,
JSToIntegerWithoutRoundingNode toIntOrInf,
JSStringToNumberNode stringToNumberNode)
protected double doJSOrForeignObject(Object value, JSToIntegerWithoutRoundingNode toIntOrInf, JSToNumberNode toNumberNode)