antlr.preprocessor
Class Hierarchy
java.lang.Object
|
+--antlr.preprocessor.Hierarchy
- public class Hierarchy
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LexerRoot
protected static Grammar LexerRoot
ParserRoot
protected static Grammar ParserRoot
TreeParserRoot
protected static Grammar TreeParserRoot
symbols
protected java.util.Hashtable symbols
files
protected java.util.Hashtable files
Hierarchy
public Hierarchy()
addGrammar
public void addGrammar(Grammar gr)
addGrammarFile
public void addGrammarFile(GrammarFile gf)
expandGrammarsInFile
public void expandGrammarsInFile(java.lang.String fileName)
findRoot
public Grammar findRoot(Grammar g)
getFile
public GrammarFile getFile(java.lang.String fileName)
getGrammar
public Grammar getGrammar(java.lang.String gr)
optionsToString
public static java.lang.String optionsToString(IndexedVector options)
readGrammarFile
public void readGrammarFile(java.lang.String file)
throws java.io.FileNotFoundException
java.io.FileNotFoundException
verifyThatHierarchyIsComplete
public boolean verifyThatHierarchyIsComplete()
- Return true if hierarchy is complete, false if not