$expr->dispatch($sqlWalker), $this->exprs)) . ')'; } public function parse(Parser $parser) { $this->exprs = []; $lexer = $parser->getLexer(); $parser->match(Lexer::T_IDENTIFIER); $parser->match(Lexer::T_OPEN_PARENTHESIS); $this->exprs[] = $parser->ArithmeticPrimary(); while (Lexer::T_COMMA === $lexer->lookahead['type']) { $parser->match(Lexer::T_COMMA); $this->exprs[] = $parser->ArithmeticPrimary(); } $parser->match(Lexer::T_CLOSE_PARENTHESIS); } }