antlr

Class BlockWithImpliedExitPath

Known Direct Subclasses:
OneOrMoreBlock, ZeroOrMoreBlock

(package private) abstract class BlockWithImpliedExitPath
extends AlternativeBlock

Field Summary

protected Lookahead[]
exitCache
lookahead to bypass block; set by deterministic().
protected int
exitLookaheadDepth

Fields inherited from class antlr.AlternativeBlock

ID, alternatives, alti, altj, analysisAlt, doAutoGen, generateAmbigWarnings, greedy, greedySet, hasASynPred, hasAnAction, initAction, label, nblks, not, warnWhenFollowAmbig

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

BlockWithImpliedExitPath(Grammar g)
BlockWithImpliedExitPath(Grammar g, Token start)

Method Summary

Methods inherited from class antlr.AlternativeBlock

addAlternative, generate, getAlternativeAt, getAlternatives, getAutoGen, getInitAction, getLabel, look, prepareForAnalysis, removeTrackingOfRuleRefs, setAlternatives, setAutoGen, setInitAction, setLabel, setOption, toString

Methods inherited from class antlr.AlternativeElement

getAutoGenType, getLabel, setAutoGenType, setLabel

Methods inherited from class antlr.GrammarElement

generate, getColumn, getLine, look, toString

Field Details

exitCache

protected Lookahead[] exitCache
lookahead to bypass block; set by deterministic(). 1..k of Lookahead

exitLookaheadDepth

protected int exitLookaheadDepth

Constructor Details

BlockWithImpliedExitPath

public BlockWithImpliedExitPath(Grammar g)

BlockWithImpliedExitPath

public BlockWithImpliedExitPath(Grammar g,
                                Token start)