original_string: public function readUntilNodeFound($nodeName)
      {
          do {
              $wasReadSuccessful = $this->read();
              $isNotPositionedOnStartingNode = !$this->isPositionedOnStartingNode($nodeName);
          } while ($wasReadSuccessful && $isNotPositionedOnStartingNode);
  
          return $wasReadSuccessful;
      }
code: public function readUntilNodeFound($nodeName)
      {
          do {
              $wasReadSuccessful = $this->read();
              $isNotPositionedOnStartingNode = !$this->isPositionedOnStartingNode($nodeName);
          } while ($wasReadSuccessful && $isNotPositionedOnStartingNode);
  
          return $wasReadSuccessful;
      }
code_tokens: public function readUntilNodeFound ( $ nodeName ) { do { $ wasReadSuccessful = $ this -> read ( ) ; $ isNotPositionedOnStartingNode = ! $ this -> isPositionedOnStartingNode ( $ nodeName ) ; } while ( $ wasReadSuccessful && $ isNotPositionedOnStartingNode ) ; return $ wasReadSuccessful ; }
docstring: Read until the element with the given name is found, or the end of the file.
  
  @param string $nodeName Name of the node to find
  @return bool TRUE on success or FALSE on failure
  @throws \Box\Spout\Reader\Exception\XMLProcessingException If an error/warning occurred
docstring_tokens: Read until the element with the given name is found or the end of the file .