original_string: public function analyze_file(string $file): array
    {
      $res = [];
      $ext = bbn\str::file_ext($file);
      if ( \in_array($ext, self::$extensions, true) && is_file($file) ){
        switch ( $ext ){
          case 'html':
            $res = $this->analyze_php($file);
            break;
          case 'php':
            $res = $this->analyze_php($file);
            break;
          case 'js':
            $res = $this->analyze_js($file);
            break;
          /*case 'json':
            $res = $this->analyze_json($file);
            break;*/
        }
      }
      return $res;
    }
code: public function analyze_file(string $file): array
    {
      $res = [];
      $ext = bbn\str::file_ext($file);
      if ( \in_array($ext, self::$extensions, true) && is_file($file) ){
        switch ( $ext ){
          case 'html':
            $res = $this->analyze_php($file);
            break;
          case 'php':
            $res = $this->analyze_php($file);
            break;
          case 'js':
            $res = $this->analyze_js($file);
            break;
          /*case 'json':
            $res = $this->analyze_json($file);
            break;*/
        }
      }
      return $res;
    }
code_tokens: public function analyze_file ( string $ file ) : array { $ res = [ ] ; $ ext = bbn \ str :: file_ext ( $ file ) ; if ( \ in_array ( $ ext , self :: $ extensions , true ) && is_file ( $ file ) ) { switch ( $ ext ) { case 'html' : $ res = $ this -> analyze_php ( $ file ) ; break ; case 'php' : $ res = $ this -> analyze_php ( $ file ) ; break ; case 'js' : $ res = $ this -> analyze_js ( $ file ) ; break ; /*case 'json':
            $res = $this->analyze_json($file);
            break;*/ } } return $ res ; }
docstring: Returns the strings contained in the given file
  
  @param string $file
  @return array
docstring_tokens: Returns the strings contained in the given file