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