Package eu.bandm.tools.lljava.absy
Class Block
java.lang.Object
eu.bandm.tools.lljava.absy.Node
eu.bandm.tools.lljava.absy.Statement
eu.bandm.tools.lljava.absy.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 Summary
FieldsModifier and TypeFieldDescriptionprotected NonNullMap<Name, Block> Generated by umod; model author's documentation MISSING.protected NonNullMap<Name, Variable> Generated by umod; model author's documentation MISSING.protected NonNullList<Statement> Generated by umod; model author's documentation MISSING.protected booleanGenerated by umod; model author's documentation MISSING.protected NonNullList<Name> Generated by umod; model author's documentation MISSING. -
Constructor Summary
ConstructorsConstructorDescriptionBlock()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 Summary
Modifier and TypeMethodDescriptionbooleancontainsKey_controlEnv(Name key0) Convenience un-Currying method.booleancontainsKey_dataEnv(Name key0) Convenience un-Currying method.voiddescend_controlEnv(MATCH_ONLY_00 visitor) Deprecated.voiddescend_dataEnv(MATCH_ONLY_00 visitor) Deprecated.Usevisitor.follow_dataEnv(this)orvisitor.followAll_dataEnv(this)instead.voiddescend_elems(MATCH_ONLY_00 visitor) Deprecated.Usevisitor.follow_elems(this)orvisitor.followAll_elems(this)instead.voiddescend_labels(MATCH_ONLY_00 visitor) Deprecated.Usevisitor.follow_labels(this)orvisitor.followAll_labels(this)instead.doclone()Clones this object.format()Delivers a format object for pretty-printing, as specified in the umod source.Generated by umod; model author's documentation MISSING.get_controlEnv(Pattern<? super NonNullMap<Name, Block>> p) Lifts a pattern which matches the field value to one which matches this whole object.Generated by umod; model author's documentation MISSING.get_dataEnv(Pattern<? super NonNullMap<Name, Variable>> p) Lifts a pattern which matches the field value to one which matches this whole object.Generated by umod; model author's documentation MISSING.get_elems(Pattern<? super NonNullList<Statement>> p) Lifts a pattern which matches the field value to one which matches this whole object.booleanGenerated by umod; model author's documentation MISSING.get_implicit(Pattern<? super Boolean> p) Lifts a pattern which matches the field value to one which matches this whole object.Generated by umod; model author's documentation MISSING.get_labels(Pattern<? super NonNullList<Name>> p) Lifts a pattern which matches the field value to one which matches this whole object.static StringDelivers the format specification from the umod source.Copies values of all common fields from the argument.voidput_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.voidput_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.booleanset_controlEnv(NonNullMap<Name, Block> val) Generated by umod; model author's documentation MISSING.booleanset_dataEnv(NonNullMap<Name, Variable> val) Generated by umod; model author's documentation MISSING.booleanset_elems(NonNullList<Statement> val) Generated by umod; model author's documentation MISSING.booleanset_implicit(boolean val) Generated by umod; model author's documentation MISSING.booleanset_labels(NonNullList<Name> val) Generated by umod; model author's documentation MISSING.Methods inherited from class eu.bandm.tools.lljava.absy.Node
get_location, get_location, set_location
-
Field Details
-
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.)
The type of this field isNonNullList<Name(nevernull)>(nevernull)
Its value defaults to an empty collection.
- See Also:
-
implicit
protected boolean implicitGenerated 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.)
The type of this field is boolean(nevernull)
Its value defaults tofalse.
- See Also:
-
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.)
The type of this field isNonNullList<Statement(nevernull)>(nevernull)
Its value defaults to an empty collection.
- See Also:
-
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.)
The type of this field isNonNullMap<Name(nevernull),Block(nevernull)>(nevernull)
Its value defaults to an empty collection.
- See Also:
-
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.)
The type of this field isNonNullMap<Name(nevernull),Variable(nevernull)>(nevernull)
Its value defaults to an empty collection.
- See Also:
-
-
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
-
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
Delivers a format object for pretty-printing, as specified in the umod source.- Specified by:
formatin interfaceFormattable- Overrides:
formatin classStatement- Returns:
- a format that represents this object in a pretty-printable way
-
initFrom
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. -
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(nevernull)>(nevernull) - See Also:
-
set_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.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeNonNullList<Name(nevernull)>(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
descend_labels
Deprecated.Usevisitor.follow_labels(this)orvisitor.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(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
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(nevernull)>(nevernull) - See Also:
-
set_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.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeNonNullList<Statement(nevernull)>(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
descend_elems
Deprecated.Usevisitor.follow_elems(this)orvisitor.followAll_elems(this)instead. -
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(nevernull),Block(nevernull)>(nevernull) - See Also:
-
set_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.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeNonNullMap<Name(nevernull),Block(nevernull)>(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
put_controlEnv
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 typeBlock(nevernull)- See Also:
-
containsKey_controlEnv
Convenience un-Currying method.- Returns:
- whether there exists a chain of collection objects to the given co-ordinate.
- See Also:
-
descend_controlEnv
Deprecated.Usevisitor.follow_controlEnv(this)orvisitor.followAll_controlEnv(this)instead. -
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(nevernull),Variable(nevernull)>(nevernull) - See Also:
-
set_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.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeNonNullMap<Name(nevernull),Variable(nevernull)>(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
put_dataEnv
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 typeVariable(nevernull)- See Also:
-
containsKey_dataEnv
Convenience un-Currying method.- Returns:
- whether there exists a chain of collection objects to the given co-ordinate.
- See Also:
-
descend_dataEnv
Deprecated.Usevisitor.follow_dataEnv(this)orvisitor.followAll_dataEnv(this)instead. -
get_labels
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
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
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
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
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.
-
visitor.follow_controlEnv(this)orvisitor.followAll_controlEnv(this)instead.