antlr

Class RuleEndElement


(package private) class RuleEndElement
extends BlockEndElement

Contains a list of all places that reference this enclosing rule. Useful for FOLLOW computations.

Field Summary

protected Lookahead[]
cache
protected boolean
noFOLLOW

Fields inherited from class antlr.BlockEndElement

block, 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

RuleEndElement(Grammar g)

Method Summary

Lookahead
look(int k)
String
toString()

Methods inherited from class antlr.BlockEndElement

look, toString

Methods inherited from class antlr.AlternativeElement

getAutoGenType, getLabel, setAutoGenType, setLabel

Methods inherited from class antlr.GrammarElement

generate, getColumn, getLine, look, toString

Field Details

cache

protected Lookahead[] cache

noFOLLOW

protected boolean noFOLLOW

Constructor Details

RuleEndElement

public RuleEndElement(Grammar g)

Method Details

look

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

toString

public String toString()
Overrides:
toString in interface BlockEndElement