public abstract class JSToBigIntNode extends JavaScriptBaseNode
| Modifier and Type | Class and Description |
|---|---|
static class |
JSToBigIntNode.CoercePrimitiveToBigIntNode
Implementation of the ToBigInt conversion performed by the BigInt(argument) where the
argument has already been converted ToPrimitive, i.e.:
If prim is a Number, return NumberToBigInt(prim), otherwise ToBigInt(prim).
|
protected static class |
JSToBigIntNode.JSPrimitiveToBigIntNode
Implementation of the abstract operation ToBigInt(argument) where the argument has already
been converted ToPrimitive.
|
| Constructor and Description |
|---|
JSToBigIntNode() |
| Modifier and Type | Method and Description |
|---|---|
static JSToBigIntNode |
create() |
protected static BigInt |
doBigInt(BigInt value) |
protected BigInt |
doOther(Object value,
JSToPrimitiveNode toPrimitiveNode,
JSToBigIntNode.JSPrimitiveToBigIntNode primitiveToBigInt) |
abstract BigInt |
execute(Object value) |
BigInt |
executeBigInteger(Object value) |
static JSToBigIntNode |
getUncached() |
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 JSToBigIntNode create()
public static JSToBigIntNode getUncached()
protected final BigInt doOther(Object value, JSToPrimitiveNode toPrimitiveNode, JSToBigIntNode.JSPrimitiveToBigIntNode primitiveToBigInt)