original_string: public function getPathParts($path)
      {
          $path = preg_replace('/\[/', '->[', $path);
          if (preg_match('/^->/', $path)) {
              $path = substr($path, 2);
          }
  
          return explode('->', $path);
      }
code: public function getPathParts($path)
      {
          $path = preg_replace('/\[/', '->[', $path);
          if (preg_match('/^->/', $path)) {
              $path = substr($path, 2);
          }
  
          return explode('->', $path);
      }
code_tokens: public function getPathParts ( $ path ) { $ path = preg_replace ( '/\[/' , '->[' , $ path ) ; if ( preg_match ( '/^->/' , $ path ) ) { $ path = substr ( $ path , 2 ) ; } return explode ( '->' , $ path ) ; }
docstring: Breaks a path expression into an array used
  for navigating a path.
  
  @param $path
  @return array
docstring_tokens: Breaks a path expression into an array used for navigating a path .