Lines Matching full:accept
79 if (accept[s] >= 1) { // if this is an accepting state return the prediction
80 if ( debug > 2 ) NSLog(@"accept; predict %d from state %d", accept[s], s);
81 return accept[s];
97 // TODO: I had this as return accept[eot[s]]
99 // went to an accept...faster to do this, but
112 if (eot[s] >= 0) {// EOT transition? we may still accept the input in the next state
118 if ( c == ANTLRTokenTypeEOF && eof[s] >= 0) { // we are at EOF and may even accept the input.
119 if ( debug > 2 ) NSLog(@"accept via EOF; predict %d from %d", accept[eof[s]], eof[s]);
120 return accept[eof[s]];
259 @synthesize accept;