public class Plus extends GrUnary
Modifier and Type | Field and Description |
---|---|
protected static int |
BASE_HASH |
get_istight, get_on, istight, on
canProduceEpsilon, EMPTY, firsts, get_canProduceEpsilon, get_firsts, get_weakfirsts, NONE, PCDATA, weakfirsts
get_location, location
format
Constructor and Description |
---|
Plus(Expression on)
Synthetic minimal constructor provided by the umod compiler.
|
Plus(Location<XMLDocumentIdentifier> location,
Expression on)
Constructor generated according to specification #1
Constructor defined according to directive "C 1/..". |
Plus(Location<XMLDocumentIdentifier> location,
Expression on,
boolean istight)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
Modifier and Type | Method and Description |
---|---|
Plus |
doclone()
Clones this object.
|
boolean |
equals(Object e0)
Generated by umod because this class is
ALGEBRAIC . |
Format |
format()
Delivers a format object for pretty-printing, as specified in the umod source.
|
static String |
getFormatHint()
Delivers the format specification from the umod source.
|
int |
hashCode()
Generated by umod because this class is
ALGEBRAIC . |
Plus |
initFrom(Object o0)
Copies values of all common fields from the argument.
|
String |
toString() |
boolean |
x_equals(Plus e0) |
get_istight, get_on, with_istight, with_on
descend_firsts, descend_weakfirsts, get_canProduceEpsilon, get_firsts, get_weakfirsts, set_canProduceEpsilon, set_firsts, set_weakfirsts
get_location, set_location
public Plus(Location<XMLDocumentIdentifier> location, Expression on, boolean istight)
location
- is copied to field Expr0.location
on
- is copied to field GrUnary.on
istight
- is copied to field GrUnary.istight
public Plus(Location<XMLDocumentIdentifier> location, Expression on)
location
- is copied to field Expr0.location
on
- is copied to field GrUnary.on
public Plus(Expression on)
on
- is copied to field GrUnary.on
public Plus doclone()
Cloneable
is known to
be implemented.public static String getFormatHint()
$prior 100 (on$switch
istight{true:'~'}'+') ('('on')'$switch istight{true:'~'}'+')
public Format format()
format
in interface Formattable
format
in class GrUnary
public boolean equals(Object e0)
ALGEBRAIC
.public boolean x_equals(Plus e0)
public int hashCode()
ALGEBRAIC
.see also the complete user documentation .