ParseIterable<R> constructor

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

Creates a ParseIterable on input using parser.

Implementation

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