public static class DTM.Choice extends DTM.CP
Modifier and Type | Field and Description |
---|---|
protected CheckedList<DTM.CP> |
alts
Generated by umod; model author's documentation MISSING.
|
protected static int |
BASE_HASH |
static Function<DTM.Choice,CheckedList<DTM.CP>> |
get_alts
Deprecated.
Use new '::' method reference instead.
|
get_modifier, modifier
format
Constructor and Description |
---|
Choice(EBNFModifier modifier)
Constructor generated according to specification #0
Constructor defined according to directive "C 0/..". |
Modifier and Type | Method and Description |
---|---|
void |
descend_alts(DTM.MATCH_ONLY_00 visitor) |
DTM.Choice |
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.
|
CheckedList<DTM.CP> |
get_alts()
Generated by umod; model author's documentation MISSING.
|
static String |
getFormatHint()
Delivers the format specification from the umod source.
|
int |
hashCode()
Generated by umod because this class is
ALGEBRAIC . |
DTM.Choice |
initFrom(Object o0)
Copies values of all common fields from the argument.
|
DTM.Choice |
with_alts(CheckedList<DTM.CP> val)
Generated by umod; model author's documentation MISSING.
|
boolean |
x_equals(DTM.Choice e0) |
get_modifier, with_modifier
protected static final int BASE_HASH
protected CheckedList<DTM.CP> alts
CheckedList
<DTM.CP
(never
null)>(never null)@Deprecated public static final Function<DTM.Choice,CheckedList<DTM.CP>> get_alts
public Choice(EBNFModifier modifier)
modifier
- is copied to field DTM.CP.modifier
public DTM.Choice doclone()
Cloneable
is known
to be implemented.public static String getFormatHint()
alts['(', '|' ,')']
public Format format()
format
in interface Formattable
format
in class DTM.CP
public boolean equals(Object e0)
ALGEBRAIC
.public boolean x_equals(DTM.Choice e0)
public int hashCode()
ALGEBRAIC
.public DTM.Choice initFrom(Object o0)
public CheckedList<DTM.CP> get_alts()
CheckedList
<DTM.CP
(never
null)>(never null)public DTM.Choice with_alts(CheckedList<DTM.CP> val)
val
- the new value of type CheckedList
<DTM.CP
(never
null)>(never null)alts
public void descend_alts(DTM.MATCH_ONLY_00 visitor)
see also the complete user documentation .