public class UseDefAnalyzer extends Object
Constructor and Description |
---|
UseDefAnalyzer() |
Modifier and Type | Method and Description |
---|---|
static boolean |
actionIsContextDependent(ActionAST actionAST) |
static Map<Rule,Set<Rule>> |
getRuleDependencies(Grammar g)
Find all rules reachable from r directly or indirectly for all r in g
|
static Map<Rule,Set<Rule>> |
getRuleDependencies(Grammar g,
Collection<Rule> rules) |
static Map<Rule,Set<Rule>> |
getRuleDependencies(LexerGrammar g,
String modeName) |
static void |
trackTokenRuleRefsInActions(Grammar g) |
public static void trackTokenRuleRefsInActions(Grammar g)
public static boolean actionIsContextDependent(ActionAST actionAST)
public static Map<Rule,Set<Rule>> getRuleDependencies(Grammar g)
public static Map<Rule,Set<Rule>> getRuleDependencies(LexerGrammar g, String modeName)
Copyright © 1992–2020 ANTLR. All rights reserved.