Package antlr
Class Alternative
java.lang.Object
antlr.Alternative
Intermediate data class holds information about an alternative
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Lookahead[]protected ExceptionSpec(package private) AlternativeElementprotected intprotected Stringprotected SynPredBlock(package private) AlternativeElementprotected Token -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanatStart()booleanvoidsetAutoGen(boolean doAutoGen_)
-
Field Details
-
head
AlternativeElement head -
tail
AlternativeElement tail -
synPred
-
semPred
-
exceptionSpec
-
cache
-
lookaheadDepth
protected int lookaheadDepth -
treeSpecifier
-
-
Constructor Details
-
Alternative
public Alternative() -
Alternative
-
-
Method Details
-
addElement
-
atStart
public boolean atStart() -
getAutoGen
public boolean getAutoGen() -
getTreeSpecifier
-
setAutoGen
public void setAutoGen(boolean doAutoGen_)
-