class RuleRefElement extends AlternativeElement
Modifier and Type | Field and Description |
---|---|
protected String |
args |
protected String |
idAssign |
protected String |
label |
protected String |
targetRule |
autoGenType, enclosingRuleName, next
AUTO_GEN_BANG, AUTO_GEN_CARET, AUTO_GEN_NONE, column, grammar, line
Constructor and Description |
---|
RuleRefElement(Grammar g,
Token t,
int autoGenType_) |
Modifier and Type | Method and Description |
---|---|
void |
generate() |
String |
getArgs() |
String |
getIdAssign() |
String |
getLabel() |
Lookahead |
look(int k) |
void |
setArgs(String a) |
void |
setIdAssign(String id) |
void |
setLabel(String label_) |
String |
toString() |
getAutoGenType, setAutoGenType
getColumn, getLine
protected String targetRule
protected String args
protected String idAssign
protected String label
public void generate()
generate
in class GrammarElement
public String getArgs()
public String getIdAssign()
public String getLabel()
getLabel
in class AlternativeElement
public Lookahead look(int k)
look
in class GrammarElement
public void setArgs(String a)
public void setIdAssign(String id)
public void setLabel(String label_)
setLabel
in class AlternativeElement
public String toString()
toString
in class GrammarElement