class CharRangeElement extends AlternativeElement
| Modifier and Type | Field and Description |
|---|---|
protected char |
begin |
protected String |
beginText |
protected char |
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 |
|---|
CharRangeElement(LexerGrammar 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 char begin
protected char end
protected String beginText
protected String endText
public CharRangeElement(LexerGrammar g, Token t1, Token t2, int autoGenType)
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