Handle the case of no children in SpanExpression.