toChoiceParser method

ChoiceParser<T> toChoiceParser({
  1. FailureJoiner<T>? failureJoiner,
})

Converts the parser in this iterable to a choice of parsers.

Implementation

ChoiceParser<T> toChoiceParser({FailureJoiner<T>? failureJoiner}) =>
    ChoiceParser<T>(this, failureJoiner: failureJoiner);