visitOrderedChoice<E> method

  1. @override
void visitOrderedChoice<E>(
  1. OrderedChoiceExpression<E> node
)
override

Implementation

@override
void visitOrderedChoice<E>(OrderedChoiceExpression<E> node) {
  final rule = node.rule;
  final expressions = node.expressions;
  for (var i = 0; i < expressions.length; i++) {
    final child = expressions[i];
    _setRule(child, rule);
    child.accept(this);
  }
}