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

public Class VisitorFile

extends OutputFile
Class Inheritance
Known Direct Subclasses
org.antlr.v4.codegen.model.BaseVisitorFile
Imports
org.antlr.v4.codegen.OutputModelFactory, org.antlr.v4.runtime.misc.Pair, org.antlr.v4.tool.Grammar, .Rule, org.antlr.v4.tool.ast.ActionAST, .AltAST, java.util.*

Field Summary

Modifier and TypeField and Description
public String
public String
public String
public String
public Action
public Map<String, Action>
public String
public Map<String, String>
visitorLabelRuleNames

For rule contexts created for a labeled outer alternative, maps from a listener context name to the name of the rule which defines the context.

public Set<String>
visitorNames

The names of all rule contexts which may need to be visited.

Inherited from org.antlr.v4.codegen.model.OutputFile:
ANTLRVersionfileNamegrammarFileNameInputSymbolTypeTokenLabelType

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from org.antlr.v4.codegen.model.OutputFile:
buildNamedActionsbuildNamedActions

Field Detail

accessLevelback to summary
public String accessLevel
exportMacroback to summary
public String exportMacro
genPackageback to summary
public String genPackage
grammarNameback to summary
public String grammarName
namedActionsback to summary
public Map<String, Action> namedActions
Annotations
@ModelElement
parserNameback to summary
public String parserName
visitorLabelRuleNamesback to summary
public Map<String, String> visitorLabelRuleNames

For rule contexts created for a labeled outer alternative, maps from a listener context name to the name of the rule which defines the context.

visitorNamesback to summary
public Set<String> visitorNames

The names of all rule contexts which may need to be visited.

Constructor Detail

VisitorFileback to summary
public VisitorFile(OutputModelFactory factory, String fileName)