expression->dispatch($sqlWalker) . ',' . $this->delimiter->dispatch($sqlWalker) .')'; } public function parse(Parser $parser) { $parser->match(Lexer::T_IDENTIFIER); $parser->match(Lexer::T_OPEN_PARENTHESIS); $parser->match(Lexer::T_DISTINCT); $this->expression = $parser->ArithmeticPrimary(); $parser->match(Lexer::T_COMMA); $this->delimiter = $parser->ArithmeticPrimary(); $parser->match(Lexer::T_CLOSE_PARENTHESIS); } }