Home
last modified time | relevance | path

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

/external/antlr/tool/src/main/java/org/antlr/analysis/
DNFAToDFAConverter.java1355 Map<Integer, SemanticContext> altToPredMap = in tryToResolveWithSemanticPredicates() local
1358 if ( altToPredMap.isEmpty() ) { in tryToResolveWithSemanticPredicates()
1363 dfa.probe.reportAltPredicateContext(d, altToPredMap); in tryToResolveWithSemanticPredicates()
1365 if ( nondeterministicAlts.size()-altToPredMap.size()>1 ) { in tryToResolveWithSemanticPredicates()
1382 if ( altToPredMap.size()==nondeterministicAlts.size()-1 ) { in tryToResolveWithSemanticPredicates()
1385 org.antlr.misc.BitSet predSet = org.antlr.misc.BitSet.of(altToPredMap); in tryToResolveWithSemanticPredicates()
1402 getUnionOfPredicates(altToPredMap); in tryToResolveWithSemanticPredicates()
1415 altToPredMap.put(Utils.integer(nakedAlt), nakedAltPred); in tryToResolveWithSemanticPredicates()
1427 if ( altToPredMap.size()==nondeterministicAlts.size() ) { in tryToResolveWithSemanticPredicates()
1439 SemanticContext semCtx = altToPredMap.get(Utils.integer(configuration.alt)); in tryToResolveWithSemanticPredicates()
[all …]
DDecisionProbe.java388 Map<Integer, SemanticContext> altToPredMap = stateToAltSetWithSemanticPredicatesMap.get(d); in getSemanticContextForAlt() local
389 if ( altToPredMap==null ) { in getSemanticContextForAlt()
392 return altToPredMap.get(Utils.integer(alt)); in getSemanticContextForAlt()