Type elementType = type.getElementType();
if (elementType instanceof MemberType) {
final Hierarchy hierarchy = elementType.getHierarchy();
return new AbstractListCalc(call, new Calc[] {stringCalc}) {
public List evaluateList(Evaluator evaluator) {
String string = stringCalc.evaluateString(evaluator);
if (string == null) {
throw newEvalException(
MondrianResource.instance().NullValue.ex());
}
return parseMemberList(evaluator, string, hierarchy);