antlr
Class BlockEndElement

java.lang.Object
  extended by antlr.GrammarElement
      extended by antlr.AlternativeElement
          extended by 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
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
BlockEndElement(Grammar g)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 class GrammarElement

toString

public java.lang.String toString()
Specified by:
toString in class GrammarElement