/** * InsertQuery ::= InsertClause InsertSetClause {"," InsertSetClause} */ public function InsertQuery(Query $query, array &$parameters) { $this->match(Lexer::T_INSERT); $this->match(Lexer::T_IDENTIFIER); $query->insert($this->_lexer->token['value']); $this->match(Lexer::T_SET); $this->InsertSetClause($query, $parameters); while ($this->_lexer->isNextToken(Lexer::T_COMMA)) { $this->match(Lexer::T_COMMA); $this->InsertSetClause($query, $parameters); } }