original_string: public function seek($position)
      {
          if (!isset($this->errors[$position])) {
              throw new OutOfBoundsException('The offset '.$position.' does not exist.');
          }
  
          reset($this->errors);
  
          while ($position !== key($this->errors)) {
              next($this->errors);
          }
      }
code: public function seek($position)
      {
          if (!isset($this->errors[$position])) {
              throw new OutOfBoundsException('The offset '.$position.' does not exist.');
          }
  
          reset($this->errors);
  
          while ($position !== key($this->errors)) {
              next($this->errors);
          }
      }
code_tokens: public function seek ( $ position ) { if ( ! isset ( $ this -> errors [ $ position ] ) ) { throw new OutOfBoundsException ( 'The offset ' . $ position . ' does not exist.' ) ; } reset ( $ this -> errors ) ; while ( $ position !== key ( $ this -> errors ) ) { next ( $ this -> errors ) ; } }
docstring: Sets the position of the iterator.
  
  @param int $position The new position
  
  @throws OutOfBoundsException If the position is invalid
docstring_tokens: Sets the position of the iterator .