Lines Matching defs:mode
24 * The SLL(*) prediction mode. This prediction mode ignores the current
26 * mode, and provides correct results for many grammars. This prediction
27 * mode is more powerful than the prediction mode provided by ANTLR 3, but
31 * When using this prediction mode, the parser will either return a correct
33 * {@see PredictionMode::LL()} prediction mode), or it will report a syntax
35 * {@see PredictionMode::SLL()} prediction mode, it may be due to either
40 * This prediction mode does not provide any guarantees for prediction
46 * The LL(*) prediction mode. This prediction mode allows the current parser
48 * prediction. This is the fastest prediction mode that guarantees correct
52 * When using this prediction mode, the parser will make correct decisions
54 * cases where the grammar is truly ambiguous this prediction mode might not
57 * This prediction mode does not provide any guarantees for prediction
63 * The LL(*) prediction mode with exact ambiguity detection. In addition to
65 * prediction mode, this prediction mode instructs the prediction algorithm
69 * This prediction mode may be used for diagnosing ambiguities during
71 * of ambiguous alternatives, this prediction mode should be avoided when
74 * This prediction mode does not provide any guarantees for prediction
165 public static function hasSLLConflictTerminatingPrediction(int $mode, ATNConfigSet $configs) : bool
176 // pure SLL mode parsing
177 if ($mode === self::SLL) {
195 // pure SLL or combined SLL+LL mode parsing