Home
last modified time | relevance | path

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

/external/antlr/tool/src/test/java/org/antlr/test/
DTestDFAConversion.java85 int[] unreachableAlts = new int[] {2}; in testAB_or_AC_k1() local
90 checkDecision(g, 1, expecting, unreachableAlts, in testAB_or_AC_k1()
143 int[] unreachableAlts = null; in testRecursionOverflowWithPredOk() local
148 checkDecision(g, 1, expecting, unreachableAlts, in testRecursionOverflowWithPredOk()
172 int[] unreachableAlts = null; in testRecursionOverflowWithPredOk2() local
177 checkDecision(g, 1, expecting, unreachableAlts, in testRecursionOverflowWithPredOk2()
210 int[] unreachableAlts = null; in testSynPredResolvesRecursion() local
215 checkDecision(g, 1, expecting, unreachableAlts, in testSynPredResolvesRecursion()
231 int[] unreachableAlts = null; in testSynPredMissingInMiddle() local
236 checkDecision(g, 1, expecting, unreachableAlts, in testSynPredMissingInMiddle()
[all …]
DTestSemanticPredicates.java682 int[] unreachableAlts = null; in testPredWithK1() local
688 checkDecision(g, 3, expecting, unreachableAlts, in testPredWithK1()
705 int[] unreachableAlts = null; in testPredWithArbitraryLookahead() local
711 checkDecision(g, 3, expecting, unreachableAlts, in testPredWithArbitraryLookahead()
739 int[] unreachableAlts = null; in testUniquePredicateOR() local
745 checkDecision(g, 3, expecting, unreachableAlts, in testUniquePredicateOR()
777 int[] unreachableAlts = null; in _template() local
783 checkDecision(g, 1, expecting, unreachableAlts, in _template()
822 List<Integer> unreachableAlts = dfa.getUnreachableAlts(); in checkDecision() local
829 s2.addAll(unreachableAlts); in checkDecision()
[all …]
/external/antlr/tool/src/main/java/org/antlr/analysis/
DDecisionProbe.java464 List<Integer> unreachableAlts = dfa.getUnreachableAlts(); in issueWarnings() local
465 if ( unreachableAlts!=null && unreachableAlts.size()>0 ) { in issueWarnings()
469 for (Integer altI : unreachableAlts) { in issueWarnings()
487 ErrorManager.unreachableAlts(this,unreachableAlts); in issueWarnings()
DLL1DFA.java61 unreachableAlts = null; in LL1DFA()
88 unreachableAlts = null; in LL1DFA()
DDFA.java141 protected List<Integer> unreachableAlts; field in DFA
894 return unreachableAlts;
932 unreachableAlts.remove(Utils.integer(predicts));
1097 unreachableAlts = new LinkedList<Integer>();
1099 unreachableAlts.add(Utils.integer(i));
/external/antlr/tool/src/main/java/org/antlr/tool/
DErrorManager.java673 public static void unreachableAlts(DecisionProbe probe, in unreachableAlts() method in ErrorManager