| Package | Description |
|---|---|
| antlr | |
| antlr.actions.cpp | |
| antlr.actions.csharp | |
| antlr.actions.java | |
| antlr.actions.python | |
| antlr.preprocessor |
| Modifier and Type | Field and Description |
|---|---|
(package private) Tool |
ANTLRParser.antlrTool |
protected Tool |
CodeGenerator.antlrTool |
protected Tool |
Grammar.antlrTool |
protected Tool |
SimpleTokenManager.antlrTool |
protected Tool |
DefineGrammarSymbols.tool |
protected Tool |
LLkAnalyzer.tool |
| Modifier and Type | Method and Description |
|---|---|
protected Tool |
ANTLRTokdefParser.getTool() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
void |
CodeGenerator.setTool(Tool tool) |
void |
JavaCodeGenerator.setTool(Tool tool) |
java.io.PrintWriter |
DefaultJavaCodeGeneratorPrintWriterManager.setupOutput(Tool tool,
Grammar grammar) |
java.io.PrintWriter |
JavaCodeGeneratorPrintWriterManager.setupOutput(Tool tool,
Grammar grammar) |
java.io.PrintWriter |
DefaultJavaCodeGeneratorPrintWriterManager.setupOutput(Tool tool,
Grammar grammar,
java.lang.String fileName) |
java.io.PrintWriter |
DefaultJavaCodeGeneratorPrintWriterManager.setupOutput(Tool tool,
java.lang.String fileName) |
java.io.PrintWriter |
JavaCodeGeneratorPrintWriterManager.setupOutput(Tool tool,
java.lang.String fileName) |
| Constructor and Description |
|---|
ANTLRParser(TokenBuffer tokenBuf,
ANTLRGrammarParseBehavior behavior_,
Tool tool_) |
DefaultToolErrorHandler(Tool tool) |
DefineGrammarSymbols(Tool tool_,
java.lang.String[] args_,
LLkAnalyzer analyzer_) |
Grammar(java.lang.String className_,
Tool tool_,
java.lang.String superClass) |
ImportVocabTokenManager(Grammar grammar,
java.lang.String filename_,
java.lang.String name_,
Tool tool_) |
LexerGrammar(java.lang.String className_,
Tool tool_,
java.lang.String superClass) |
LLkAnalyzer(Tool tool_)
Create an LLk analyzer
|
MakeGrammar(Tool tool_,
java.lang.String[] args_,
LLkAnalyzer analyzer_) |
ParserGrammar(java.lang.String className_,
Tool tool_,
java.lang.String superClass) |
SimpleTokenManager(java.lang.String name_,
Tool tool_) |
TreeWalkerGrammar(java.lang.String className_,
Tool tool_,
java.lang.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(java.lang.String s,
java.lang.String fname,
int line,
Tool tool) |
| Modifier and Type | Field and Description |
|---|---|
protected Tool |
Grammar.antlrTool |
protected Tool |
Hierarchy.antlrTool |
protected Tool |
Tool.antlrTool |
protected Tool |
GrammarFile.tool |
| Modifier and Type | Method and Description |
|---|---|
Tool |
Hierarchy.getTool() |
protected Tool |
Preprocessor.getTool() |
| Modifier and Type | Method and Description |
|---|---|
void |
Hierarchy.setTool(Tool antlrTool) |
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.
|
| Constructor and Description |
|---|
Grammar(Tool tool,
java.lang.String name,
java.lang.String superGrammar,
IndexedVector rules) |
GrammarFile(Tool tool,
java.lang.String f) |
Hierarchy(Tool tool) |
Tool(Tool t,
java.lang.String[] args) |