original_string: public function valid( $x, $y )
      {
          return ($x > 0 && $x < $this->getWidth() && $y > 0 && $y < $this->getHeight());
      }
code: public function valid( $x, $y )
      {
          return ($x > 0 && $x < $this->getWidth() && $y > 0 && $y < $this->getHeight());
      }
code_tokens: public function valid ( $ x , $ y ) { return ( $ x > 0 && $ x < $ this -> getWidth ( ) && $ y > 0 && $ y < $ this -> getHeight ( ) ) ; }
docstring: Returns true if pos is a valid coordinate pair within the image;
  otherwise returns false.
  
  @param int $x
  @param int $y
  @return boolean
docstring_tokens: Returns true if pos is a valid coordinate pair within the image ; otherwise returns false .