validateAbstractSingleEncapsulatedExpression(expression, concatExpressionHelper());
if (expression.hasLeftParenthesis() &&
expression.hasExpression()) {
CollectionExpression collectionExpression = getCollectionExpression(expression.getExpression());
// Single element
if (collectionExpression == null) {
addProblem(expression, ConcatExpression_MissingExpression);
}
else {
for (Expression child : collectionExpression.children()) {
if (!isValid(child, expression.encapsulatedExpressionBNF())) {
addProblem(child, ConcatExpression_InvalidExpression, child.toParsedText());
}
}
}