Package org.antlr.v4.codegen.model
Class OptionalBlock
-
public class OptionalBlock extends AltBlock
-
-
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
Constructors Constructor Description OptionalBlock(OutputModelFactory factory, GrammarAST questionAST, 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 Detail
-
OptionalBlock
public OptionalBlock(OutputModelFactory factory, GrammarAST questionAST, List<CodeBlockForAlt> alts)
-
-