Implementing ExpressionParser's parseCompoundExpression() method.