Package eu.bandm.tools.formattext
Class Model.Expr
java.lang.Object
eu.bandm.tools.formattext.Model.Expr
- All Implemented Interfaces:
Cloneable
- Direct Known Subclasses:
Model.Alternative,Model.CodeAndFold,Model.CustomExpression,Model.Empty,Model.Indentation,Model.List,Model.Literal,Model.ModeAsSelector,Model.NumericCaseLabel,Model.Prior,Model.Switch,Model.Text,Model.Throw,Model.Whitespace
- Enclosing class:
Model
@Generated(generator="eu.bandm.tools.umod",
version="",
timestamp="2026-08-09_10h01m04")
public static class Model.Expr
extends Object
implements Cloneable
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":14.2-6, 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":14.2-6, see this pretty print.)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoclone()Clones this object.Generated by umod; model author's documentation MISSING.static Pattern<Model.Expr> get_location(Pattern<? super @Opt Location<String>> 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_location(@Opt Location<String> val) Generated by umod; model author's documentation MISSING.
-
Field Details
-
location
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":15.4-12, see this pretty print.)
The type of this field isLocation(maybenull)
Its value defaults tonull.
- See Also:
-
-
Constructor Details
-
Expr
Constructor defined according to directive »C 0/..«.
- Parameters:
location- is copied to fieldlocation
-
Expr
public Expr()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
- 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. -
get_location
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":15.4-12, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
Location(maybenull) - See Also:
-
set_location
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":15.4-12, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val- the new value of typeLocation(maybenull)- Returns:
- whether a change (w.r.t.
==) did actually happen. - See Also:
-
get_location
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.
-