original_string: public function toAbsolute()
      {
          if (!$this->hasDrive()) {
              throw new InvalidPathStateException(
                  'Cannot convert relative Windows path to absolute without a ' .
                      'drive specifier.'
              );
          }
  
          return $this->createPathFromDriveAndAtoms(
              $this->atoms(),
              $this->drive(),
              true,
              false,
              false
          );
      }
code: public function toAbsolute()
      {
          if (!$this->hasDrive()) {
              throw new InvalidPathStateException(
                  'Cannot convert relative Windows path to absolute without a ' .
                      'drive specifier.'
              );
          }
  
          return $this->createPathFromDriveAndAtoms(
              $this->atoms(),
              $this->drive(),
              true,
              false,
              false
          );
      }
code_tokens: public function toAbsolute ( ) { if ( ! $ this -> hasDrive ( ) ) { throw new InvalidPathStateException ( 'Cannot convert relative Windows path to absolute without a ' . 'drive specifier.' ) ; } return $ this -> createPathFromDriveAndAtoms ( $ this -> atoms ( ) , $ this -> drive ( ) , true , false , false ) ; }
docstring: Get an absolute version of this path.
  
  If this path is relative, a new absolute path with equivalent atoms will
  be returned. Otherwise, this path will be retured unaltered.
  
  @return AbsolutePathInterface     An absolute version of this path.
  @throws InvalidPathStateException If absolute conversion is not possible for this path.
docstring_tokens: Get an absolute version of this path .