Home
last modified time | relevance | path

Searched refs:nAlts (Results 1 – 5 of 5) sorted by relevance

/external/antlr/tool/src/main/java/org/antlr/analysis/
DNFAState.java198 int nAlts = nfa.grammar.getNumberOfAltsForDecisionNFA(nfaStart); in translateDisplayAltToWalkAlt() local
201 walkAlt = displayAlt % nAlts + 1; // rotate right mod 1..3 in translateDisplayAltToWalkAlt()
208 if ( displayAlt == nAlts ) { in translateDisplayAltToWalkAlt()
DDFA.java143 protected int nAlts = 0; field in DFA
230 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];
DDFAOptimizer.java190 int nAlts = d.dfa.getNumberOfAlts(); in optimizeExitBranches() local
201 edgeTarget.getUniquelyPredictedAlt()==nAlts) in optimizeExitBranches()
DLL1DFA.java57 nAlts = nfa.grammar.getNumberOfAltsForDecisionNFA(decisionStartState); in LL1DFA()
84 nAlts = nfa.grammar.getNumberOfAltsForDecisionNFA(decisionStartState); in LL1DFA()
DNFAToDFAConverter.java72 int nAlts = dfa.getNumberOfAlts(); in NFAToDFAConverter() local
73 initContextTrees(nAlts); in NFAToDFAConverter()