visitTransformer<I, O> method

  1. @override
Parser visitTransformer<I, O>(
  1. TransformerExpression<I, O> node
)
override

Implementation

@override
Parser visitTransformer<I, O>(TransformerExpression<I, O> node) {
  final child = node.expression;
  final parser = child.accept(this) as Parser<I>;
  return TransformerParser<I, O>(parser, node.transform, source: '$node');
}