Package eu.bandm.tools.tpath.absy
Class TPath.UnaryExpr
java.lang.Object
eu.bandm.tools.tpath.absy.TPath.Item
eu.bandm.tools.tpath.absy.TPath.Expr
eu.bandm.tools.tpath.absy.TPath.UnaryExpr
- All Implemented Interfaces:
Formattable
,Cloneable
- Direct Known Subclasses:
TPath.Neg
,TPath.Paren
- Enclosing class:
- TPath
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":76.1-77.59, see this pretty print.)
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":76.1-77.59, see this pretty print.)
-
Field Summary
Modifier and TypeFieldDescriptionprotected TPath.Expr
Generated by umod; model author's documentation MISSING.static final Function<TPath.UnaryExpr,
TPath.Expr> Deprecated.Use new '::' method reference instead.Fields inherited from class eu.bandm.tools.tpath.absy.TPath.Expr
forced, forcing, get_forced, get_forcing
Fields inherited from class eu.bandm.tools.tpath.absy.TPath.Item
get_location, location
-
Constructor Summary
ConstructorDescriptionUnaryExpr
(Location<XMLDocumentIdentifier> location, TPath.Expr arg) Constructor generated according to specification #1
Constructor defined according to directive "C 1/..".UnaryExpr
(TPath.Expr arg) Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". -
Method Summary
Modifier and TypeMethodDescriptiondoclone()
Clones this object.format()
Delivers a format object for pretty-printing by inheritance from some ancestor class.get_arg()
Generated by umod; model author's documentation MISSING.static Pattern<TPath.UnaryExpr>
get_arg
(Pattern<? super TPath.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.boolean
set_arg
(TPath.Expr val) Generated by umod; model author's documentation MISSING.Methods inherited from class eu.bandm.tools.tpath.absy.TPath.Expr
get_forced, get_forced, get_forcing, get_forcing, set_forced, set_forcing
Methods inherited from class eu.bandm.tools.tpath.absy.TPath.Item
get_location, get_location, set_location
-
Field Details
-
arg
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":77.9-59, see this pretty print.)
The type of this field isTPath.Expr
(never null)
It is set by every possible constructor. -
get_arg
Deprecated.Use new '::' method reference instead.
-
-
Constructor Details
-
UnaryExpr
Constructor generated according to specification #1
Constructor defined according to directive "C 1/..".- Parameters:
location
- is copied to fieldTPath.Item.location
arg
- is copied to fieldarg
-
UnaryExpr
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..".- Parameters:
arg
- is copied to fieldarg
-
-
Method Details
-
doclone
Clones this object. Method never fails, sinceCloneable
is known to be implemented.- Overrides:
doclone
in classTPath.Expr
- Returns:
- a fresh copy.
-
format
Delivers a format object for pretty-printing by inheritance from some ancestor class.- Specified by:
format
in interfaceFormattable
- Overrides:
format
in classTPath.Expr
- 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 classTPath.Expr
-
get_arg
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":77.9-59, see this pretty print.)
Generated getter method.- Returns:
- The current field value of type
TPath.Expr
(never null) - See Also:
-
set_arg
Generated by umod; model author's documentation MISSING.
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":77.9-59, see this pretty print.)
Updates the (mutable) instance destructively.- Parameters:
val
- the new value of typeTPath.Expr
(never null)- Returns:
- whether a change (w.r.t. ==) did actually happen.
- See Also:
-
get_arg
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 classTPath.__Patterns
.
-