antlr

Class BlockEndElement

Known Direct Subclasses:
RuleEndElement

(package private) 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)
String
toString()

Methods inherited from class antlr.AlternativeElement

getAutoGenType, getLabel, setAutoGenType, setLabel

Methods inherited from class antlr.GrammarElement

generate, getColumn, getLine, look, toString

Field Details

block

protected AlternativeBlock block

lock

protected boolean[] lock

Constructor Details

BlockEndElement

public BlockEndElement(Grammar g)

Method Details

look

public Lookahead look(int k)
Overrides:
look in interface GrammarElement

toString

public String toString()
Overrides:
toString in interface GrammarElement