Uses of Class
org.antlr.v4.tool.ast.RuleAST
-
Packages that use RuleAST Package Description org.antlr.v4.analysis org.antlr.v4.parse org.antlr.v4.semantics org.antlr.v4.tool org.antlr.v4.tool.ast -
-
Uses of RuleAST in org.antlr.v4.analysis
Methods in org.antlr.v4.analysis that return RuleAST Modifier and Type Method Description RuleAST
LeftRecursiveRuleTransformer. parseArtificialRule(Grammar g, String ruleText)
Methods in org.antlr.v4.analysis with parameters of type RuleAST Modifier and Type Method Description void
LeftRecursiveRuleTransformer. setAltASTPointers(LeftRecursiveRule r, RuleAST t)
(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}? '--')))))) -
Uses of RuleAST in org.antlr.v4.parse
Methods in org.antlr.v4.parse with parameters of type RuleAST Modifier and Type Method Description void
GrammarTreeVisitor. discoverLexerRule(RuleAST rule, GrammarAST ID, List<GrammarAST> modifiers, GrammarAST options, GrammarAST block)
void
GrammarTreeVisitor. discoverRule(RuleAST rule, GrammarAST ID, List<GrammarAST> modifiers, ActionAST arg, ActionAST returns, GrammarAST thrws, GrammarAST options, ActionAST locals, List<GrammarAST> actions, GrammarAST block)
void
GrammarTreeVisitor. finishLexerRule(RuleAST rule, GrammarAST ID, GrammarAST block)
void
GrammarTreeVisitor. finishRule(RuleAST rule, GrammarAST ID, GrammarAST block)
-
Uses of RuleAST in org.antlr.v4.semantics
Methods in org.antlr.v4.semantics with parameters of type RuleAST Modifier and Type Method Description void
BasicSemanticChecks. discoverLexerRule(RuleAST rule, GrammarAST ID, List<GrammarAST> modifiers, GrammarAST options, GrammarAST block)
void
RuleCollector. discoverLexerRule(RuleAST rule, GrammarAST ID, List<GrammarAST> modifiers, GrammarAST options, GrammarAST block)
void
SymbolCollector. discoverLexerRule(RuleAST rule, GrammarAST ID, List<GrammarAST> modifiers, GrammarAST options, GrammarAST block)
void
BasicSemanticChecks. discoverRule(RuleAST rule, GrammarAST ID, List<GrammarAST> modifiers, ActionAST arg, ActionAST returns, GrammarAST thrws, GrammarAST options, ActionAST locals, List<GrammarAST> actions, GrammarAST block)
void
RuleCollector. discoverRule(RuleAST rule, GrammarAST ID, List<GrammarAST> modifiers, ActionAST arg, ActionAST returns, GrammarAST thrws, GrammarAST options, ActionAST locals, List<GrammarAST> actions, GrammarAST block)
void
SymbolCollector. discoverRule(RuleAST rule, GrammarAST ID, List<GrammarAST> modifiers, ActionAST arg, ActionAST returns, GrammarAST thrws, GrammarAST options, ActionAST locals, List<GrammarAST> actions, GrammarAST block)
void
BasicSemanticChecks. finishRule(RuleAST rule, GrammarAST ID, GrammarAST block)
-
Uses of RuleAST in org.antlr.v4.tool
Fields in org.antlr.v4.tool declared as RuleAST Modifier and Type Field Description RuleAST
Rule. ast
RuleAST
LeftRecursiveRule. originalAST
Methods in org.antlr.v4.tool that return RuleAST Modifier and Type Method Description RuleAST
LeftRecursiveRule. getOriginalAST()
Constructors in org.antlr.v4.tool with parameters of type RuleAST Constructor Description LeftRecursiveRule(Grammar g, String name, RuleAST ast)
Rule(Grammar g, String name, RuleAST ast, int numberOfAlts)
Rule(Grammar g, String name, RuleAST ast, int numberOfAlts, String lexerMode, boolean caseInsensitive)
-
Uses of RuleAST in org.antlr.v4.tool.ast
Methods in org.antlr.v4.tool.ast that return RuleAST Modifier and Type Method Description RuleAST
RuleAST. dupNode()
Methods in org.antlr.v4.tool.ast with parameters of type RuleAST Modifier and Type Method Description Object
GrammarASTVisitor. visit(RuleAST node)
Constructors in org.antlr.v4.tool.ast with parameters of type RuleAST Constructor Description RuleAST(RuleAST node)
-