Class IsPrimitiveNode

java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.js.nodes.JavaScriptBaseNode
com.oracle.truffle.js.nodes.access.IsPrimitiveNode
All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable

public abstract class IsPrimitiveNode extends JavaScriptBaseNode
  • Constructor Details

    • IsPrimitiveNode

      public IsPrimitiveNode()
  • Method Details

    • executeBoolean

      public abstract boolean executeBoolean(Object operand)
    • doNull

      protected static boolean doNull(Object operand)
    • doUndefined

      protected static boolean doUndefined(Object operand)
    • doBoolean

      protected static boolean doBoolean(boolean operand)
    • doInt

      protected static boolean doInt(int operand)
    • doLong

      protected static boolean doLong(long operand)
    • doLargeInt

      protected static boolean doLargeInt(SafeInteger operand)
    • doDouble

      protected static boolean doDouble(double operand)
    • doSymbol

      protected static boolean doSymbol(Symbol operand)
    • doBigInt

      protected static boolean doBigInt(BigInt operand)
    • doString

      protected static boolean doString(com.oracle.truffle.api.strings.TruffleString operand)
    • doIsObject

      protected static boolean doIsObject(JSObject operand)
    • doForeignObject

      protected static boolean doForeignObject(Object operand, com.oracle.truffle.api.interop.InteropLibrary interop)
    • create

      public static IsPrimitiveNode create()
    • getUncached

      public static IsPrimitiveNode getUncached()