Uses of Class
org.antlr.v4.tool.ast.ActionAST
-
Packages that use ActionAST Package Description org.antlr.v4.automata org.antlr.v4.codegen org.antlr.v4.codegen.model org.antlr.v4.parse org.antlr.v4.semantics org.antlr.v4.tool org.antlr.v4.tool.ast -
-
Uses of ActionAST in org.antlr.v4.automata
Methods in org.antlr.v4.automata with parameters of type ActionAST Modifier and Type Method Description ATNFactory.HandleATNFactory. action(ActionAST action)Build what amounts to an epsilon transition with an action.ATNFactory.HandleLexerATNFactory. action(ActionAST action)ATNFactory.HandleParserATNFactory. action(ActionAST 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 ActionAST Modifier and Type Method Description List<SrcOp>BlankOutputModelFactory. action(ActionAST ast)List<SrcOp>OutputModelController. action(ActionAST ast)List<SrcOp>OutputModelFactory. action(ActionAST ast)List<SrcOp>ParserFactory. action(ActionAST ast)List<SrcOp>BlankOutputModelFactory. sempred(ActionAST ast)List<SrcOp>OutputModelController. sempred(ActionAST ast)List<SrcOp>OutputModelFactory. sempred(ActionAST ast)List<SrcOp>ParserFactory. sempred(ActionAST ast)static 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 Constructor Description ActionTranslator(OutputModelFactory factory, ActionAST node) -
Uses of ActionAST in org.antlr.v4.codegen.model
Methods in org.antlr.v4.codegen.model with parameters of type ActionAST Modifier and Type Method Description voidElementFrequenciesVisitor. ruleRef(GrammarAST ref, ActionAST arg)Method parameters in org.antlr.v4.codegen.model with type arguments of type ActionAST Modifier and Type Method Description Map<String,Action>OutputFile. buildNamedActions(Grammar g, Predicate<ActionAST> filter)Constructors in org.antlr.v4.codegen.model with parameters of type ActionAST Constructor Description Action(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 ActionAST Modifier and Type Method Description static Pair<Integer,Integer>ScopeParser. _parsePostfixDecl(Attribute attr, String decl, ActionAST a, Grammar g)static Pair<Integer,Integer>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 AttributeDictScopeParser. parse(ActionAST action, String s, char separator, Grammar g)static AttributeScopeParser. parseAttributeDef(ActionAST action, Pair<String,Integer> decl, Grammar g)For 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 ActionAST Modifier and Type Field Description ActionASTActionSniffer. nodeActionASTAttributeChecks. nodeMethods in org.antlr.v4.semantics with parameters of type ActionAST Modifier and Type Method Description voidBasicSemanticChecks. 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 ActionAST Constructor Description ActionSniffer(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 ActionAST Modifier and Type Field Description ActionASTRule. finallyActionFields in org.antlr.v4.tool with type parameters of type ActionAST Modifier and Type Field Description List<ActionAST>Alternative. actionsTrack all executable actions other than named actions like @init and catch/finally (not in an alt).List<ActionAST>Rule. actionsTrack all executable actions other than named actions like @init and catch/finally (not in an alt).LinkedHashMap<ActionAST,Integer>Grammar. lexerActionsTracks all user lexer actions in all alternatives of all rules.Map<String,ActionAST>Grammar. namedActionsMap a name to an action.Map<String,ActionAST>Rule. namedActionsMap a name to an action for this rule like @init {...}.Methods in org.antlr.v4.tool with parameters of type ActionAST Modifier and Type Method Description voidRule. 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)AttributeAlternative. resolveToAttribute(String x, String y, ActionAST node)$x.y, x can be surrounding rule, token/rule/label ref.AttributeAlternative. resolveToAttribute(String x, ActionAST node)$x Attribute: rule arguments, return values, predefined rule prop.AttributeAttributeResolver. resolveToAttribute(String x, String y, ActionAST node)AttributeAttributeResolver. resolveToAttribute(String x, ActionAST node)AttributeGrammar. resolveToAttribute(String x, String y, ActionAST node)AttributeGrammar. resolveToAttribute(String x, ActionAST node)AttributeRule. resolveToAttribute(String x, String y, ActionAST node)$x.y Attribute: x is surrounding rule, label ref (in any alts)AttributeRule. 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.ast Modifier and Type Class Description classPredASTMethods in org.antlr.v4.tool.ast that return ActionAST Modifier and Type Method Description ActionASTActionAST. dupNode()ActionASTRuleAST. getLexerAction()Constructors in org.antlr.v4.tool.ast with parameters of type ActionAST Constructor Description ActionAST(ActionAST node)
-