Class IsJSObjectNode

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

public abstract class IsJSObjectNode extends JavaScriptBaseNode
Checks whether the argument is a JS object (not including null and undefined).
  • Constructor Details

    • IsJSObjectNode

      protected IsJSObjectNode()
  • Method Details

    • executeBoolean

      public abstract boolean executeBoolean(Object obj)
    • isObjectCached

      protected static boolean isObjectCached(Object object, Class<?> cachedClass, boolean cachedResult)
    • isObject

      protected boolean isObject(Object object, com.oracle.truffle.api.profiles.InlinedConditionProfile resultProfile)
    • create

      public static IsJSObjectNode create()