Class Model.Indentation

java.lang.Object
eu.bandm.tools.formattext.Model.Expr
eu.bandm.tools.formattext.Model.Indentation
All Implemented Interfaces:
Cloneable
Enclosing class:
Model

@Generated(generator="eu.bandm.tools.umod", version="", timestamp="2026-08-09_10h01m04") public static class Model.Indentation extends Model.Expr
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "/home/lepper/metatools/src/eu/bandm/tools/formattext/Model.umod":36.4-15, see this pretty print.)
  • Field Details

    • DEFAULT

      public static final int DEFAULT
      See Also:
    • indentation

      protected int indentation
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "/home/lepper/metatools/src/eu/bandm/tools/formattext/Model.umod":37.6-17, see this pretty print.)
      The type of this field is int(never null)
      It is set by every possible constructor.

      See Also:
    • body

      protected Model.Expr body
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "/home/lepper/metatools/src/eu/bandm/tools/formattext/Model.umod":38.6-10, see this pretty print.)
      The type of this field is Model.Expr(never null)
      It is set by every possible constructor.

      See Also:
  • Constructor Details

    • Indentation

      public Indentation(@Opt Location<String> location, int indentation, Model.Expr body)
      Constructor defined according to directive »C 0/..«.

      Parameters:
      location - is copied to field Model.Expr.location
      indentation - is copied to field indentation
      body - is copied to field body
    • Indentation

      public Indentation(int indentation, Model.Expr body)
      Constructor with minimal set of arguments, is supplied automatically by the umod compiler, not explicitly by the user.

      Parameters:
      indentation - is copied to field indentation
      body - is copied to field body
  • Method Details

    • doclone

      public Model.Indentation doclone()
      Clones this object. Method never fails, since Cloneable is known to be implemented.

      Overrides:
      doclone in class Model.Expr
      Returns:
      a fresh copy.
    • initFrom

      public Model.Indentation 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 Model.Expr
    • get_indentation

      public int get_indentation()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "/home/lepper/metatools/src/eu/bandm/tools/formattext/Model.umod":37.6-17, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type int(never null)
      See Also:
    • set_indentation

      public boolean set_indentation(int val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "/home/lepper/metatools/src/eu/bandm/tools/formattext/Model.umod":37.6-17, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type int(never null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • get_body

      public Model.Expr get_body()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "/home/lepper/metatools/src/eu/bandm/tools/formattext/Model.umod":38.6-10, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type Model.Expr(never null)
      See Also:
    • set_body

      public boolean set_body(Model.Expr val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "/home/lepper/metatools/src/eu/bandm/tools/formattext/Model.umod":38.6-10, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type Model.Expr(never null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • get_indentation

      public static Pattern<Model.Indentation> get_indentation(Pattern<? super Integer> 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 Model.__Patterns.
    • get_body

      public static Pattern<Model.Indentation> get_body(Pattern<? super Model.Expr> 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 Model.__Patterns.