Class Block

All Implemented Interfaces:
Formattable, Cloneable

@Generated(generator="eu.bandm.tools.umod", version="", timestamp="2026-11-24_22h23m18") public class Block extends Statement
A sequential container for statements.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":558.2-7, see this pretty print.)
  • Field Details

  • Constructor Details

    • Block

      public Block()
      Constructor with minimal set of arguments, is supplied automatically by the umod compiler, not explicitly by the user.
      (All object fields are set to their default values.)

  • Method Details

    • doclone

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

      Overrides:
      doclone in class Statement
      Returns:
      a fresh copy.
    • getFormatHint

      public static String getFormatHint()
      Delivers the format specification from the umod source.
      The constant return value is ..
      labels{$this':'}[/]/$switch implicit{true:elems[/]/('{';2>elems[/];'}')}
      This can be used e.g. by format code interpreters which process objects of different origin.
    • format

      public Format format()
      Delivers a format object for pretty-printing, as specified in the umod source.
      Specified by:
      format in interface Formattable
      Overrides:
      format in class Statement
      Returns:
      a format that represents this object in a pretty-printable way
    • initFrom

      public Block 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 Statement
    • get_labels

      public NonNullList<Name> get_labels()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":561.1-7, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type NonNullList<Name(never null)>(never null)
      See Also:
    • set_labels

      public boolean set_labels(NonNullList<Name> val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":561.1-7, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type NonNullList<Name(never null)>(never null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • descend_labels

      @Deprecated public void descend_labels(MATCH_ONLY_00 visitor)
      Deprecated.
      Use visitor.follow_labels(this) or visitor.followAll_labels(this) instead.
    • get_implicit

      public boolean get_implicit()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":562.1-9, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type boolean(never null)
      See Also:
    • set_implicit

      public boolean set_implicit(boolean val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":562.1-9, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type boolean(never null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • get_elems

      public NonNullList<Statement> get_elems()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":563.1-6, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type NonNullList<Statement(never null)>(never null)
      See Also:
    • set_elems

      public boolean set_elems(NonNullList<Statement> val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":563.1-6, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type NonNullList<Statement(never null)>(never null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • descend_elems

      @Deprecated public void descend_elems(MATCH_ONLY_00 visitor)
      Deprecated.
      Use visitor.follow_elems(this) or visitor.followAll_elems(this) instead.
    • get_controlEnv

      public NonNullMap<Name,Block> get_controlEnv()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1124.1-11, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type NonNullMap<Name(never null),Block(never null)>(never null)
      See Also:
    • set_controlEnv

      public boolean set_controlEnv(NonNullMap<Name,Block> val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1124.1-11, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type NonNullMap<Name(never null),Block(never null)>(never null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • put_controlEnv

      public void put_controlEnv(Name key0, Block value)
      Convenience un-Currying method.
      Set the value at the given coordinate and automatically generate all intermediate collections, if not yet existing.
      Parameters:
      value - the new value of type Block(never null)
      See Also:
    • containsKey_controlEnv

      public boolean containsKey_controlEnv(Name key0)
      Convenience un-Currying method.
      Returns:
      whether there exists a chain of collection objects to the given co-ordinate.
      See Also:
    • descend_controlEnv

      @Deprecated public void descend_controlEnv(MATCH_ONLY_00 visitor)
      Deprecated.
      Use visitor.follow_controlEnv(this) or visitor.followAll_controlEnv(this) instead.
    • get_dataEnv

      public NonNullMap<Name,Variable> get_dataEnv()
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1125.1-8, see this pretty print.)
      Generated getter method.
      Returns:
      The current field value of type NonNullMap<Name(never null),Variable(never null)>(never null)
      See Also:
    • set_dataEnv

      public boolean set_dataEnv(NonNullMap<Name,Variable> val)
      Generated by umod; model author's documentation MISSING.
      (This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1125.1-8, see this pretty print.)
      Updates the (mutable) instance destructively.
      Parameters:
      val - the new value of type NonNullMap<Name(never null),Variable(never null)>(never null)
      Returns:
      whether a change (w.r.t. ==) did actually happen.
      See Also:
    • put_dataEnv

      public void put_dataEnv(Name key0, Variable value)
      Convenience un-Currying method.
      Set the value at the given coordinate and automatically generate all intermediate collections, if not yet existing.
      Parameters:
      value - the new value of type Variable(never null)
      See Also:
    • containsKey_dataEnv

      public boolean containsKey_dataEnv(Name key0)
      Convenience un-Currying method.
      Returns:
      whether there exists a chain of collection objects to the given co-ordinate.
      See Also:
    • descend_dataEnv

      @Deprecated public void descend_dataEnv(MATCH_ONLY_00 visitor)
      Deprecated.
      Use visitor.follow_dataEnv(this) or visitor.followAll_dataEnv(this) instead.
    • get_labels

      public static Pattern<Block> get_labels(Pattern<? super NonNullList<Name>> 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 __Patterns.
    • get_implicit

      public static Pattern<Block> get_implicit(Pattern<? super Boolean> 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 __Patterns.
    • get_elems

      public static Pattern<Block> get_elems(Pattern<? super NonNullList<Statement>> 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 __Patterns.
    • get_controlEnv

      public static Pattern<Block> get_controlEnv(Pattern<? super NonNullMap<Name,Block>> 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 __Patterns.
    • get_dataEnv

      public static Pattern<Block> get_dataEnv(Pattern<? super NonNullMap<Name,Variable>> 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 __Patterns.