public function nextToken() { trigger_error(__METHOD__ . ' is deprecated in favor of advance()', E_USER_DEPRECATED); return $this->advance(); }
/** * @Warmup(2) * @Revs(100) * @Iterations(5) */ public function benchIntrospectionQuery() { $lexer = new Lexer($this->introQuery); do { $token = $lexer->nextToken(); } while ($token->kind !== Token::EOF); }