Home
last modified time | relevance | path

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

/external/antlr/tool/src/main/java/org/antlr/analysis/
DLL1DFA.java111 DFAState predDFATarget = getAcceptState(alt); in LL1DFA() local
112 if ( predDFATarget==null ) { in LL1DFA()
113 predDFATarget = newState(); // create if not there. in LL1DFA()
114 predDFATarget.acceptState = true; in LL1DFA()
115 predDFATarget.cachedUniquelyPredicatedAlt = alt; in LL1DFA()
116 setAcceptState(alt, predDFATarget); in LL1DFA()
136 s.addTransition(predDFATarget, new PredicateLabel(synpred)); in LL1DFA()
DNFAToDFAConverter.java1679 DFAState predDFATarget = d.dfa.getAcceptState(c.alt); in addPredicateTransitions() local
1680 if ( predDFATarget==null ) { in addPredicateTransitions()
1681 predDFATarget = dfa.newState(); // create if not there. in addPredicateTransitions()
1683 predDFATarget.addNFAConfiguration(dfa.nfa.getState(c.state), in addPredicateTransitions()
1687 predDFATarget.setAcceptState(true); in addPredicateTransitions()
1688 dfa.setAcceptState(c.alt, predDFATarget); in addPredicateTransitions()
1689 DFAState existingState = dfa.addState(predDFATarget); in addPredicateTransitions()
1690 if ( predDFATarget != existingState ) { in addPredicateTransitions()
1694 dfa.setState(predDFATarget.stateNumber, existingState); in addPredicateTransitions()
1695 predDFATarget = existingState; in addPredicateTransitions()
[all …]