original_string: public function recalculate_width()
      {
          $width = 0;
  
          foreach ($this->get_frames() as $frame) {
              $width += $frame->calculate_auto_width();
          }
  
          return $this->w = $width;
      }
code: public function recalculate_width()
      {
          $width = 0;
  
          foreach ($this->get_frames() as $frame) {
              $width += $frame->calculate_auto_width();
          }
  
          return $this->w = $width;
      }
code_tokens: public function recalculate_width ( ) { $ width = 0 ; foreach ( $ this -> get_frames ( ) as $ frame ) { $ width += $ frame -> calculate_auto_width ( ) ; } return $ this -> w = $ width ; }
docstring: Recalculate LineBox width based on the contained frames total width.
  
  @return float
docstring_tokens: Recalculate LineBox width based on the contained frames total width .