Searched refs:nAlts (Results 1 – 5 of 5) sorted by relevance
198 int nAlts = nfa.grammar.getNumberOfAltsForDecisionNFA(nfaStart); in translateDisplayAltToWalkAlt() local201 walkAlt = displayAlt % nAlts + 1; // rotate right mod 1..3 in translateDisplayAltToWalkAlt()208 if ( displayAlt == nAlts ) { in translateDisplayAltToWalkAlt()
143 protected int nAlts = 0; field in DFA230 nAlts = nfa.grammar.getNumberOfAltsForDecisionNFA(decisionStartState); in DFA()983 int nAlts = getNumberOfAlts();984 for (int i=1; i<=nAlts; i++) {1089 return nAlts;1098 for (int i = 1; i <= nAlts; i++) {1101 altToAcceptState = new DFAState[nAlts+1];
190 int nAlts = d.dfa.getNumberOfAlts(); in optimizeExitBranches() local201 edgeTarget.getUniquelyPredictedAlt()==nAlts) in optimizeExitBranches()
57 nAlts = nfa.grammar.getNumberOfAltsForDecisionNFA(decisionStartState); in LL1DFA()84 nAlts = nfa.grammar.getNumberOfAltsForDecisionNFA(decisionStartState); in LL1DFA()
72 int nAlts = dfa.getNumberOfAlts(); in NFAToDFAConverter() local73 initContextTrees(nAlts); in NFAToDFAConverter()