abstract class AlternativeElement extends GrammarElement
Modifier and Type | Field and Description |
---|---|
protected int |
autoGenType |
protected String |
enclosingRuleName |
(package private) AlternativeElement |
next |
AUTO_GEN_BANG, AUTO_GEN_CARET, AUTO_GEN_NONE, column, grammar, line
Constructor and Description |
---|
AlternativeElement(Grammar g) |
AlternativeElement(Grammar g,
Token start) |
AlternativeElement(Grammar g,
Token start,
int autoGenType_) |
Modifier and Type | Method and Description |
---|---|
int |
getAutoGenType() |
String |
getLabel() |
void |
setAutoGenType(int a) |
void |
setLabel(String label) |
AlternativeElement next
protected int autoGenType
protected String enclosingRuleName
public AlternativeElement(Grammar g)