Home
last modified time | relevance | path

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

/external/antlr/tool/src/main/java/org/antlr/analysis/
DDFAOptimizer.java193 DFAState edgeTarget = ((DFAState)edge.target); in optimizeExitBranches() local
200 if ( edgeTarget.isAcceptState() && in optimizeExitBranches()
201 edgeTarget.getUniquelyPredictedAlt()==nAlts) in optimizeExitBranches()
210 optimizeExitBranches(edgeTarget); in optimizeExitBranches()
222 DFAState edgeTarget = ((DFAState)edge.target); in optimizeEOTBranches() local
230 edgeTarget.isAcceptState() && in optimizeEOTBranches()
241 edgeTarget.getUniquelyPredictedAlt(); in optimizeEOTBranches()
244 optimizeEOTBranches(edgeTarget); in optimizeEOTBranches()
DDecisionProbe.java723 DFAState edgeTarget = (DFAState)t.target; in reachesState() local
724 Integer targetStatus = stateReachable.get(edgeTarget.stateNumber); in reachesState()
736 if ( reachesState(edgeTarget, targetState, states) ) { in reachesState()
776 DFAState edgeTarget = (DFAState)t.target; in getSampleInputSequenceUsingStateSet() local
777 if ( states.contains(edgeTarget) && in getSampleInputSequenceUsingStateSet()
778 !statesVisitedDuringSampleSequence.contains(edgeTarget.stateNumber) ) in getSampleInputSequenceUsingStateSet()
781 if ( edgeTarget!=targetState ) { in getSampleInputSequenceUsingStateSet()
783 getSampleInputSequenceUsingStateSet(edgeTarget, in getSampleInputSequenceUsingStateSet()
830 NFAState edgeTarget = (NFAState)t.target; in getNFAPath() local
840 path.add(edgeTarget); in getNFAPath()
[all …]
DDFA.java794 DFAState edgeTarget = (DFAState)t.target;
795 int m = _getMaxLookaheadDepth(edgeTarget, depth+1);
841 DFAState edgeTarget = (DFAState)t.target;
842 if ( !busy.contains(edgeTarget) && _hasSynPred(edgeTarget, busy) ) return true;
861 DFAState edgeTarget = (DFAState)t.target;
862 if ( !busy.contains(edgeTarget) && _hasSemPred(edgeTarget, busy) ) return true;
945 DFAState edgeTarget = (DFAState)t.target;
946 int targetStatus = edgeTarget.getAcceptStateReachable();
959 if ( doesStateReachAcceptState(edgeTarget) ) {