Package | Description |
---|---|
antlr.preprocessor |
Modifier and Type | Field and Description |
---|---|
protected Grammar |
Rule.enclosingGrammar |
protected Grammar |
Option.enclosingGrammar |
protected Grammar |
Hierarchy.LexerRoot |
protected Grammar |
Hierarchy.ParserRoot |
protected Grammar |
Hierarchy.TreeParserRoot |
Modifier and Type | Method and Description |
---|---|
Grammar |
Preprocessor.class_def(String file,
Hierarchy hier) |
Grammar |
Hierarchy.findRoot(Grammar g) |
Grammar |
Option.getEnclosingGrammar() |
Grammar |
Hierarchy.getGrammar(String gr) |
Grammar |
Grammar.getSuperGrammar() |
Modifier and Type | Method and Description |
---|---|
void |
GrammarFile.addGrammar(Grammar g) |
void |
Hierarchy.addGrammar(Grammar gr) |
Grammar |
Hierarchy.findRoot(Grammar g) |
void |
Grammar.inherit(Option o,
Grammar superG) |
void |
Grammar.inherit(Rule r,
Grammar superG) |
void |
Grammar.inherit(String memberAction,
Grammar superG) |
IndexedVector |
Preprocessor.optionSpec(Grammar gr) |
void |
Preprocessor.rule(Grammar gr) |
void |
Rule.setEnclosingGrammar(Grammar g) |
void |
Option.setEnclosingGrammar(Grammar g) |
Constructor and Description |
---|
Option(String n,
String rhs,
Grammar gr) |
Rule(String n,
String b,
IndexedVector options,
Grammar gr) |