BaseListenerFile
public class ListenerFile extends OutputFile
Modifier and Type | Field | Description |
---|---|---|
String |
accessLevel |
|
String |
exportMacro |
|
String |
genPackage |
|
String |
grammarName |
|
Action |
header |
|
Map<String,String> |
listenerLabelRuleNames |
For listener contexts created for a labeled outer alternative, maps from
a listener context name to the name of the rule which defines the
context.
|
Set<String> |
listenerNames |
The names of all listener contexts.
|
Map<String,Action> |
namedActions |
|
String |
parserName |
ANTLRVersion, fileName, grammarFileName, InputSymbolType, TokenLabelType
ast, factory
Constructor | Description |
---|---|
ListenerFile(OutputModelFactory factory,
String fileName) |
public String genPackage
public String accessLevel
public String exportMacro
public String grammarName
public String parserName
public Map<String,String> listenerLabelRuleNames
public Action header
public ListenerFile(OutputModelFactory factory, String fileName)
Copyright © 1992–2019 ANTLR. All rights reserved.