Example #1
0
 /**
  * WhereClause ::= "WHERE" WhereClausePart {"AND" WhereClausePart}
  */
 public function WhereClause(Query $query, array &$parameters)
 {
     $this->match(Lexer::T_WHERE);
     $this->WhereClauseExpression($query, $parameters);
     while ($this->_lexer->isNextToken(Lexer::T_AND)) {
         $this->match(Lexer::T_AND);
         $this->WhereClauseExpression($query, $parameters);
     }
 }