public function parse(Parser $parser) { $parser->match(Lexer::T_IDENTIFIER); $parser->match(Lexer::T_OPEN_PARENTHESIS); $this->expr1 = $parser->StringExpression(); //SingleValuedPathExpression(); $parser->match(Lexer::T_CLOSE_PARENTHESIS); }