ParseDecoderSink<R> constructor
ParseDecoderSink<R> (
- Parser<
R> parser, - Sink<
List< sink, {R> > - ParseMatchCallback<
R> ? onMatch, - ParseErrorCallback? onError,
- ParseCloseCallback? onClose,
Creates a ParseDecoderSink that outputs to sink.
Implementation
new(this.parser, this.sink, {this.onMatch, this.onError, this.onClose});