Package eu.bandm.tools.tpath.absy
Class TPath.Plus
java.lang.Object
eu.bandm.tools.tpath.absy.TPath.Item
eu.bandm.tools.tpath.absy.TPath.Expr
eu.bandm.tools.tpath.absy.TPath.BinaryExpr
eu.bandm.tools.tpath.absy.TPath.NumericExpr
eu.bandm.tools.tpath.absy.TPath.Plus
- 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":67.1-68.16, see this pretty print.)
(This definition has been created by UMod from the source at SYSTEM "TPath.umod":67.1-68.16, see this pretty print.)
-
Field Summary
Fields inherited from class eu.bandm.tools.tpath.absy.TPath.BinaryExpr
get_left, get_right, left, right
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
ConstructorDescriptionPlus
(TPath.Expr left, TPath.Expr right) 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.BinaryExpr
get_left, get_right, set_left, set_right
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
-
Plus
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..".- Parameters:
left
- is copied to fieldTPath.BinaryExpr.left
right
- is copied to fieldTPath.BinaryExpr.right
-
-
Method Details
-
doclone
Clones this object. Method never fails, sinceCloneable
is known to be implemented.- Overrides:
doclone
in classTPath.NumericExpr
- Returns:
- a fresh copy.
-
getFormatHint
Delivers the format specification from the umod source.
The constant return value is ..
left, '+' |right
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.NumericExpr
- 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.NumericExpr
-