visitSequenceLastResult<E> method

  1. @override
Parser visitSequenceLastResult<E>(
  1. SequenceLastResultExpression<E> node
)
override

Implementation

@override
Parser visitSequenceLastResult<E>(SequenceLastResultExpression<E> node) {
  final before = _visitParsers(node.before);
  final child = node.expression;
  final parser = child.accept(this) as Parser<E>;
  return SequenceLastResultParser<E>(before, parser, source: '$node');
}