original_string: private function getParsingMode(string &$route) : int
      {
          // Explicit regex mode
          if (strpos($route, 'R>') === 0) {
              $route = str_replace('R>', '', $route);
              return self::MODE_REGEX;
          }
          // Explicit string mode
          if (strpos($route, 'S>') === 0) {
              $route = str_replace('S>', '', $route);
              return self::MODE_STRING;
          }
  
          // Use default mode
          return self::$mode;
      }
code: private function getParsingMode(string &$route) : int
      {
          // Explicit regex mode
          if (strpos($route, 'R>') === 0) {
              $route = str_replace('R>', '', $route);
              return self::MODE_REGEX;
          }
          // Explicit string mode
          if (strpos($route, 'S>') === 0) {
              $route = str_replace('S>', '', $route);
              return self::MODE_STRING;
          }
  
          // Use default mode
          return self::$mode;
      }
code_tokens: private function getParsingMode ( string & $ route ) : int { // Explicit regex mode if ( strpos ( $ route , 'R>' ) === 0 ) { $ route = str_replace ( 'R>' , '' , $ route ) ; return self :: MODE_REGEX ; } // Explicit string mode if ( strpos ( $ route , 'S>' ) === 0 ) { $ route = str_replace ( 'S>' , '' , $ route ) ; return self :: MODE_STRING ; } // Use default mode return self :: $ mode ; }
docstring: Detect route parsing mode for specific route
  
  @param string &$route     route to check
  
  @return int  class constant mode
docstring_tokens: Detect route parsing mode for specific route