Package | Description |
---|---|
antlr.preprocessor |
Modifier and Type | Field and Description |
---|---|
protected Grammar |
Option.enclosingGrammar |
protected Grammar |
Rule.enclosingGrammar |
protected Grammar |
Hierarchy.LexerRoot |
protected Grammar |
Hierarchy.ParserRoot |
protected Grammar |
Hierarchy.TreeParserRoot |
Modifier and Type | Method and Description |
---|---|
Grammar |
Preprocessor.class_def(java.lang.String file,
Hierarchy hier) |
Grammar |
Hierarchy.findRoot(Grammar g) |
Grammar |
Option.getEnclosingGrammar() |
Grammar |
Hierarchy.getGrammar(java.lang.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(java.lang.String memberAction,
Grammar superG) |
IndexedVector |
Preprocessor.optionSpec(Grammar gr) |
void |
Preprocessor.rule(Grammar gr) |
void |
Option.setEnclosingGrammar(Grammar g) |
void |
Rule.setEnclosingGrammar(Grammar g) |
Constructor and Description |
---|
Option(java.lang.String n,
java.lang.String rhs,
Grammar gr) |
Rule(java.lang.String n,
java.lang.String b,
IndexedVector options,
Grammar gr) |