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

public abstract class JSNumberToBigIntNode extends JavaScriptBaseNode
Abstract operation NumberToBigInt(number).
  • Constructor Details

    • JSNumberToBigIntNode

      public JSNumberToBigIntNode()
  • Method Details

    • execute

      protected abstract BigInt execute(Object value)
    • executeBigInt

      public final BigInt executeBigInt(Object value)
    • executeBigIntIfNumberOrNull

      public final BigInt executeBigIntIfNumberOrNull(Object value)
    • doInteger

      protected static BigInt doInteger(int value)
    • doSafeInteger

      protected static BigInt doSafeInteger(SafeInteger value)
    • doubleRepresentsSameValueAsLong

      protected static boolean doubleRepresentsSameValueAsLong(double value)
    • doDoubleAsLong

      protected static BigInt doDoubleAsLong(double value)
    • doDoubleOther

      protected static BigInt doDoubleOther(double value)
    • doOtherType

      protected static BigInt doOtherType(Object value)