| Package | Description |
|---|---|
| org.antlr.v4.analysis | |
| org.antlr.v4.parse | |
| org.antlr.v4.semantics | |
| org.antlr.v4.tool | |
| org.antlr.v4.tool.ast |
| Modifier and Type | Method and Description |
|---|---|
RuleAST |
LeftRecursiveRuleTransformer.parseArtificialRule(Grammar
|
| Modifier and Type | Method and Description |
|---|---|
void |
LeftRecursiveRuleTransformer.setAltASTPointers(LeftRecursiveRule
(RULE e int _p (returns int v) (BLOCK (ALT (BLOCK (ALT INT {$v = $INT.int;}) (ALT '(' (= x e) ')' {$v = $x.v;}) (ALT ID)) (* (BLOCK (OPTIONS ...) (ALT {7 >= $_p}? '*' (= b e) {$v = $a.v * $b.v;}) (ALT {6 >= $_p}? '+' (= b e) {$v = $a.v + $b.v;}) (ALT {3 >= $_p}? '++') (ALT {2 >= $_p}? '--'))))))
|
| Modifier and Type | Method and Description |
|---|---|
void |
GrammarTreeVisitor.discoverLexerRule(RuleAST
|
void |
GrammarTreeVisitor.discoverRule(RuleAST
|
void |
GrammarTreeVisitor.finishLexerRule(RuleAST
|
void |
GrammarTreeVisitor.finishRule(RuleAST
|
| Modifier and Type | Method and Description |
|---|---|
void |
RuleCollector.discoverLexerRule(RuleAST
|
void |
BasicSemanticChecks.discoverLexerRule(RuleAST
|
void |
SymbolCollector.discoverLexerRule(RuleAST
|
void |
RuleCollector.discoverRule(RuleAST
|
void |
BasicSemanticChecks.discoverRule(RuleAST
|
void |
SymbolCollector.discoverRule(RuleAST
|
void |
BasicSemanticChecks.finishRule(RuleAST
|
| Modifier and Type | Field and Description |
|---|---|
RuleAST |
Rule.ast
|
RuleAST |
LeftRecursiveRule.originalAST
|
| Modifier and Type | Method and Description |
|---|---|
RuleAST |
LeftRecursiveRule.getOriginalAST()
|
| Constructor and Description | |
|---|---|
LeftRecursiveRule(Grammar
|
|
Rule(Grammar
|
| Modifier and Type | Method and Description |
|---|---|
RuleAST |
RuleAST.dupNode()
|
| Modifier and Type | Method and Description |
|---|---|
Object |
GrammarASTVisitor.visit(RuleAST
|
| Constructor and Description | |
|---|---|
RuleAST(RuleAST
|