Lines Matching refs:error

100  * likely LL(1) + pred eval. Easier to do the whole SLL unless error and retry
195 * Sam pointed out that if SLL does not give a syntax error, then there is no
197 * syntax error. For maximum speed, Sam starts the parser set to pure SLL
204 * If it does not get a syntax error, then we're done. If it does get a syntax
205 * error, we need to retry with the combined SLL/LL strategy.
216 * the case, then the SLL parse will definitely get an error because the full LL
224 * get an error because SLL will pursue alternative 1. If s is `{1, 2}` or
227 * SLL will get a syntax error. If s is `{1}` then SLL will succeed.
229 * Of course, if the input is invalid, then we will get an error for sure in
492 if ($D === self::error()) {
497 * We will get an error no matter what so delay until after
498 * decision; better error message. Also, no reachable target
501 * will get error no matter what.
521 // IF PREDS, MIGHT RESOLVE TO SINGLE ALT => SLL (or syntax error)
647 * {@see ParserATNSimulator::error()}.
654 $this->addDFAEdge($dfa, $previousD, $t, self::error());
656 return self::error();
780 * We will get an error no matter what so delay until after
781 * decision; better error message. Also, no reachable target
784 * will get error no matter what.
1394 * This method is used to improve the localization of error messages by
1397 * {@see ParserATNSimulator::error()} state was reached during ATN simulation.
1403 * and valid, and the syntax error will be reported later at a more
1425 * {@see ParserATNSimulator::error()}
1434 * should report an error instead.
2374 * If `D` is {@see ParserATNSimulator::error()}, this method returns
2375 * {@see ParserATNSimulator::error()} and does not change the DFA.
2388 if ($D === self::error()) {