original_string: public function generateHeaderNames()
      {
          foreach ($this->data as $baseType => &$baseArray) {
              foreach ($baseArray as $nodeName => &$nodeData) {
                  if (is_array($nodeData)) {
                      $nodeName = $this->decodeNodeName($nodeName);
                      $this->generateHeaderName(
                          $nodeData,
                          new NodePath([$baseType, $nodeName]),
                          self::ARRAY_NAME, // # root is always array
                          $baseType
                      );
                  }
              }
          }
      }
code: public function generateHeaderNames()
      {
          foreach ($this->data as $baseType => &$baseArray) {
              foreach ($baseArray as $nodeName => &$nodeData) {
                  if (is_array($nodeData)) {
                      $nodeName = $this->decodeNodeName($nodeName);
                      $this->generateHeaderName(
                          $nodeData,
                          new NodePath([$baseType, $nodeName]),
                          self::ARRAY_NAME, // # root is always array
                          $baseType
                      );
                  }
              }
          }
      }
code_tokens: public function generateHeaderNames ( ) { foreach ( $ this -> data as $ baseType => & $ baseArray ) { foreach ( $ baseArray as $ nodeName => & $ nodeData ) { if ( is_array ( $ nodeData ) ) { $ nodeName = $ this -> decodeNodeName ( $ nodeName ) ; $ this -> generateHeaderName ( $ nodeData , new NodePath ( [ $ baseType , $ nodeName ] ) , self :: ARRAY_NAME , // # root is always array $ baseType ) ; } } } }
docstring: Generate header names for the whole structure.
docstring_tokens: Generate header names for the whole structure .