Lines Matching refs:cdfa
53 noViableAlt(pANTLR3_BASE_RECOGNIZER rec, pANTLR3_CYCLIC_DFA cdfa, ANTLR3_UINT32 s) in noViableAlt() argument
67 rec->state->exception->message = cdfa->description; in noViableAlt()
68 rec->state->exception->decisionNum = cdfa->decisionNumber; in noViableAlt()
79 …fapredict (void * ctx, pANTLR3_BASE_RECOGNIZER rec, pANTLR3_INT_STREAM is, pANTLR3_CYCLIC_DFA cdfa) in antlr3dfapredict() argument
93 specialState = cdfa->special[s]; in antlr3dfapredict()
99 s = cdfa->specialStateTransition(ctx, rec, is, cdfa, specialState); in antlr3dfapredict()
110 noViableAlt(rec,cdfa, s); in antlr3dfapredict()
121 if (cdfa->accept[s] >= 1) in antlr3dfapredict()
124 return cdfa->accept[s]; in antlr3dfapredict()
133 if (c>= cdfa->min[s] && c <= cdfa->max[s]) in antlr3dfapredict()
139 snext = cdfa->transition[s][c - cdfa->min[s]]; in antlr3dfapredict()
148 if (cdfa->eot[s] >= 0) in antlr3dfapredict()
150 s = cdfa->eot[s]; in antlr3dfapredict()
154 noViableAlt(rec,cdfa, s); in antlr3dfapredict()
167 if (cdfa->eot[s] >= 0) in antlr3dfapredict()
169 s = cdfa->eot[s]; in antlr3dfapredict()
175 if ( c == ANTLR3_TOKEN_EOF && cdfa->eof[s] >= 0) in antlr3dfapredict()
178 return cdfa->accept[cdfa->eof[s]]; in antlr3dfapredict()
183 noViableAlt(rec, cdfa, s); in antlr3dfapredict()