original_string: public function before_path($path) {
          if ($this->path_is_grouped($path) and !isset($this->currentdata[$path])) {
              // If the grouped element itself does not contain any final tags,
              // we would not get any chunk data for it. So we add an artificial
              // empty data chunk here that will be eventually replaced with
              // real data later in {@link self::postprocess_chunk()}.
              $this->currentdata[$path] = array(
                  'path' => $path,
                  'level' => substr_count($path, '/') + 1,
                  'tags' => array(),
              );
          }
          if (!$this->grouped_parent_exists($path)) {
              parent::before_path($path);
          }
      }
code: public function before_path($path) {
          if ($this->path_is_grouped($path) and !isset($this->currentdata[$path])) {
              // If the grouped element itself does not contain any final tags,
              // we would not get any chunk data for it. So we add an artificial
              // empty data chunk here that will be eventually replaced with
              // real data later in {@link self::postprocess_chunk()}.
              $this->currentdata[$path] = array(
                  'path' => $path,
                  'level' => substr_count($path, '/') + 1,
                  'tags' => array(),
              );
          }
          if (!$this->grouped_parent_exists($path)) {
              parent::before_path($path);
          }
      }
code_tokens: public function before_path ( $ path ) { if ( $ this -> path_is_grouped ( $ path ) and ! isset ( $ this -> currentdata [ $ path ] ) ) { // If the grouped element itself does not contain any final tags, // we would not get any chunk data for it. So we add an artificial // empty data chunk here that will be eventually replaced with // real data later in {@link self::postprocess_chunk()}. $ this -> currentdata [ $ path ] = array ( 'path' => $ path , 'level' => substr_count ( $ path , '/' ) + 1 , 'tags' => array ( ) , ) ; } if ( ! $ this -> grouped_parent_exists ( $ path ) ) { parent :: before_path ( $ path ) ; } }
docstring: The parser fires this each time one path is going to be parsed
  
  @param string $path xml path which parsing has started
docstring_tokens: The parser fires this each time one path is going to be parsed