Package antlr
Class BlockEndElement
- java.lang.Object
-
- antlr.GrammarElement
-
- antlr.AlternativeElement
-
- antlr.BlockEndElement
-
- Direct Known Subclasses:
RuleEndElement
class BlockEndElement extends AlternativeElement
All alternative blocks are "terminated" by BlockEndElements unless they are rule blocks (in which case they use RuleEndElement).
-
-
Field Summary
Fields Modifier and Type Field Description protected AlternativeBlock
block
protected boolean[]
lock
-
Fields inherited from class antlr.AlternativeElement
autoGenType, enclosingRuleName, next
-
Fields inherited from class antlr.GrammarElement
AUTO_GEN_BANG, AUTO_GEN_CARET, AUTO_GEN_NONE, column, grammar, line
-
-
Constructor Summary
Constructors Constructor Description BlockEndElement(Grammar g)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Lookahead
look(int k)
java.lang.String
toString()
-
Methods inherited from class antlr.AlternativeElement
getAutoGenType, getLabel, setAutoGenType, setLabel
-
Methods inherited from class antlr.GrammarElement
generate, getColumn, getLine
-
-
-
-
Field Detail
-
lock
protected boolean[] lock
-
block
protected AlternativeBlock block
-
-
Constructor Detail
-
BlockEndElement
public BlockEndElement(Grammar g)
-
-
Method Detail
-
look
public Lookahead look(int k)
- Overrides:
look
in classGrammarElement
-
toString
public java.lang.String toString()
- Specified by:
toString
in classGrammarElement
-
-