Top Description Constructors
org.antlr.v4.codegen.model

public Class LL1OptionalBlock

extends LL1AltBlock
Class Inheritance
Imports
org.antlr.v4.codegen.OutputModelFactory, org.antlr.v4.tool.ast.GrammarAST, java.util.List

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)?

Constructor Summary

AccessConstructor and Description
public

Constructor Detail

LL1OptionalBlockback to summary
public LL1OptionalBlock(OutputModelFactory factory, GrammarAST blkAST, List<CodeBlockForAlt> alts)