Package | Description |
---|---|
antlr | |
antlr.actions.cpp | |
antlr.actions.csharp | |
antlr.actions.java | |
antlr.actions.python | |
antlr.preprocessor |
Modifier and Type | Field and Description |
---|---|
protected Tool |
CodeGenerator.antlrTool |
(package private) Tool |
ANTLRParser.antlrTool |
protected Tool |
Grammar.antlrTool |
protected Tool |
SimpleTokenManager.antlrTool |
protected Tool |
LLkAnalyzer.tool |
protected Tool |
DefineGrammarSymbols.tool |
Modifier and Type | Method and Description |
---|---|
protected Tool |
ANTLRTokdefParser.getTool() |
Modifier and Type | Method and Description |
---|---|
void |
CodeGenerator.setTool(Tool tool) |
void |
JavaCodeGenerator.setTool(Tool tool) |
void |
ANTLRTokdefParser.setTool(Tool tool)
In order to make it so existing subclasses don't break, we won't require
that the antlr.Tool instance be passed as a constructor element.
|
PrintWriter |
DefaultJavaCodeGeneratorPrintWriterManager.setupOutput(Tool tool,
Grammar grammar) |
PrintWriter |
JavaCodeGeneratorPrintWriterManager.setupOutput(Tool tool,
Grammar grammar) |
PrintWriter |
DefaultJavaCodeGeneratorPrintWriterManager.setupOutput(Tool tool,
Grammar grammar,
String fileName) |
PrintWriter |
DefaultJavaCodeGeneratorPrintWriterManager.setupOutput(Tool tool,
String fileName) |
PrintWriter |
JavaCodeGeneratorPrintWriterManager.setupOutput(Tool tool,
String fileName) |
Constructor and Description |
---|
ANTLRParser(TokenBuffer tokenBuf,
ANTLRGrammarParseBehavior behavior_,
Tool tool_) |
DefaultToolErrorHandler(Tool tool) |
DefineGrammarSymbols(Tool tool_,
String[] args_,
LLkAnalyzer analyzer_) |
Grammar(String className_,
Tool tool_,
String superClass) |
ImportVocabTokenManager(Grammar grammar,
String filename_,
String name_,
Tool tool_) |
LexerGrammar(String className_,
Tool tool_,
String superClass) |
LLkAnalyzer(Tool tool_)
Create an LLk analyzer
|
MakeGrammar(Tool tool_,
String[] args_,
LLkAnalyzer analyzer_) |
ParserGrammar(String className_,
Tool tool_,
String superClass) |
SimpleTokenManager(String name_,
Tool tool_) |
TreeWalkerGrammar(String className_,
Tool tool_,
String superClass) |
Modifier and Type | Method and Description |
---|---|
void |
ActionLexer.setTool(Tool tool) |
Modifier and Type | Method and Description |
---|---|
void |
ActionLexer.setTool(Tool tool) |
Modifier and Type | Method and Description |
---|---|
void |
ActionLexer.setTool(Tool tool) |
Modifier and Type | Method and Description |
---|---|
void |
ActionLexer.setTool(Tool tool) |
Constructor and Description |
---|
CodeLexer(String s,
String fname,
int line,
Tool tool) |
Modifier and Type | Field and Description |
---|---|
protected Tool |
Grammar.antlrTool |
protected Tool |
Tool.antlrTool |
protected Tool |
Hierarchy.antlrTool |
protected Tool |
GrammarFile.tool |
Modifier and Type | Method and Description |
---|---|
protected Tool |
Preprocessor.getTool() |
Tool |
Hierarchy.getTool() |
Modifier and Type | Method and Description |
---|---|
void |
Preprocessor.setTool(Tool tool)
In order to make it so existing subclasses don't break, we won't require
that the antlr.Tool instance be passed as a constructor element.
|
void |
Hierarchy.setTool(Tool antlrTool) |
Constructor and Description |
---|
Grammar(Tool tool,
String name,
String superGrammar,
IndexedVector rules) |
GrammarFile(Tool tool,
String f) |
Hierarchy(Tool tool) |
Tool(Tool t,
String[] args) |