Public Member Functions | |
Tool (antlr.Tool t, String[] args) | |
boolean | preprocess () |
String[] | preprocessedArgList () |
Static Public Member Functions | |
static void | main (String[] args) |
Protected Attributes | |
Hierarchy | theHierarchy |
String | grammarFileName |
String[] | args |
int | nargs |
Vector | grammars |
antlr.Tool | antlrTool |
Tester for the preprocessor
antlr.preprocessor.Tool.Tool | ( | antlr.Tool | t, | |
String[] | args | |||
) |
References antlr.preprocessor.Tool.antlrTool.
Referenced by antlr.preprocessor.Tool.main().
static void antlr.preprocessor.Tool.main | ( | String[] | args | ) | [static] |
boolean antlr.preprocessor.Tool.preprocess | ( | ) |
References antlr.preprocessor.Tool.antlrTool, antlr.preprocessor.Tool.args, antlr.collections.impl.Vector.elements(), antlr.preprocessor.Hierarchy.expandGrammarsInFile(), antlr.preprocessor.GrammarFile.generateExpandedFile(), antlr.preprocessor.Hierarchy.getFile(), antlr.preprocessor.Tool.grammarFileName, antlr.preprocessor.Tool.grammars, antlr.preprocessor.GrammarFile.nameForExpandedGrammarFile(), antlr.preprocessor.Tool.nargs, antlr.preprocessor.Hierarchy.readGrammarFile(), antlr.preprocessor.Tool.theHierarchy, and antlr.preprocessor.Hierarchy.verifyThatHierarchyIsComplete().
Referenced by antlr.preprocessor.Tool.main().
String [] antlr.preprocessor.Tool.preprocessedArgList | ( | ) |
create new arg list with correct length to pass to ANTLR
References antlr.preprocessor.Tool.args, and antlr.preprocessor.Tool.nargs.
Referenced by antlr.preprocessor.Tool.main().
antlr.Tool antlr.preprocessor.Tool.antlrTool [protected] |
String [] antlr.preprocessor.Tool.args [protected] |
Referenced by antlr.preprocessor.Tool.preprocess(), and antlr.preprocessor.Tool.preprocessedArgList().
String antlr.preprocessor.Tool.grammarFileName [protected] |
Referenced by antlr.preprocessor.Tool.preprocess().
Vector antlr.preprocessor.Tool.grammars [protected] |
Referenced by antlr.preprocessor.Tool.preprocess().
int antlr.preprocessor.Tool.nargs [protected] |
Referenced by antlr.preprocessor.Tool.preprocess(), and antlr.preprocessor.Tool.preprocessedArgList().
Hierarchy antlr.preprocessor.Tool.theHierarchy [protected] |
Referenced by antlr.preprocessor.Tool.preprocess().