Uses of Class
org.antlr.v4.tool.ast.GrammarRootAST
-
Packages that use GrammarRootAST Package Description org.antlr.v4 org.antlr.v4.analysis org.antlr.v4.parse org.antlr.v4.semantics org.antlr.v4.tool org.antlr.v4.tool.ast -
-
Uses of GrammarRootAST in org.antlr.v4
Methods in org.antlr.v4 that return GrammarRootAST Modifier and Type Method Description GrammarRootAST
Tool. parse(String fileName, org.antlr.runtime.CharStream in)
GrammarRootAST
Tool. parseGrammar(String fileName)
GrammarRootAST
Tool. parseGrammarFromString(String grammar)
Methods in org.antlr.v4 that return types with arguments of type GrammarRootAST Modifier and Type Method Description List<GrammarRootAST>
Tool. sortGrammarByTokenVocab(List<String> fileNames)
Methods in org.antlr.v4 with parameters of type GrammarRootAST Modifier and Type Method Description Grammar
Tool. 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 GrammarRootAST Modifier and Type Field Description GrammarRootAST
LeftRecursiveRuleTransformer. ast
Methods in org.antlr.v4.analysis with parameters of type GrammarRootAST Modifier and Type Method Description boolean
LeftRecursiveRuleTransformer. translateLeftRecursiveRule(GrammarRootAST ast, LeftRecursiveRule r, String language)
Return true if successfulConstructors in org.antlr.v4.analysis with parameters of type GrammarRootAST Constructor Description LeftRecursiveRuleTransformer(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 GrammarRootAST Modifier and Type Method Description void
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 GrammarRootAST Modifier and Type Method Description void
BasicSemanticChecks. discoverGrammar(GrammarRootAST root, GrammarAST ID)
-
Uses of GrammarRootAST in org.antlr.v4.tool
Fields in org.antlr.v4.tool declared as GrammarRootAST Modifier and Type Field Description GrammarRootAST
Grammar. ast
Methods in org.antlr.v4.tool that return GrammarRootAST Modifier and Type Method Description GrammarRootAST
GrammarTransformPipeline. 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 GrammarRootAST Modifier and Type Method Description static Map<Integer,Interval>
Grammar. 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 GrammarRootAST Constructor Description Grammar(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 GrammarRootAST Modifier and Type Method Description GrammarRootAST
GrammarRootAST. dupNode()
Methods in org.antlr.v4.tool.ast with parameters of type GrammarRootAST Modifier and Type Method Description Object
GrammarASTVisitor. visit(GrammarRootAST node)
Constructors in org.antlr.v4.tool.ast with parameters of type GrammarRootAST Constructor Description GrammarRootAST(GrammarRootAST node)
-