Lines Matching refs:null

37     /** @var Lexer|null */
125 if ($match_calls === null) {
140 if ($dfa->s0 === null) {
209 // be able to avoid doing a reach operation upon t. If s!=null,
211 // creating a DFA state. Once we know s!=null, we check to see if
226 if ($target === null) {
259 * this method returns `null`.
264 * @return DFAState|null The existing target DFA state for the given input symbol
265 * `t`, or `null` if the target state for this edg
270 if ($s->edges === null || $t < self::MIN_DFA_EDGE || $t > self::MAX_DFA_EDGE) {
271 return null;
274 $target = $s->edges[$t - self::MIN_DFA_EDGE] ?? null;
276 if ($this->debug && $target !== null) {
321 if ($this->prevAccept->getDfaState() !== null) {
324 if ($dfaState === null) {
325 throw new \RuntimeException('Unexpected null DFA State.');
347 if ($this->recog === null) {
348 throw new \RuntimeException('Unexpected null recognizer.');
390 if ($target !== null) {
393 if ($lexerExecutor !== null) {
398 $config = new LexerATNConfig($cfg, $target, null, $lexerExecutor);
434 if ($lexerActionExecutor !== null && $this->recog) {
445 return null;
455 $cfg = new LexerATNConfig(null, $target, $initialContext, null, $i + 1);
479 $cfg = null;
498 if ($config->context === null || $config->context->hasEmptyPath()) {
499 if ($config->context === null || $config->context->isEmpty()) {
509 if ($config->context !== null && !$config->context->isEmpty()) {
540 if ($cfg !== null) {
566 $cfg = null;
618 if ($config->context === null || $config->context->hasEmptyPath()) {
640 $cfg = new LexerATNConfig($config, $t->target, null, $lexerActionExecutor);
665 $cfg = null;
694 if ($this->recog === null) {
699 return $this->recog->sempred(null, $ruleIndex, $predIndex);
710 return $this->recog->sempred(null, $ruleIndex, $predIndex);
766 if ($from->edges === null) {
788 $firstConfigWithRuleStopState = null;
798 if ($firstConfigWithRuleStopState !== null) {
815 if ($existing !== null && $existing instanceof DFAState) {