Class TypeNode.VarArgsTypeNode

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

public static class TypeNode.VarArgsTypeNode extends TypeNode.ObjectSlotTypeNode
  • Constructor Details

    • VarArgsTypeNode

      public VarArgsTypeNode(com.oracle.truffle.api.source.SourceSection sourceSection, TypeNode elementTypeNode)
  • Method Details

    • createDefaultValue

      @Nullable public @Nullable Object createDefaultValue(VmLanguage language, com.oracle.truffle.api.source.SourceSection headerSection, String qualifiedName)
      Overrides:
      createDefaultValue in class TypeNode
    • doExport

      protected final PType doExport()
      Overrides:
      doExport 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