Lines Matching refs:null

47     /** @var IntervalSet|null */
58 * @var ParserRuleContext|null
65 * @var int|null
104 $this->lastErrorStates = null;
170 if ($inputStream === null) {
171 throw new \RuntimeException('Unexpected null input stream.');
174 if ($this->lastErrorStates !== null
187 if ($this->lastErrorStates === null) {
246 if ($interpreter === null) {
247 throw new \RuntimeException('Unexpected null interpreter.');
260 if ($tokens === null) {
261 throw new \RuntimeException('Unexpected null input stream.');
271 $this->nextTokensContext = null;
278 if ($this->nextTokensContext === null) {
293 if ($this->singleTokenDeletion($recognizer) !== null) {
328 if ($tokens !== null) {
331 if ($startToken === null) {
332 throw new \RuntimeException('Unexpected null start token.');
360 if ($expectedTokens === null) {
361 throw new \RuntimeException('Unexpected null expected tokens.');
520 if ($matchedSymbol !== null) {
534 if ($this->nextTokensContext === null) {
563 if ($stream === null) {
564 throw new \RuntimeException('Unexpected null input stream.');
569 if ($interpreter === null) {
570 throw new \RuntimeException('Unexpected null interpreter.');
597 * to attempt to recover from mismatched input. If this method returns null,
599 * returns non-null, `$recognizer` will _not_ be in error recovery mode
612 * the mismatched input, otherwise `null`.
618 if ($inputStream === null) {
619 throw new \RuntimeException('Unexpected null input stream.');
635 return null;
661 if ($currentSymbol === null) {
662 throw new \RuntimeException('Unexpected null current token.');
667 if ($inputStream === null) {
668 throw new \RuntimeException('Unexpected null input stream.');
673 if ($tokenSource === null) {
674 throw new \RuntimeException('Unexpected null token source.');
694 if ($current->getType() === Token::EOF && $lookback !== null) {
729 if ($t === null) {
735 if ($s === null) {
859 if ($interpreter === null) {
860 throw new \RuntimeException('Unexpected null interpreter.');
867 while ($ctx !== null && $ctx->invokingState >= 0) {
890 if ($inputStream === null) {
891 throw new \RuntimeException('Unexpected null input stream.');