Package eu.bandm.tools.lljava.absy
Class LLJava.Block
java.lang.Object
eu.bandm.tools.lljava.absy.LLJava.Node
eu.bandm.tools.lljava.absy.LLJava.Statement
eu.bandm.tools.lljava.absy.LLJava.Block
- All Implemented Interfaces:
Formattable
,Cloneable
- Enclosing class:
- LLJava
A sequential container for statements.
(This definition has been created by UMod
from the source at SYSTEM "LLJava.umod":556.1-563.16, see this pretty
print.)-
Field Summary
Modifier and TypeFieldDescriptionprotected CheckedMap_RD<LLJava.Name,
LLJava.Block> Generated by umod; model author's documentation MISSING.protected CheckedMap_RD<LLJava.Name,
LLJava.Variable> Generated by umod; model author's documentation MISSING.protected CheckedList<LLJava.Statement>
Generated by umod; model author's documentation MISSING.protected boolean
Generated by umod; model author's documentation MISSING.protected CheckedList<LLJava.Name>
Generated by umod; model author's documentation MISSING.Fields inherited from class eu.bandm.tools.lljava.absy.LLJava.Node
location
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Convenience un-Currying method.boolean
Convenience un-Currying method.void
descend_controlEnv
(LLJava.MATCH_ONLY_00 visitor) Deprecated.void
descend_dataEnv
(LLJava.MATCH_ONLY_00 visitor) Deprecated.void
descend_elems
(LLJava.MATCH_ONLY_00 visitor) Deprecated.void
descend_labels
(LLJava.MATCH_ONLY_00 visitor) Deprecated.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.static Pattern<LLJava.Block>
get_controlEnv
(Pattern<? super CheckedMap_RD<LLJava.Name, LLJava.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.static Pattern<LLJava.Block>
get_dataEnv
(Pattern<? super CheckedMap_RD<LLJava.Name, LLJava.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.static Pattern<LLJava.Block>
get_elems
(Pattern<? super CheckedList<LLJava.Statement>> p) Lifts a pattern which matches the field value to one which matches this whole object.boolean
Generated by umod; model author's documentation MISSING.static Pattern<LLJava.Block>
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.static Pattern<LLJava.Block>
get_labels
(Pattern<? super CheckedList<LLJava.Name>> p) Lifts a pattern which matches the field value to one which matches this whole object.static String
Delivers the format specification from the umod source.Copies values of all common fields from the argument.void
put_controlEnv
(LLJava.Name key0, LLJava.Block value) Convenience un-Currying method.void
put_dataEnv
(LLJava.Name key0, LLJava.Variable value) Convenience un-Currying method.boolean
Generated by umod; model author's documentation MISSING.boolean
Generated by umod; model author's documentation MISSING.boolean
Generated by umod; model author's documentation MISSING.boolean
set_implicit
(boolean val) Generated by umod; model author's documentation MISSING.boolean
set_labels
(CheckedList<LLJava.Name> val) Generated by umod; model author's documentation MISSING.Methods inherited from class eu.bandm.tools.lljava.absy.LLJava.Statement
toString
Methods inherited from class eu.bandm.tools.lljava.absy.LLJava.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":559.9-22, see this pretty print.)
The type of this field isCheckedList
<LLJava.Name
(never null)>(never null)
Its value defaults to an empty collection. -
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":560.9-29, see this pretty print.)
The type of this field is boolean(never null)
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":561.9-73, see this pretty print.)
The type of this field isCheckedList
<LLJava.Statement
(never null)>(never null)
Its value defaults to an empty collection. -
controlEnv
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1113.9-32, see this pretty print.)
The type of this field isCheckedMap_RD
<LLJava.Name
(never null),LLJava.Block
(never null)>(never null)
Its value defaults to an empty collection. -
dataEnv
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1114.9-29, see this pretty print.)
The type of this field isCheckedMap_RD
<LLJava.Name
(never null),LLJava.Variable
(never null)>(never null)
Its value defaults to an empty collection.
-
-
Constructor Details
-
Block
public Block()Synthetic minimal constructor provided by the umod compiler.
Constructor with minimal set of arguments, supplied automatically by the umod compiler, not explicitly by user.
(All object fields are set to their default values.)
-
-
Method Details
-
doclone
Clones this object. Method never fails, sinceCloneable
is known to be implemented.- Overrides:
doclone
in classLLJava.Statement
- Returns:
- a fresh copy.
-
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:
format
in interfaceFormattable
- Overrides:
format
in classLLJava.Statement
- 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.- Overrides:
initFrom
in classLLJava.Statement
-
get_labels
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":559.9-22, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
CheckedList
<LLJava.Name
(never null)>(never null) - 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":559.9-22, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeCheckedList
<LLJava.Name
(never null)>(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
descend_labels
Deprecated. -
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":560.9-29, 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":560.9-29, 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
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":561.9-73, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
CheckedList
<LLJava.Statement
(never null)>(never null) - 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":561.9-73, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeCheckedList
<LLJava.Statement
(never null)>(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
descend_elems
Deprecated. -
get_controlEnv
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1113.9-32, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
CheckedMap_RD
<LLJava.Name
(never null),LLJava.Block
(never null)>(never null) - 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":1113.9-32, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeCheckedMap_RD
<LLJava.Name
(never null),LLJava.Block
(never null)>(never null)- 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 typeLLJava.Block
(never null)- See Also:
-
containsKey_controlEnv
Convenience un-Currying method. -
descend_controlEnv
Deprecated. -
get_dataEnv
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "LLJava.umod":1114.9-29, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
CheckedMap_RD
<LLJava.Name
(never null),LLJava.Variable
(never null)>(never null) - 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":1114.9-29, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeCheckedMap_RD
<LLJava.Name
(never null),LLJava.Variable
(never null)>(never null)- 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 typeLLJava.Variable
(never null)- See Also:
-
containsKey_dataEnv
Convenience un-Currying method. -
descend_dataEnv
Deprecated. -
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 classLLJava.__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 classLLJava.__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 classLLJava.__Patterns
. -
get_controlEnv
public static Pattern<LLJava.Block> get_controlEnv(Pattern<? super CheckedMap_RD<LLJava.Name, LLJava.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 classLLJava.__Patterns
. -
get_dataEnv
public static Pattern<LLJava.Block> get_dataEnv(Pattern<? super CheckedMap_RD<LLJava.Name, LLJava.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 classLLJava.__Patterns
.
-