}
public ParseTreeNode visit(WithSetNode withSetNode) {
ParseTreeNode expression = acceptScalar(withSetNode.getExpression());
withSetNode.setExpression(expression);
final Type type = expression.getType();
if (!TypeUtil.isSet(type)) {
final IdentifierNode id = withSetNode.getIdentifier();
final String idString = MdxUtil.toString(id);
throw new RuntimeException(
"Set expression '" + idString + "' must be a set");