antlr.preprocessor
Class Hierarchy

java.lang.Object
  extended byantlr.preprocessor.Hierarchy

public class Hierarchy
extends java.lang.Object


Constructor Summary
Hierarchy(Tool tool)
           
 
Method Summary
 void addGrammar(antlr.preprocessor.Grammar gr)
           
 void addGrammarFile(GrammarFile gf)
           
 void expandGrammarsInFile(java.lang.String fileName)
           
 antlr.preprocessor.Grammar findRoot(antlr.preprocessor.Grammar g)
           
 GrammarFile getFile(java.lang.String fileName)
           
 antlr.preprocessor.Grammar getGrammar(java.lang.String gr)
           
 Tool getTool()
           
static java.lang.String optionsToString(IndexedVector options)
           
 void readGrammarFile(java.lang.String file)
           
 void setTool(Tool antlrTool)
           
 boolean verifyThatHierarchyIsComplete()
          Return true if hierarchy is complete, false if not
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hierarchy

public Hierarchy(Tool tool)
Method Detail

addGrammar

public void addGrammar(antlr.preprocessor.Grammar gr)

addGrammarFile

public void addGrammarFile(GrammarFile gf)

expandGrammarsInFile

public void expandGrammarsInFile(java.lang.String fileName)

findRoot

public antlr.preprocessor.Grammar findRoot(antlr.preprocessor.Grammar g)

getFile

public GrammarFile getFile(java.lang.String fileName)

getGrammar

public antlr.preprocessor.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
Throws:
java.io.FileNotFoundException

verifyThatHierarchyIsComplete

public boolean verifyThatHierarchyIsComplete()
Return true if hierarchy is complete, false if not


getTool

public Tool getTool()

setTool

public void setTool(Tool antlrTool)