Lines Matching refs:null
57 * @var TokenStream|null
66 * This is always non-null during the parsing process.
68 * @var ParserRuleContext|null
90 * @var ParserTraceListener|null
131 if ($this->input !== null) {
136 $this->ctx = null;
144 if ($interpreter !== null) {
175 if ($t !== null && $t->getType() === $ttype) {
310 * If `listener` is `null` or has not been added as a parse
398 $result = self::$bypassAltsAtnCache[$serializedAtn] ?? null;
400 if ($result === null) {
421 * @return TokenStream|null
444 if ($this->input === null) {
445 throw new \RuntimeException('The current token stream is null.');
454 $this->input = null;
472 if ($token === null) {
473 throw new \RuntimeException('The current token is null.');
481 ?Token $offendingToken = null,
482 ?RecognitionException $e = null
484 if ($offendingToken === null) {
571 if ($parent === null) {
614 if ($parent === null || $parent instanceof ParserRuleContext) {
629 if ($parent !== null) {
695 if ($parent !== null && !$parent instanceof ParserRuleContext) {
708 if ($this->buildParseTree && $parentctx !== null) {
717 while ($p !== null) {
725 return null;
735 if ($this->ctx === null) {
736 throw new \RuntimeException('The current context is null.');
794 while ($ctx !== null && $ctx->invokingState >= 0 && $following->contains(Token::EPSILON)) {
854 public function getRuleInvocationStack(?RuleContext $p = null) : array
860 while ($p !== null) {
929 if ($this->tracer !== null) {
947 return $this->tracer !== null;