Package eu.bandm.tools.formattext
Class Model.Prior
java.lang.Object
eu.bandm.tools.formattext.Model.Expr
eu.bandm.tools.formattext.Model.Prior
- All Implemented Interfaces:
Cloneable
- Enclosing class:
Model
@Generated(generator="eu.bandm.tools.umod",
version="",
timestamp="2026-08-09_10h01m04")
public static class Model.Prior
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":73.4-9, see this pretty print.)
(This definition has been created by UMod from the source at SYSTEM "/home/lepper/metatools/src/eu/bandm/tools/formattext/Model.umod":73.4-9, see this pretty print.)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intGenerated by umod; model author's documentation MISSING.static final intprotected intGenerated by umod; model author's documentation MISSING.protected Model.ExprGenerated by umod; model author's documentation MISSING.protected Model.ExprGenerated by umod; model author's documentation MISSING.Fields inherited from class eu.bandm.tools.formattext.Model.Expr
location -
Constructor Summary
ConstructorsConstructorDescriptionPrior(int level, int assoc, Model.Expr noparens, Model.Expr parens) Constructor with minimal set of arguments, is supplied automatically by the umod compiler, not explicitly by the user.
Prior(@Opt Location<String> location, int level, int assoc, Model.Expr noparens, Model.Expr parens) Constructor defined according to directive »C 0/..«.
-
Method Summary
Modifier and TypeMethodDescriptiondoclone()Clones this object.intGenerated by umod; model author's documentation MISSING.static Pattern<Model.Prior> Lifts a pattern which matches the field value to one which matches this whole object.intGenerated by umod; model author's documentation MISSING.static Pattern<Model.Prior> 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<Model.Prior> get_noparens(Pattern<? super Model.Expr> 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<Model.Prior> get_parens(Pattern<? super Model.Expr> p) Lifts a pattern which matches the field value to one which matches this whole object.Copies values of all common fields from the argument.booleanset_assoc(int val) Generated by umod; model author's documentation MISSING.booleanset_level(int val) Generated by umod; model author's documentation MISSING.booleanset_noparens(Model.Expr val) Generated by umod; model author's documentation MISSING.booleanset_parens(Model.Expr val) Generated by umod; model author's documentation MISSING.Methods inherited from class eu.bandm.tools.formattext.Model.Expr
get_location, get_location, set_location
-
Field Details
-
DEFAULT_ASSOC
public static final int DEFAULT_ASSOC- See Also:
-
level
protected int levelGenerated 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":74.6-11, see this pretty print.)
The type of this field is int(nevernull)
It is set by every possible constructor.
- See Also:
-
assoc
protected int assocGenerated 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":75.6-11, see this pretty print.)
The type of this field is int(nevernull)
It is set by every possible constructor.
- See Also:
-
noparens
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":76.6-14, see this pretty print.)
The type of this field isModel.Expr(nevernull)
It is set by every possible constructor.
- See Also:
-
parens
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":77.6-12, see this pretty print.)
The type of this field isModel.Expr(nevernull)
It is set by every possible constructor.
- See Also:
-
-
Constructor Details
-
Prior
public Prior(@Opt Location<String> location, int level, int assoc, Model.Expr noparens, Model.Expr parens) Constructor defined according to directive »C 0/..«.
- Parameters:
location- is copied to fieldModel.Expr.locationlevel- is copied to fieldlevelassoc- is copied to fieldassocnoparens- is copied to fieldnoparensparens- is copied to fieldparens
-
Prior
Constructor with minimal set of arguments, is supplied automatically by the umod compiler, not explicitly by the user.
-
-
Method Details
-
doclone
- Overrides:
doclonein classModel.Expr- Returns:
- a fresh copy.
-
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:
initFromin classModel.Expr
-
get_level
public int get_level()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":74.6-11, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type int(never
null) - See Also:
-
set_level
public boolean set_level(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":74.6-11, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of type int(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_assoc
public int get_assoc()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":75.6-11, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type int(never
null) - See Also:
-
set_assoc
public boolean set_assoc(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":75.6-11, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of type int(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_noparens
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":76.6-14, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
Model.Expr(nevernull) - See Also:
-
set_noparens
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":76.6-14, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeModel.Expr(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_parens
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":77.6-12, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
Model.Expr(nevernull) - See Also:
-
set_parens
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":77.6-12, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeModel.Expr(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_level
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 classModel.__Patterns. -
get_assoc
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 classModel.__Patterns. -
get_noparens
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 classModel.__Patterns. -
get_parens
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 classModel.__Patterns.
-