/** * This method parses a compound expression node. * * <code> * ------------------ * {'_' . foo . $bar} * ------------------ * </code> * * @return \PDepend\Source\AST\ASTCompoundExpression * @throws \PDepend\Source\Parser\ParserException * @throws \PDepend\Source\Parser\ParserException * @since 0.9.6 */ protected function parseCompoundExpression() { $this->consumeComments(); return $this->parseBraceExpression($this->builder->buildAstCompoundExpression(), $this->consumeToken(Tokens::T_CURLY_BRACE_OPEN), Tokens::T_CURLY_BRACE_CLOSE); }