ParseDecoder<R> constructor

const ParseDecoder<R>(
  1. Parser<R> parser, {
  2. ParseMatchCallback<R>? onMatch,
  3. ParseErrorCallback? onError,
  4. ParseCloseCallback? onClose,
})

Creates a ParseDecoder using parser.

Implementation

const new(this.parser, {this.onMatch, this.onError, this.onClose});