antlr
Class AlternativeBlock
(package private) class AlternativeBlock
A list of alternatives
alternatives
protected Vector alternatives
analysisAlt
protected int analysisAlt
doAutoGen
protected boolean doAutoGen
generateAmbigWarnings
protected boolean generateAmbigWarnings
greedy
(package private) boolean greedy
greedySet
(package private) boolean greedySet
hasASynPred
protected boolean hasASynPred
hasAnAction
protected boolean hasAnAction
initAction
protected String initAction
label
protected String label
nblks
protected static int nblks
not
(package private) boolean not
warnWhenFollowAmbig
protected boolean warnWhenFollowAmbig
AlternativeBlock
public AlternativeBlock(Grammar g)
AlternativeBlock
public AlternativeBlock(Grammar g,
Token start,
boolean not)
addAlternative
public void addAlternative(Alternative alt)
getAlternativeAt
public Alternative getAlternativeAt(int i)
getAlternatives
public Vector getAlternatives()
getAutoGen
public boolean getAutoGen()
getInitAction
public String getInitAction()
prepareForAnalysis
public void prepareForAnalysis()
removeTrackingOfRuleRefs
public void removeTrackingOfRuleRefs(Grammar g)
Walk the syntactic predicate and, for a rule ref R, remove
the ref from the list of FOLLOW references for R (stored
in the symbol table.
setAlternatives
public void setAlternatives(Vector v)
setAutoGen
public void setAutoGen(boolean doAutoGen_)
setInitAction
public void setInitAction(String initAction_)
setOption
public void setOption(Token key,
Token value)