/** * RemoveQuery ::= RemoveClause [WhereClause] * RemoveClause ::= "REMOVE" DocumentClassName */ public function RemoveQuery(Query $query, array &$parameters) { $this->match(Lexer::T_REMOVE); $this->match(Lexer::T_IDENTIFIER); $query->remove($this->_lexer->token['value']); if ($this->_lexer->isNextToken(Lexer::T_WHERE)) { $this->WhereClause($query, $parameters); } }