class TokenRangeElement extends AlternativeElement
| Modifier and Type | Field and Description |
|---|---|
protected int |
begin |
protected String |
beginText |
protected int |
end |
protected String |
endText |
(package private) String |
label |
autoGenType, enclosingRuleName, nextAUTO_GEN_BANG, AUTO_GEN_CARET, AUTO_GEN_NONE, column, grammar, line| Constructor and Description |
|---|
TokenRangeElement(Grammar g,
Token t1,
Token t2,
int autoGenType) |
| Modifier and Type | Method and Description |
|---|---|
void |
generate() |
String |
getLabel() |
Lookahead |
look(int k) |
void |
setLabel(String label_) |
String |
toString() |
getAutoGenType, setAutoGenTypegetColumn, getLineString label
protected int begin
protected int end
protected String beginText
protected String endText
public void generate()
generate in class GrammarElementpublic String getLabel()
getLabel in class AlternativeElementpublic Lookahead look(int k)
look in class GrammarElementpublic void setLabel(String label_)
setLabel in class AlternativeElementpublic String toString()
toString in class GrammarElement