Uses of Class
org.antlr.v4.tool.ast.ActionAST
Packages that use ActionAST
Package
Description
-
Uses of ActionAST in org.antlr.v4.automata
Methods in org.antlr.v4.automata with parameters of type ActionASTModifier and TypeMethodDescriptionBuild what amounts to an epsilon transition with an action.Build what amounts to an epsilon transition with an action. -
Uses of ActionAST in org.antlr.v4.codegen
Fields in org.antlr.v4.codegen declared as ActionASTMethods in org.antlr.v4.codegen with parameters of type ActionASTModifier and TypeMethodDescriptionstatic List
<ActionChunk> ActionTranslator.translateAction
(OutputModelFactory factory, RuleFunction rf, org.antlr.runtime.Token tokenWithinAction, ActionAST node) static List
<ActionChunk> ActionTranslator.translateActionChunk
(OutputModelFactory factory, RuleFunction rf, String action, ActionAST node) Constructors in org.antlr.v4.codegen with parameters of type ActionAST -
Uses of ActionAST in org.antlr.v4.codegen.model
Methods in org.antlr.v4.codegen.model with parameters of type ActionASTModifier and TypeMethodDescriptionvoid
ElementFrequenciesVisitor.ruleRef
(GrammarAST ref, ActionAST arg) Method parameters in org.antlr.v4.codegen.model with type arguments of type ActionASTModifier and TypeMethodDescriptionOutputFile.buildNamedActions
(Grammar g, Predicate<ActionAST> filter) Constructors in org.antlr.v4.codegen.model with parameters of type ActionASTModifierConstructorDescriptionAction
(OutputModelFactory factory, ActionAST ast) ArgAction
(OutputModelFactory factory, ActionAST ast, String ctxType) ExceptionClause
(OutputModelFactory factory, ActionAST catchArg, ActionAST catchAction) SemPred
(OutputModelFactory factory, ActionAST ast) -
Uses of ActionAST in org.antlr.v4.parse
Methods in org.antlr.v4.parse with parameters of type ActionASTModifier and TypeMethodDescriptionScopeParser._parsePostfixDecl
(Attribute attr, String decl, ActionAST a, Grammar g) ScopeParser._parsePrefixDecl
(Attribute attr, String decl, ActionAST a, Grammar g) void
GrammarTreeVisitor.actionInAlt
(ActionAST action) 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.finallyAction
(ActionAST action) void
GrammarTreeVisitor.globalNamedAction
(GrammarAST scope, GrammarAST ID, ActionAST action) static AttributeDict
static Attribute
For decls like "String foo" or "char *foo32[]" compute the ID and type declarations.static AttributeDict
ScopeParser.parseTypedArgList
(ActionAST action, String s, Grammar g) Given an arg or retval scope definition list likevoid
GrammarTreeVisitor.ruleCatch
(GrammarAST arg, ActionAST action) void
GrammarTreeVisitor.ruleRef
(GrammarAST ref, ActionAST arg) -
Uses of ActionAST in org.antlr.v4.semantics
Fields in org.antlr.v4.semantics declared as ActionASTMethods in org.antlr.v4.semantics with parameters of type ActionASTModifier and TypeMethodDescriptionvoid
BasicSemanticChecks.actionInAlt
(ActionAST action) void
SymbolCollector.actionInAlt
(ActionAST action) static boolean
UseDefAnalyzer.actionIsContextDependent
(ActionAST actionAST) 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
SymbolCollector.finallyAction
(ActionAST action) void
SymbolCollector.globalNamedAction
(GrammarAST scope, GrammarAST ID, ActionAST action) void
SymbolCollector.ruleCatch
(GrammarAST arg, ActionAST action) void
BasicSemanticChecks.ruleRef
(GrammarAST ref, ActionAST arg) void
SymbolCollector.ruleRef
(GrammarAST ref, ActionAST arg) Constructors in org.antlr.v4.semantics with parameters of type ActionASTModifierConstructorDescriptionActionSniffer
(Grammar g, Rule r, Alternative alt, ActionAST node, org.antlr.runtime.Token actionToken) AttributeChecks
(Grammar g, Rule r, Alternative alt, ActionAST node, org.antlr.runtime.Token actionToken) -
Uses of ActionAST in org.antlr.v4.tool
Fields in org.antlr.v4.tool declared as ActionASTFields in org.antlr.v4.tool with type parameters of type ActionASTModifier and TypeFieldDescriptionAlternative.actions
Track all executable actions other than named actions like @init and catch/finally (not in an alt).Rule.actions
Track all executable actions other than named actions like @init and catch/finally (not in an alt).Grammar.lexerActions
Tracks all user lexer actions in all alternatives of all rules.Grammar.namedActions
Map a name to an action.Rule.namedActions
Map a name to an action for this rule like @init {...}.Methods in org.antlr.v4.tool with parameters of type ActionASTModifier and TypeMethodDescriptionvoid
Rule.defineActionInAlt
(int currentAlt, ActionAST actionAST) void
Rule.defineLexerAction
(ActionAST actionAST) Lexer actions are numbered across rules 0..n-1boolean
Alternative.resolvesToAttributeDict
(String x, ActionAST node) boolean
AttributeResolver.resolvesToAttributeDict
(String x, ActionAST node) boolean
Grammar.resolvesToAttributeDict
(String x, ActionAST node) boolean
Rule.resolvesToAttributeDict
(String x, ActionAST node) boolean
Alternative.resolvesToLabel
(String x, ActionAST node) boolean
AttributeResolver.resolvesToLabel
(String x, ActionAST node) boolean
Grammar.resolvesToLabel
(String x, ActionAST node) boolean
Rule.resolvesToLabel
(String x, ActionAST node) boolean
Alternative.resolvesToListLabel
(String x, ActionAST node) boolean
AttributeResolver.resolvesToListLabel
(String x, ActionAST node) boolean
Grammar.resolvesToListLabel
(String x, ActionAST node) boolean
Rule.resolvesToListLabel
(String x, ActionAST node) boolean
Alternative.resolvesToToken
(String x, ActionAST node) boolean
AttributeResolver.resolvesToToken
(String x, ActionAST node) boolean
Grammar.resolvesToToken
(String x, ActionAST node) boolean
Rule.resolvesToToken
(String x, ActionAST node) Alternative.resolveToAttribute
(String x, String y, ActionAST node) $x.y, x can be surrounding rule, token/rule/label ref.Alternative.resolveToAttribute
(String x, ActionAST node) $x Attribute: rule arguments, return values, predefined rule prop.AttributeResolver.resolveToAttribute
(String x, String y, ActionAST node) AttributeResolver.resolveToAttribute
(String x, ActionAST node) Grammar.resolveToAttribute
(String x, String y, ActionAST node) Grammar.resolveToAttribute
(String x, ActionAST node) Rule.resolveToAttribute
(String x, String y, ActionAST node) $x.y Attribute: x is surrounding rule, label ref (in any alts)Rule.resolveToAttribute
(String x, ActionAST node) $x Attribute: rule arguments, return values, predefined rule prop. -
Uses of ActionAST in org.antlr.v4.tool.ast
Subclasses of ActionAST in org.antlr.v4.tool.astMethods in org.antlr.v4.tool.ast that return ActionASTConstructors in org.antlr.v4.tool.ast with parameters of type ActionAST