Home
last modified time | relevance | path

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

/external/antlr/tool/src/main/java/org/antlr/analysis/
DNFAToDFAConverter.java1173 Set<Integer> nondeterministicAlts = d.getNonDeterministicAlts(); in resolveNonDeterminisms() local
1174 if ( debug && nondeterministicAlts!=null ) { in resolveNonDeterminisms()
1175 System.out.println("nondet alts="+nondeterministicAlts); in resolveNonDeterminisms()
1193 nondeterministicAlts = allAlts; in resolveNonDeterminisms()
1204 if ( !d.abortedDueToRecursionOverflow && nondeterministicAlts==null ) { in resolveNonDeterminisms()
1212 dfa.probe.reportNondeterminism(d, nondeterministicAlts); in resolveNonDeterminisms()
1220 tryToResolveWithSemanticPredicates(d, nondeterministicAlts); in resolveNonDeterminisms()
1231 resolveByChoosingFirstAlt(d, nondeterministicAlts); in resolveNonDeterminisms()
1236 protected int resolveByChoosingFirstAlt(DFAState d, Set<Integer> nondeterministicAlts) { in resolveByChoosingFirstAlt() argument
1239 winningAlt = resolveByPickingMinAlt(d,nondeterministicAlts); in resolveByChoosingFirstAlt()
[all …]
DDFAState.java533 Set<Integer> nondeterministicAlts = new HashSet<Integer>(); in getConflictingAlts() local
631 nondeterministicAlts.add(Utils.integer(s.alt)); in getConflictingAlts()
632 nondeterministicAlts.add(Utils.integer(t.alt)); in getConflictingAlts()
638 if ( nondeterministicAlts.isEmpty() ) { in getConflictingAlts()
641 return nondeterministicAlts; in getConflictingAlts()
DDecisionProbe.java652 public void reportNondeterminism(DFAState d, Set<Integer> nondeterministicAlts) { in reportNondeterminism() argument
653 altsWithProblem.addAll(nondeterministicAlts); // track overall list in reportNondeterminism()
664 public void reportLexerRuleNondeterminism(DFAState d, Set<Integer> nondeterministicAlts) { in reportLexerRuleNondeterminism() argument
665 stateToSyntacticallyAmbiguousTokensRuleAltsMap.put(d,nondeterministicAlts); in reportLexerRuleNondeterminism()