Class IsObjectNode

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

public abstract class IsObjectNode extends JavaScriptBaseNode
Checks whether the argument is of type Object (JS or foreign), i.e., not a primitive value.
  • Constructor Details

    • IsObjectNode

      public IsObjectNode()
  • 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)
    • doTString

      protected static boolean doTString(com.oracle.truffle.api.strings.TruffleString operand)
    • doJSObject

      protected static boolean doJSObject(JSObject operand)
    • doForeignObject

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

      public static IsObjectNode create()
    • getUncached

      public static IsObjectNode getUncached()