original_string: public static function __doFQLTableNameStatic($path, $token = null, $escape = false)
      {
          if (null===$token) {
              $token=self::$DOT_TOKEN;
          }
  
          if ("this"===$path || empty($path)) {
              if($escape){
                  return "`this`";
              }else{
                  return "this";
              }
          }
  
          if ( ! StringUtils::beginsWith("this.", $path)) {
              // if doesn't begin with "this." then we prepend "this."
              $path = "this.".$path;
          }
  
          $name = str_replace(".", $token, $path);
  
          if($escape){
              return "`$name`";
          }else{
              return $name;
          }
      }
code: public static function __doFQLTableNameStatic($path, $token = null, $escape = false)
      {
          if (null===$token) {
              $token=self::$DOT_TOKEN;
          }
  
          if ("this"===$path || empty($path)) {
              if($escape){
                  return "`this`";
              }else{
                  return "this";
              }
          }
  
          if ( ! StringUtils::beginsWith("this.", $path)) {
              // if doesn't begin with "this." then we prepend "this."
              $path = "this.".$path;
          }
  
          $name = str_replace(".", $token, $path);
  
          if($escape){
              return "`$name`";
          }else{
              return $name;
          }
      }
code_tokens: public static function __doFQLTableNameStatic ( $ path , $ token = null , $ escape = false ) { if ( null === $ token ) { $ token = self :: $ DOT_TOKEN ; } if ( "this" === $ path || empty ( $ path ) ) { if ( $ escape ) { return "`this`" ; } else { return "this" ; } } if ( ! StringUtils :: beginsWith ( "this." , $ path ) ) { // if doesn't begin with "this." then we prepend "this." $ path = "this." . $ path ; } $ name = str_replace ( "." , $ token , $ path ) ; if ( $ escape ) { return "`$name`" ; } else { return $ name ; } }
docstring: reserved for internal usage
  @param $path
  @param null $token
  @return mixed|string
docstring_tokens: reserved for internal usage