Class JSToBigIntNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.cast.JSToBigIntNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
Implementation of the abstract operation ToBigInt(argument).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classImplementation 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 classImplementation of the abstract operation ToBigInt(argument) where the argument has already been converted ToPrimitive.Nested classes/interfaces inherited from class com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.Node.Child, com.oracle.truffle.api.nodes.Node.Children -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JSToBigIntNodecreate()protected static BigIntprotected final BigIntdoOther(Object value, JSToPrimitiveNode toPrimitiveNode, JSToBigIntNode.JSPrimitiveToBigIntNode primitiveToBigInt) abstract BigIntfinal BigIntexecuteBigInteger(Object value) static JSToBigIntNodeMethods inherited from class com.oracle.truffle.js.nodes.JavaScriptBaseNode
copy, getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, onReplaceMethods inherited from class com.oracle.truffle.api.nodes.Node
accept, adoptChildren, atomic, atomic, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, replace, replace, reportPolymorphicSpecialize, toString
-
Constructor Details
-
JSToBigIntNode
public JSToBigIntNode()
-
-
Method Details
-
execute
-
executeBigInteger
-
create
-
getUncached
-
doBigInt
-
doOther
protected final BigInt doOther(Object value, JSToPrimitiveNode toPrimitiveNode, JSToBigIntNode.JSPrimitiveToBigIntNode primitiveToBigInt)
-