antlr
Class RuleEndElement
java.lang.Object
|
+--antlr.GrammarElement
|
+--antlr.AlternativeElement
|
+--antlr.BlockEndElement
|
+--antlr.RuleEndElement
- class RuleEndElement
- extends BlockEndElement
Contains a list of all places that reference
this enclosing rule. Useful for FOLLOW computations.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
cache
protected Lookahead[] cache
noFOLLOW
protected boolean noFOLLOW
lock
protected boolean[] lock
block
protected AlternativeBlock block
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
RuleEndElement
public RuleEndElement(Grammar g)
look
public Lookahead look(int k)
- Overrides:
look
in class BlockEndElement
toString
public java.lang.String toString()
- Overrides:
toString
in class BlockEndElement
getAutoGenType
public int getAutoGenType()
getLabel
public java.lang.String getLabel()
setLabel
public void setLabel(java.lang.String label)
generate
public void generate()
getLine
public int getLine()