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, next
AUTO_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, setAutoGenType
getColumn, getLine
String label
protected int begin
protected int end
protected String beginText
protected String endText
public void generate()
generate
in class GrammarElement
public String getLabel()
getLabel
in class AlternativeElement
public Lookahead look(int k)
look
in class GrammarElement
public void setLabel(String label_)
setLabel
in class AlternativeElement
public String toString()
toString
in class GrammarElement