public abstract class JSNumberToBigIntNode extends JavaScriptBaseNode
| Constructor and Description |
|---|
JSNumberToBigIntNode() |
| Modifier and Type | Method and Description |
|---|---|
protected static BigInt |
doDoubleAsLong(double value) |
protected static BigInt |
doDoubleOther(double value) |
protected static BigInt |
doInteger(int value) |
protected static BigInt |
doOtherType(Object value) |
protected static BigInt |
doSafeInteger(SafeInteger value) |
protected static boolean |
doubleRepresentsSameValueAsLong(double value) |
protected abstract BigInt |
execute(Object value) |
BigInt |
executeBigInt(Object value) |
BigInt |
executeBigIntIfNumberOrNull(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, toStringprotected static BigInt doInteger(int value)
protected static BigInt doSafeInteger(SafeInteger value)
protected static boolean doubleRepresentsSameValueAsLong(double value)
protected static BigInt doDoubleAsLong(double value)
protected static BigInt doDoubleOther(double value)