antlr.preprocessor
Class GrammarFile

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

public class GrammarFile
extends Object

Untamed:


Field Summary
protected  boolean expanded
           
protected  String fileName
           
protected  IndexedVector grammars
           
protected  String headerAction
           
protected  IndexedVector options
           
 
Constructor Summary
GrammarFile(String f)
          Enabled:
 
Method Summary
 void addGrammar(Grammar g)
          Enabled:
 void addHeaderAction(String a)
          Enabled:
 void generateExpandedFile()
          Enabled:
 IndexedVector getGrammars()
          Enabled:
 String getName()
          Enabled:
 String nameForExpandedGrammarFile(String f)
          Enabled:
 void setExpanded(boolean exp)
          Enabled:
 void setOptions(IndexedVector o)
          Enabled:
 String toString()
          Suppressed:
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fileName

protected String fileName

headerAction

protected String headerAction

options

protected IndexedVector options

grammars

protected IndexedVector grammars

expanded

protected boolean expanded
Constructor Detail

GrammarFile

public GrammarFile(String f)
Enabled:

Method Detail

addGrammar

public void addGrammar(Grammar g)
Enabled:


generateExpandedFile

public void generateExpandedFile()
                          throws IOException
Enabled:

IOException

getGrammars

public IndexedVector getGrammars()
Enabled:


getName

public String getName()
Enabled:


nameForExpandedGrammarFile

public String nameForExpandedGrammarFile(String f)
Enabled:


setExpanded

public void setExpanded(boolean exp)
Enabled:


addHeaderAction

public void addHeaderAction(String a)
Enabled:


setOptions

public void setOptions(IndexedVector o)
Enabled:


toString

public String toString()
Suppressed:

Overrides:
toString in class Object
Returns:
a string representation of the object.


comments?