antlr

Class ZeroOrMoreBlock


(package private) class ZeroOrMoreBlock
extends BlockWithImpliedExitPath

Field Summary

Fields inherited from class antlr.BlockWithImpliedExitPath

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

ZeroOrMoreBlock(Grammar g)
ZeroOrMoreBlock(Grammar g, Token start)

Method Summary

void
generate()
Lookahead
look(int k)
String
toString()

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

Constructor Details

ZeroOrMoreBlock

public ZeroOrMoreBlock(Grammar g)

ZeroOrMoreBlock

public ZeroOrMoreBlock(Grammar g,
                       Token start)

Method Details

generate

public void generate()
Overrides:
generate in interface AlternativeBlock

look

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

toString

public String toString()
Overrides:
toString in interface AlternativeBlock