antlr.preprocessor
Class Hierarchy

java.lang.Object
  |
  +--antlr.preprocessor.Hierarchy

public class Hierarchy
extends Object

Untamed:


Field Summary
protected  Hashtable files
           
protected static Grammar LexerRoot
           
protected static Grammar ParserRoot
           
protected  Hashtable symbols
           
protected static Grammar TreeParserRoot
           
 
Constructor Summary
Hierarchy()
          Enabled:
 
Method Summary
 void addGrammar(Grammar gr)
          Enabled:
 void addGrammarFile(GrammarFile gf)
          Enabled:
 void expandGrammarsInFile(String fileName)
          Enabled:
 Grammar findRoot(Grammar g)
          Enabled:
 GrammarFile getFile(String fileName)
          Enabled:
 Grammar getGrammar(String gr)
          Enabled:
static String optionsToString(IndexedVector options)
          Enabled:
 void readGrammarFile(String file)
          Enabled:
 boolean verifyThatHierarchyIsComplete()
          Enabled: Return true if hierarchy is complete, false if not
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LexerRoot

protected static Grammar LexerRoot

ParserRoot

protected static Grammar ParserRoot

TreeParserRoot

protected static Grammar TreeParserRoot

symbols

protected Hashtable symbols

files

protected Hashtable files
Constructor Detail

Hierarchy

public Hierarchy()
Enabled:

Method Detail

addGrammar

public void addGrammar(Grammar gr)
Enabled:


addGrammarFile

public void addGrammarFile(GrammarFile gf)
Enabled:


expandGrammarsInFile

public void expandGrammarsInFile(String fileName)
Enabled:


findRoot

public Grammar findRoot(Grammar g)
Enabled:


getFile

public GrammarFile getFile(String fileName)
Enabled:


getGrammar

public Grammar getGrammar(String gr)
Enabled:


optionsToString

public static String optionsToString(IndexedVector options)
Enabled:


readGrammarFile

public void readGrammarFile(String file)
                     throws FileNotFoundException
Enabled:

FileNotFoundException

verifyThatHierarchyIsComplete

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



comments?