Class TypeNode.AnyTypeNode

All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface, Cloneable
Enclosing class:
TypeNode

public static final class TypeNode.AnyTypeNode extends TypeNode.WriteFrameSlotTypeNode
  • Constructor Details

    • AnyTypeNode

      public AnyTypeNode(com.oracle.truffle.api.source.SourceSection sourceSection)
  • Method Details

    • isNoopTypeCheck

      public boolean isNoopTypeCheck()
      Overrides:
      isNoopTypeCheck in class TypeNode
    • execute

      public void execute(com.oracle.truffle.api.frame.VirtualFrame frame, Object value)
      Description copied from class: TypeNode
      Checks if `value` conforms to this type. If so, returns normally. Otherwise, throws a `VmTypeMismatchException`.
      Specified by:
      execute in class TypeNode
    • getVmClass

      public VmClass getVmClass()
      Overrides:
      getVmClass in class TypeNode