antlr
Class ActionElement
java.lang.Object
|
+--antlr.GrammarElement
|
+--antlr.AlternativeElement
|
+--antlr.ActionElement
- class ActionElement
- extends AlternativeElement
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
actionText
protected java.lang.String actionText
isSemPred
protected boolean isSemPred
next
AlternativeElement next
autoGenType
protected int autoGenType
enclosingRuleName
protected java.lang.String enclosingRuleName
AUTO_GEN_NONE
public static final int AUTO_GEN_NONE
- See Also:
- Constant Field Values
AUTO_GEN_CARET
public static final int AUTO_GEN_CARET
- See Also:
- Constant Field Values
AUTO_GEN_BANG
public static final int AUTO_GEN_BANG
- See Also:
- Constant Field Values
grammar
protected Grammar grammar
line
protected int line
ActionElement
public ActionElement(Grammar g,
Token t)
generate
public void generate()
- Overrides:
generate
in class GrammarElement
look
public Lookahead look(int k)
- Overrides:
look
in class GrammarElement
toString
public java.lang.String toString()
- Specified by:
toString
in class GrammarElement
getAutoGenType
public int getAutoGenType()
getLabel
public java.lang.String getLabel()
setLabel
public void setLabel(java.lang.String label)
getLine
public int getLine()