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 RuleElement
stateNumberFields inherited from class SrcOp
enclosingBlock, enclosingRuleRunction, uniqueIDFields inherited from class OutputModelObject
ast, factory -
Constructor Summary
ConstructorsConstructorDescriptionLL1OptionalBlock(OutputModelFactory factory, GrammarAST blkAST, List<CodeBlockForAlt> alts) -
Method Summary
Methods inherited from class Choice
addCodeForLookaheadTempVar, addPreambleOp, getAltLookaheadAsStringLists, getThrowNoViableAltMethods inherited from class SrcOp
getContextName, getOuterMostAltCodeBlock
-
Constructor Details
-
LL1OptionalBlock
-