antlr.preprocessor
public class Hierarchy extends Object
Field Summary | |
---|---|
protected Tool | antlrTool |
protected Hashtable | files |
protected Grammar | LexerRoot |
protected Grammar | ParserRoot |
protected Hashtable | symbols |
protected Grammar | TreeParserRoot |
Constructor Summary | |
---|---|
Hierarchy(Tool tool) |
Method Summary | |
---|---|
void | addGrammar(Grammar gr) |
void | addGrammarFile(GrammarFile gf) |
void | expandGrammarsInFile(String fileName) |
Grammar | findRoot(Grammar g) |
GrammarFile | getFile(String fileName) |
Grammar | getGrammar(String gr) |
Tool | getTool() |
static String | optionsToString(IndexedVector options) |
void | readGrammarFile(String file) |
void | setTool(Tool antlrTool) |
boolean | verifyThatHierarchyIsComplete() Return true if hierarchy is complete, false if not |