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

public Class CodeBlockForOuterMostAlt

extends CodeBlockForAlt
Class Inheritance
Imports
org.antlr.v4.codegen.OutputModelFactory, org.antlr.v4.tool.Alternative

The code associated with the outermost alternative of a rule. Sometimes we might want to treat them differently in the code generation.

Field Summary

Modifier and TypeField and Description
public Alternative
alt

The alternative.

public String
altLabel

The label for the alternative; or null if the alternative is not labeled.

Constructor Summary

AccessConstructor and Description
public

Field Detail

altback to summary
public Alternative alt

The alternative.

altLabelback to summary
public String altLabel

The label for the alternative; or null if the alternative is not labeled.

Constructor Detail

CodeBlockForOuterMostAltback to summary
public CodeBlockForOuterMostAlt(OutputModelFactory factory, Alternative alt)