Home
last modified time | relevance | path

Searched refs:altToRuleRefMap (Results 1 – 1 of 1) sorted by relevance

/external/antlr/tool/src/main/java/org/antlr/tool/
DRule.java154 protected Map<String, List<GrammarAST>>[] altToRuleRefMap; field in Rule
177 altToRuleRefMap = (Map<String, List<GrammarAST>>[])new Map<?, ?>[numberOfAlts+1]; in Rule()
180 altToRuleRefMap[alt] = new HashMap<String, List<GrammarAST>>(); in Rule()
294 List<GrammarAST> refs = altToRuleRefMap[outerAltNum].get(refAST.getText()); in trackRuleReferenceInAlt()
297 altToRuleRefMap[outerAltNum].put(refAST.getText(), refs); in trackRuleReferenceInAlt()
303 if ( altToRuleRefMap[outerAltNum]!=null ) { in getRuleRefsInAlt()
304 List<GrammarAST> ruleRefASTs = altToRuleRefMap[outerAltNum].get(ref); in getRuleRefsInAlt()
342 return altToRuleRefMap[outerAltNum].keySet(); in getRuleRefsInAlt()
353 Map<String, ?> m = altToRuleRefMap[i]; in getAllRuleRefsInAltsWithRewrites()