original_string: private function matchPart($rulePart, $queryPart, &$args)
      {
          $match = false;
          $first = isset($rulePart[0]) ? $rulePart[0] : '';
          switch ($first) {
              case '*':
                  $match = true;
                  break;
  
              case '{':
                  $match = $this->checkPartAsArgument($rulePart, $queryPart, $args);
                  break;
  
              default:
                  $match = ($rulePart == $queryPart);
                  break;
          }
          return $match;
      }
code: private function matchPart($rulePart, $queryPart, &$args)
      {
          $match = false;
          $first = isset($rulePart[0]) ? $rulePart[0] : '';
          switch ($first) {
              case '*':
                  $match = true;
                  break;
  
              case '{':
                  $match = $this->checkPartAsArgument($rulePart, $queryPart, $args);
                  break;
  
              default:
                  $match = ($rulePart == $queryPart);
                  break;
          }
          return $match;
      }
code_tokens: private function matchPart ( $ rulePart , $ queryPart , & $ args ) { $ match = false ; $ first = isset ( $ rulePart [ 0 ] ) ? $ rulePart [ 0 ] : '' ; switch ( $ first ) { case '*' : $ match = true ; break ; case '{' : $ match = $ this -> checkPartAsArgument ( $ rulePart , $ queryPart , $ args ) ; break ; default : $ match = ( $ rulePart == $ queryPart ) ; break ; } return $ match ; }
docstring: Match part of rule and query.
  
  @param string $rulePart   the rule part to check.
  @param string $queryPart  the query part to check.
  @param array  &$args      add argument to args array if matched
  
  @return boolean
docstring_tokens: Match part of rule and query .