public class UseDefAnalyzer extends Object
| Constructor and Description |
|---|
UseDefAnalyzer()
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
actionIsContextDependent(ActionAST
|
static Map |
getRuleDependencies(Grammar
Find all rules reachable from r directly or indirectly for all r in g
|
static Map |
getRuleDependencies(Grammar
|
static Map |
getRuleDependencies(LexerGrammar
|
static void |
trackTokenRuleRefsInActions(Grammar
|
public static void trackTokenRuleRefsInActions(Grammarg)
public static boolean actionIsContextDependent(ActionASTactionAST)
public static Map<Rule ,Set <Rule >> getRuleDependencies(Grammar g)
public static Map<Rule ,Set <Rule >> getRuleDependencies(LexerGrammar g, String modeName)