visitLocationalTransformer<I, O> method

  1. @override
Parser visitLocationalTransformer<I, O>(
  1. LocationalTransformerExpression<I, O> node
)
override

Implementation

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