Package eu.bandm.tools.tpath.absy
Class TPath.Paren
java.lang.Object
eu.bandm.tools.tpath.absy.TPath.Item
eu.bandm.tools.tpath.absy.TPath.Expr
eu.bandm.tools.tpath.absy.TPath.UnaryExpr
eu.bandm.tools.tpath.absy.TPath.Paren
- All Implemented Interfaces:
Formattable
,Cloneable
- 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":79.1-80.16, see this pretty print.)
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":79.1-80.16, see this pretty print.)
-
Field Summary
Fields inherited from class eu.bandm.tools.tpath.absy.TPath.UnaryExpr
arg, get_arg
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
ConstructorDescriptionParen
(TPath.Expr arg) Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". -
Method Summary
Methods inherited from class eu.bandm.tools.tpath.absy.TPath.UnaryExpr
get_arg, set_arg
Methods inherited from class eu.bandm.tools.tpath.absy.TPath.Expr
get_forced, get_forcing, set_forced, set_forcing
Methods inherited from class eu.bandm.tools.tpath.absy.TPath.Item
get_location, set_location
-
Constructor Details
-
Paren
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..".- Parameters:
arg
- is copied to fieldTPath.UnaryExpr.arg
-
-
Method Details
-
doclone
Clones this object. Method never fails, sinceCloneable
is known to be implemented.- Overrides:
doclone
in classTPath.UnaryExpr
- Returns:
- a fresh copy.
-
getFormatHint
Delivers the format specification from the umod source.
The constant return value is ..
'('arg')'
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 classTPath.UnaryExpr
- 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.UnaryExpr
-