if (!(parameterOption[ctr] instanceof ACommaFeatureCallParameterOption))
{
throw new OclParserException("parser error: declarator-less feature call paramaters must have the format " +
"\"( expr, ..., expr )\"");
}
ACommaFeatureCallParameterOption commaOption = (ACommaFeatureCallParameterOption)parameterOption[ctr];
ACommaExpression commaExpression = new ACommaExpression(commaOption.getComma(),
commaOption.getExpression());
paramList.add(commaExpression);
}
return new AFeatureCallParameters(featureCallParameters.getLParen(), null,
new AActualParameterList(expr, paramList), featureCallParameters.getRParen());