Package org.antlr.v4.codegen.model
Class LL1OptionalBlock
An optional block is just an alternative block where the last alternative
is epsilon. The analysis takes care of adding to the empty alternative.
(A | B | C)?
-
Field Summary
Fields inherited from class org.antlr.v4.codegen.model.RuleElement
stateNumber
Fields inherited from class org.antlr.v4.codegen.model.SrcOp
enclosingBlock, enclosingRuleRunction, uniqueID
Fields inherited from class org.antlr.v4.codegen.model.OutputModelObject
ast, factory
-
Constructor Summary
ConstructorsConstructorDescriptionLL1OptionalBlock
(OutputModelFactory factory, GrammarAST blkAST, List<CodeBlockForAlt> alts) -
Method Summary
Methods inherited from class org.antlr.v4.codegen.model.Choice
addCodeForLookaheadTempVar, addPreambleOp, getAltLookaheadAsStringLists, getThrowNoViableAlt
Methods inherited from class org.antlr.v4.codegen.model.SrcOp
getContextName, getOuterMostAltCodeBlock
-
Constructor Details
-
LL1OptionalBlock
-