original_string: public function swap(array $replacements)
      {
          foreach ($replacements as $from => $to) {
              $this->replace($from, $this->normalize($to));
          }
      }
code: public function swap(array $replacements)
      {
          foreach ($replacements as $from => $to) {
              $this->replace($from, $this->normalize($to));
          }
      }
code_tokens: public function swap ( array $ replacements ) { foreach ( $ replacements as $ from => $ to ) { $ this -> replace ( $ from , $ this -> normalize ( $ to ) ) ; } }
docstring: Inits renaming process.
  
  @param  array $replacements  Values map to replace.
  
  @return void
docstring_tokens: Inits renaming process .