Package eu.bandm.tools.formattext
Class Model.CodeAndFold
java.lang.Object
eu.bandm.tools.formattext.Model.Expr
eu.bandm.tools.formattext.Model.CodeAndFold
- All Implemented Interfaces:
Cloneable
- Enclosing class:
Model
@Generated(generator="eu.bandm.tools.umod",
version="",
timestamp="2026-08-09_10h01m04")
public static class Model.CodeAndFold
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":41.4-15, 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":41.4-15, see this pretty print.)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected @Opt Model.ExprGenerated by umod; model author's documentation MISSING.protected @Opt Model.ExprGenerated by umod; model author's documentation MISSING.protected @Opt CompoundConstructorGenerated by umod; model author's documentation MISSING.protected @Opt Model.ExprGenerated by umod; model author's documentation MISSING.protected @Opt CompoundConstructorGenerated by umod; model author's documentation MISSING.protected @Opt Model.ExprGenerated by umod; model author's documentation MISSING.protected @Opt Model.ExprGenerated by umod; model author's documentation MISSING.protected Model.CustomExpressionGenerated by umod; model author's documentation MISSING.Fields inherited from class eu.bandm.tools.formattext.Model.Expr
location -
Constructor Summary
ConstructorsConstructorDescriptionCodeAndFold(Model.CustomExpression target) Constructor with minimal set of arguments, is supplied automatically by the umod compiler, not explicitly by the user.
CodeAndFold(@Opt Location<String> location, Model.CustomExpression target, @Opt Model.Expr code, @Opt Model.Expr leftDelimiterText, @Opt CompoundConstructor outerOp, @Opt Model.Expr separatorText, @Opt CompoundConstructor innerOp, @Opt Model.Expr rightDelimiterText, @Opt Model.Expr emptyRepresentation) Constructor defined according to directive »C 0/..«.
-
Method Summary
Modifier and TypeMethodDescriptiondoclone()Clones this object.get_code()Generated by umod; model author's documentation MISSING.static Pattern<Model.CodeAndFold> get_code(Pattern<? super @Opt 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.CodeAndFold> get_emptyRepresentation(Pattern<? super @Opt 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.CodeAndFold> get_innerOp(Pattern<? super @Opt CompoundConstructor> 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.CodeAndFold> get_leftDelimiterText(Pattern<? super @Opt 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.CodeAndFold> get_outerOp(Pattern<? super @Opt CompoundConstructor> 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.CodeAndFold> get_rightDelimiterText(Pattern<? super @Opt 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.CodeAndFold> get_separatorText(Pattern<? super @Opt 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.CodeAndFold> get_target(Pattern<? super Model.CustomExpression> 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_code(@Opt Model.Expr val) Generated by umod; model author's documentation MISSING.booleanGenerated by umod; model author's documentation MISSING.booleanGenerated by umod; model author's documentation MISSING.booleanGenerated by umod; model author's documentation MISSING.booleanGenerated by umod; model author's documentation MISSING.booleanGenerated by umod; model author's documentation MISSING.booleanGenerated by umod; model author's documentation MISSING.booleanGenerated 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
-
target
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":42.6-12, see this pretty print.)
The type of this field isModel.CustomExpression(nevernull)
It is set by every possible constructor.
- See Also:
-
code
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":43.6-10, see this pretty print.)
The type of this field isModel.Expr(maybenull)
Its value defaults tonull.
- See Also:
-
leftDelimiterText
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":44.6-23, see this pretty print.)
The type of this field isModel.Expr(maybenull)
Its value defaults tonull.
- See Also:
-
outerOp
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":45.6-13, see this pretty print.)
The type of this field isCompoundConstructor(maybenull)
Its value defaults tonull.
- See Also:
-
separatorText
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":46.6-19, see this pretty print.)
The type of this field isModel.Expr(maybenull)
Its value defaults tonull.
- See Also:
-
innerOp
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":47.6-13, see this pretty print.)
The type of this field isCompoundConstructor(maybenull)
Its value defaults tonull.
- See Also:
-
rightDelimiterText
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":48.6-24, see this pretty print.)
The type of this field isModel.Expr(maybenull)
Its value defaults tonull.
- See Also:
-
emptyRepresentation
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":49.6-25, see this pretty print.)
The type of this field isModel.Expr(maybenull)
Its value defaults tonull.
- See Also:
-
-
Constructor Details
-
CodeAndFold
public CodeAndFold(@Opt Location<String> location, Model.CustomExpression target, @Opt Model.Expr code, @Opt Model.Expr leftDelimiterText, @Opt CompoundConstructor outerOp, @Opt Model.Expr separatorText, @Opt CompoundConstructor innerOp, @Opt Model.Expr rightDelimiterText, @Opt Model.Expr emptyRepresentation) Constructor defined according to directive »C 0/..«.
- Parameters:
location- is copied to fieldModel.Expr.locationtarget- is copied to fieldtargetcode- is copied to fieldcodeleftDelimiterText- is copied to fieldleftDelimiterTextouterOp- is copied to fieldouterOpseparatorText- is copied to fieldseparatorTextinnerOp- is copied to fieldinnerOprightDelimiterText- is copied to fieldrightDelimiterTextemptyRepresentation- is copied to fieldemptyRepresentation
-
CodeAndFold
Constructor with minimal set of arguments, is supplied automatically by the umod compiler, not explicitly by the user.
- Parameters:
target- is copied to fieldtarget
-
-
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_target
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":42.6-12, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
Model.CustomExpression(nevernull) - See Also:
-
set_target
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":42.6-12, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeModel.CustomExpression(nevernull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_code
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":43.6-10, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
Model.Expr(maybenull) - See Also:
-
set_code
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":43.6-10, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeModel.Expr(maybenull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_leftDelimiterText
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":44.6-23, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
Model.Expr(maybenull) - See Also:
-
set_leftDelimiterText
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":44.6-23, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeModel.Expr(maybenull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_outerOp
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":45.6-13, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
CompoundConstructor(maybenull) - See Also:
-
set_outerOp
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":45.6-13, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeCompoundConstructor(maybenull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_separatorText
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":46.6-19, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
Model.Expr(maybenull) - See Also:
-
set_separatorText
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":46.6-19, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeModel.Expr(maybenull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_innerOp
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":47.6-13, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
CompoundConstructor(maybenull) - See Also:
-
set_innerOp
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":47.6-13, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeCompoundConstructor(maybenull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_rightDelimiterText
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":48.6-24, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
Model.Expr(maybenull) - See Also:
-
set_rightDelimiterText
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":48.6-24, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeModel.Expr(maybenull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_emptyRepresentation
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":49.6-25, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
Model.Expr(maybenull) - See Also:
-
set_emptyRepresentation
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":49.6-25, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeModel.Expr(maybenull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_target
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_code
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_leftDelimiterText
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_outerOp
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_separatorText
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_innerOp
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_rightDelimiterText
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_emptyRepresentation
public static Pattern<Model.CodeAndFold> get_emptyRepresentation(Pattern<? super @Opt 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 classModel.__Patterns.
-