visitSequenceFirstResult<E> method

  1. @override
Expression visitSequenceFirstResult<E>(
  1. SequenceFirstResultExpression<E> node
)
override

Implementation

@override
Expression visitSequenceFirstResult<E>(
    SequenceFirstResultExpression<E> node) {
  final expression = node.expression.accept(this) as Expression<E>;
  final after = <Expression>[];
  for (final expression in node.after) {
    final result = expression.accept(this);
    after.add(result);
  }

  return SequenceFirstResultExpression<E>(expression, after);
}