Lines Matching refs:tokens
134 protected array $tokens; variable in PhpParser\\ParserAbstract
184 $this->tokens = $this->lexer->tokenize($code, $this->errorHandler);
208 $traverser = new NodeTraverser(new CommentAnnotatingVisitor($this->tokens));
216 return $this->tokens;
250 $token = $this->tokens[++$this->tokenPos];
329 $e->setStartLine($this->tokens[$this->tokenPos]->line);
480 $startToken = $this->tokens[$tokenStartPos];
481 $afterEndToken = $this->tokens[$tokenEndPos + 1];
498 if ($tokenPos < \count($this->tokens) - 1) {
503 $token = $this->tokens[$tokenPos];
905 $token = $this->tokens[$tokenPos];
949 $nextToken = $this->tokens[$this->tokenPos + 1];
950 $this->tokenPos = \count($this->tokens) - 2;
958 $token = $this->tokens[$tokenPos];
961 $prevToken = $this->tokens[$tokenPos - 1];