Class JSNumberToBigIntNode
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.cast.JSNumberToBigIntNode
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
Abstract operation NumberToBigInt(number).
-
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 BigIntdoDoubleAsLong(double value) protected static BigIntdoDoubleOther(double value) protected static BigIntdoInteger(int value) protected static BigIntdoOtherType(Object value) protected static BigIntdoSafeInteger(SafeInteger value) protected static booleandoubleRepresentsSameValueAsLong(double value) protected abstract BigIntfinal BigIntexecuteBigInt(Object value) final BigIntMethods inherited from class com.oracle.truffle.js.nodes.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
-
JSNumberToBigIntNode
public JSNumberToBigIntNode()
-
-
Method Details
-
execute
-
executeBigInt
-
executeBigIntIfNumberOrNull
-
doInteger
-
doSafeInteger
-
doubleRepresentsSameValueAsLong
protected static boolean doubleRepresentsSameValueAsLong(double value) -
doDoubleAsLong
-
doDoubleOther
-
doOtherType
-