Class DTM.CP

All Implemented Interfaces:
Formattable, Cloneable
Direct Known Subclasses:
DTM.Choice, DTM.Sequence, DTM.Singleton
Enclosing class:
DTM

public abstract static class DTM.CP extends DTM.Content
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "DTM.umod":42.1-43.49, see this pretty print.)
  • Field Details

  • Constructor Details

    • CP

      public CP(EBNFModifier modifier)
      Constructor generated according to specification #0
      Constructor defined according to directive "C 0/..".
      Parameters:
      modifier - is copied to field modifier
  • Method Details

    • doclone

      public DTM.CP doclone()
      Clones this object. Method never fails, since Cloneable is known to be implemented.
      Overrides:
      doclone in class DTM.Content
      Returns:
      a fresh copy.
    • format

      public Format format()
      Delivers a format object for pretty-printing by inheritance from some ancestor class.
      Specified by:
      format in interface Formattable
      Overrides:
      format in class DTM.Content
      Returns:
      a format that represents this object in a pretty-printable way
    • initFrom

      public DTM.CP initFrom(Object o0)
      Copies values of all common fields from the argument. All fields of this class definition are copied, iff the argument is of this class. Then the superclass method is invoked with the same argument.
      Overrides:
      initFrom in class DTM.Content
    • get_modifier

      public EBNFModifier get_modifier()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "DTM.umod":43.9-49, see this pretty print.)
      Generated getter method. @see #modifier
      Returns:
      The current field value of type EBNFModifier(never null)
    • with_modifier

      public DTM.CP with_modifier(EBNFModifier val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "DTM.umod":43.9-49, see this pretty print.)
      Parameters:
      val - the new value of type EBNFModifier(never null)
      Returns:
      a new instance of the algebraic/immutable data type, with the addressed field set to the new value.
      See Also:
    • get_modifier

      public static Pattern<DTM.CP> get_modifier(Pattern<? super EBNFModifier> p)
      Lifts a pattern which matches the field value to one which matches this whole object.
      More complex pattern methods are generated in the one ancillary class DTM.__Patterns.