Home
last modified time | relevance | path

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

/external/antlr/tool/src/main/java/org/antlr/tool/
DRule.java144 protected Map<String, List<GrammarAST>>[] altToTokenRefMap; field in Rule
176 altToTokenRefMap = (Map<String, List<GrammarAST>>[])new Map<?, ?>[numberOfAlts+1]; in Rule()
179 altToTokenRefMap[alt] = new HashMap<String, List<GrammarAST>>(); in Rule()
277 List<GrammarAST> refs = altToTokenRefMap[outerAltNum].get(refAST.getText()); in trackTokenReferenceInAlt()
280 altToTokenRefMap[outerAltNum].put(refAST.getText(), refs); in trackTokenReferenceInAlt()
286 if ( altToTokenRefMap[outerAltNum]!=null ) { in getTokenRefsInAlt()
287 List<GrammarAST> tokenRefASTs = altToTokenRefMap[outerAltNum].get(ref); in getTokenRefsInAlt()
311 return altToTokenRefMap[altNum].keySet(); in getTokenRefsInAlt()
329 Map<String, List<GrammarAST>> m = altToTokenRefMap[i]; in getAllTokenRefsInAltsWithRewrites()