Class JSToBigIntNode.JSPrimitiveToBigIntNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.cast.JSToBigIntNode.JSPrimitiveToBigIntNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable
- Enclosing class:
JSToBigIntNode
Implementation of the abstract operation ToBigInt(argument) where the argument has already
been converted ToPrimitive.
-
Nested Class Summary
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 TypeMethodDescriptionprotected static BigIntprotected static BigIntdoBoolean(boolean value) protected static BigIntdoForeignBigInt(com.oracle.truffle.api.nodes.Node node, BigInt value) protected static BigIntprotected static BigIntdoString(com.oracle.truffle.api.nodes.Node node, com.oracle.truffle.api.strings.TruffleString value) protected static BigIntdoSymbolNullOrUndefined(com.oracle.truffle.api.nodes.Node node, Object value) abstract BigIntexecuteBigInt(com.oracle.truffle.api.nodes.Node node, Object value) Methods inherited from class JavaScriptBaseNode
copy, getJSContext, getLanguage, getLanguageOptions, getRealm, hasOverloadedOperators, onReplace, reportLoopCount, reportLoopCountMethods 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, reportReplace, toString
-
Constructor Details
-
JSPrimitiveToBigIntNode
protected JSPrimitiveToBigIntNode()
-
-
Method Details
-
executeBigInt
-
doBoolean
-
doBigInt
-
doForeignBigInt
-
doNumber
-
doSymbolNullOrUndefined
-
doString
protected static BigInt doString(com.oracle.truffle.api.nodes.Node node, com.oracle.truffle.api.strings.TruffleString value)
-