visitOrderedChoice<E> method
Implementation
@override
void visitOrderedChoice<E>(OrderedChoiceExpression<E> node) {
final expressions = node.expressions;
final length = expressions.length;
for (var i = 0; i < length; i++) {
final child = expressions[i];
child.accept(this);
}
final isOptional = expressions.where((e) => e.isOptional).isNotEmpty;
_setIsOptional(node, isOptional);
}