Class IsNullNode

All Implemented Interfaces:
com.oracle.truffle.api.instrumentation.InstrumentableNode, com.oracle.truffle.api.nodes.NodeInterface, RepeatableNode, Cloneable

public abstract class IsNullNode extends IsIdenticalBaseNode
  • Constructor Details

    • IsNullNode

      protected IsNullNode(JavaScriptNode operand, boolean leftConstant)
  • Method Details

    • doNull

      protected static boolean doNull(Object operand)
    • doUndefined

      protected static boolean doUndefined(Object operand)
    • doObject

      protected static boolean doObject(Object operand)
    • doCached

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

      public static IsNullNode create(JavaScriptNode operand, boolean leftConstant)
    • copyUninitialized

      protected JavaScriptNode copyUninitialized(Set<Class<? extends com.oracle.truffle.api.instrumentation.Tag>> materializedTags)
      Overrides:
      copyUninitialized in class JavaScriptNode
    • getConstantValue

      protected Object getConstantValue()
      Specified by:
      getConstantValue in class IsIdenticalBaseNode