Home
last modified time | relevance | path

Searched refs:cdfa (Results 1 – 4 of 4) sorted by relevance

/external/antlr/antlr-3.4/runtime/C/src/
Dantlr3cyclicdfa.c53 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()
[all …]
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
DDbg.stg223 alt<decisionNumber> = cdfa<decisionNumber>.predict(ctx, RECOGNIZER, ISTREAM, &cdfa<decisionNumber>);
DC.stg2465 alt<decisionNumber> = cdfa<decisionNumber>.predict(ctx, RECOGNIZER, ISTREAM, &cdfa<decisionNumber>);
2557 ANTLR3_CYCLIC_DFA cdfa<dfa.decisionNumber>
/external/antlr/antlr-3.4/runtime/C/include/
Dantlr3defs.h595 … (void * ctx, pANTLR3_BASE_RECOGNIZER rec, pANTLR3_INT_STREAM is, pANTLR3_CYCLIC_DFA cdfa);