original_string: private function appendDocument(\DOMNode $parentNode, \DOMNode $importedParent)
      {
          foreach ($importedParent->childNodes as $childNode) {
              $parentNode->appendChild($parentNode->ownerDocument->importNode($childNode, true));
          }
      }
code: private function appendDocument(\DOMNode $parentNode, \DOMNode $importedParent)
      {
          foreach ($importedParent->childNodes as $childNode) {
              $parentNode->appendChild($parentNode->ownerDocument->importNode($childNode, true));
          }
      }
code_tokens: private function appendDocument ( \ DOMNode $ parentNode , \ DOMNode $ importedParent ) { foreach ( $ importedParent -> childNodes as $ childNode ) { $ parentNode -> appendChild ( $ parentNode -> ownerDocument -> importNode ( $ childNode , true ) ) ; } }
docstring: Appends document children to parent node.
docstring_tokens: Appends document children to parent node .