Uses of Class
org.antlr.v4.tool.ast.GrammarRootAST
Packages that use GrammarRootAST
Package
Description
-
Uses of GrammarRootAST in org.antlr.v4
Methods in org.antlr.v4 that return GrammarRootASTModifier and TypeMethodDescriptionTool.parseGrammar
(String fileName) Tool.parseGrammarFromString
(String grammar) Methods in org.antlr.v4 that return types with arguments of type GrammarRootASTMethods in org.antlr.v4 with parameters of type GrammarRootASTModifier and TypeMethodDescriptionTool.createGrammar
(GrammarRootAST ast) Given the raw AST of a grammar, create a grammar object associated with the AST.static GrammarAST
Tool.findOptionValueAST
(GrammarRootAST root, String option) Manually get option node from tree; return null if no defined. -
Uses of GrammarRootAST in org.antlr.v4.analysis
Fields in org.antlr.v4.analysis declared as GrammarRootASTMethods in org.antlr.v4.analysis with parameters of type GrammarRootASTModifier and TypeMethodDescriptionboolean
LeftRecursiveRuleTransformer.translateLeftRecursiveRule
(GrammarRootAST ast, LeftRecursiveRule r, String language) Return true if successfulConstructors in org.antlr.v4.analysis with parameters of type GrammarRootASTModifierConstructorDescriptionLeftRecursiveRuleTransformer
(GrammarRootAST ast, Collection<Rule> rules, Grammar g) -
Uses of GrammarRootAST in org.antlr.v4.parse
Methods in org.antlr.v4.parse with parameters of type GrammarRootASTModifier and TypeMethodDescriptionvoid
GrammarTreeVisitor.discoverGrammar
(GrammarRootAST root, GrammarAST ID) void
GrammarTreeVisitor.finishGrammar
(GrammarRootAST root, GrammarAST ID) -
Uses of GrammarRootAST in org.antlr.v4.semantics
Methods in org.antlr.v4.semantics with parameters of type GrammarRootASTModifier and TypeMethodDescriptionvoid
BasicSemanticChecks.discoverGrammar
(GrammarRootAST root, GrammarAST ID) -
Uses of GrammarRootAST in org.antlr.v4.tool
Fields in org.antlr.v4.tool declared as GrammarRootASTMethods in org.antlr.v4.tool that return GrammarRootASTModifier and TypeMethodDescriptionGrammarTransformPipeline.extractImplicitLexer
(Grammar combinedGrammar) Build lexer grammar from combined grammar that looks like: (COMBINED_GRAMMAR A (tokens { X (= Y 'y')) (OPTIONS (= x 'y')) (@ members {foo}) (@ lexer header {package jj;}) (RULES (RULE .+))) Move rules and actions to new tree, don't dup.Methods in org.antlr.v4.tool with parameters of type GrammarRootASTModifier and TypeMethodDescriptionGrammar.getStateToGrammarRegionMap
(GrammarRootAST ast, IntervalSet grammarTokenTypes) static List
<Pair<GrammarAST, GrammarAST>> Grammar.getStringLiteralAliasesFromLexerRules
(GrammarRootAST ast) Return list of (TOKEN_NAME node, 'literal' node) pairsConstructors in org.antlr.v4.tool with parameters of type GrammarRootASTModifierConstructorDescriptionGrammar
(Tool tool, GrammarRootAST ast) LexerGrammar
(Tool tool, GrammarRootAST ast) -
Uses of GrammarRootAST in org.antlr.v4.tool.ast
Methods in org.antlr.v4.tool.ast that return GrammarRootASTMethods in org.antlr.v4.tool.ast with parameters of type GrammarRootASTConstructors in org.antlr.v4.tool.ast with parameters of type GrammarRootAST