visitSequenceLastResult<E> method

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

Implementation

@override
Expression visitSequenceLastResult<E>(SequenceLastResultExpression<E> node) {
  final before = <Expression>[];
  for (final expression in node.before) {
    final result = expression.accept(this);
    before.add(result);
  }

  final expression = node.expression.accept(this) as Expression<E>;
  return SequenceLastResultExpression<E>(before, expression);
}