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
Methods 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 TypeMethodDescriptionvoidElementFrequenciesVisitor.ruleRef(GrammarAST ref, ActionAST arg) 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) voidGrammarTreeVisitor.actionInAlt(ActionAST action) voidGrammarTreeVisitor.discoverRule(RuleAST rule, GrammarAST ID, List<GrammarAST> modifiers, ActionAST arg, ActionAST returns, GrammarAST thrws, GrammarAST options, ActionAST locals, List<GrammarAST> actions, GrammarAST block) voidGrammarTreeVisitor.finallyAction(ActionAST action) voidGrammarTreeVisitor.globalNamedAction(GrammarAST scope, GrammarAST ID, ActionAST action) static AttributeDictstatic AttributeFor decls like "String foo" or "char *foo32[]" compute the ID and type declarations.static AttributeDictScopeParser.parseTypedArgList(ActionAST action, String s, Grammar g) Given an arg or retval scope definition list likevoidGrammarTreeVisitor.ruleCatch(GrammarAST arg, ActionAST action) voidGrammarTreeVisitor.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 TypeMethodDescriptionvoidBasicSemanticChecks.actionInAlt(ActionAST action) voidSymbolCollector.actionInAlt(ActionAST action) static booleanUseDefAnalyzer.actionIsContextDependent(ActionAST actionAST) voidBasicSemanticChecks.discoverRule(RuleAST rule, GrammarAST ID, List<GrammarAST> modifiers, ActionAST arg, ActionAST returns, GrammarAST thrws, GrammarAST options, ActionAST locals, List<GrammarAST> actions, GrammarAST block) voidRuleCollector.discoverRule(RuleAST rule, GrammarAST ID, List<GrammarAST> modifiers, ActionAST arg, ActionAST returns, GrammarAST thrws, GrammarAST options, ActionAST locals, List<GrammarAST> actions, GrammarAST block) voidSymbolCollector.discoverRule(RuleAST rule, GrammarAST ID, List<GrammarAST> modifiers, ActionAST arg, ActionAST returns, GrammarAST thrws, GrammarAST options, ActionAST locals, List<GrammarAST> actions, GrammarAST block) voidSymbolCollector.finallyAction(ActionAST action) voidSymbolCollector.globalNamedAction(GrammarAST scope, GrammarAST ID, ActionAST action) voidSymbolCollector.ruleCatch(GrammarAST arg, ActionAST action) voidBasicSemanticChecks.ruleRef(GrammarAST ref, ActionAST arg) voidSymbolCollector.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.actionsTrack all executable actions other than named actions like @init and catch/finally (not in an alt).Rule.actionsTrack all executable actions other than named actions like @init and catch/finally (not in an alt).Grammar.lexerActionsTracks all user lexer actions in all alternatives of all rules.Grammar.namedActionsMap a name to an action.Rule.namedActionsMap a name to an action for this rule like @init {...}.Methods in org.antlr.v4.tool with parameters of type ActionASTModifier and TypeMethodDescriptionvoidRule.defineActionInAlt(int currentAlt, ActionAST actionAST) voidRule.defineLexerAction(ActionAST actionAST) Lexer actions are numbered across rules 0..n-1booleanAlternative.resolvesToAttributeDict(String x, ActionAST node) booleanAttributeResolver.resolvesToAttributeDict(String x, ActionAST node) booleanGrammar.resolvesToAttributeDict(String x, ActionAST node) booleanRule.resolvesToAttributeDict(String x, ActionAST node) booleanAlternative.resolvesToLabel(String x, ActionAST node) booleanAttributeResolver.resolvesToLabel(String x, ActionAST node) booleanGrammar.resolvesToLabel(String x, ActionAST node) booleanRule.resolvesToLabel(String x, ActionAST node) booleanAlternative.resolvesToListLabel(String x, ActionAST node) booleanAttributeResolver.resolvesToListLabel(String x, ActionAST node) booleanGrammar.resolvesToListLabel(String x, ActionAST node) booleanRule.resolvesToListLabel(String x, ActionAST node) booleanAlternative.resolvesToToken(String x, ActionAST node) booleanAttributeResolver.resolvesToToken(String x, ActionAST node) booleanGrammar.resolvesToToken(String x, ActionAST node) booleanRule.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