antlr.preprocessor
public class GrammarFile extends Object
Field Summary | |
---|---|
protected boolean | expanded |
protected String | fileName |
protected IndexedVector | grammars |
protected String | headerAction |
protected IndexedVector | options |
protected Tool | tool |
Constructor Summary | |
---|---|
GrammarFile(Tool tool, String f) |
Method Summary | |
---|---|
void | addGrammar(Grammar g) |
void | addHeaderAction(String a) |
void | generateExpandedFile() |
IndexedVector | getGrammars() |
String | getName() |
String | nameForExpandedGrammarFile(String f) |
void | setExpanded(boolean exp) |
void | setOptions(IndexedVector o) |
String | toString() |