visitOrderedChoice<E> method

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

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);
    _addTerminals(node, child.startTerminals);
  }
}