withFailureJoiner method

ChoiceParser<T> withFailureJoiner(
  1. FailureJoiner<T> failureJoiner
)

Switches the failure joining strategy.

Implementation

ChoiceParser<T> withFailureJoiner(FailureJoiner<T> failureJoiner) =>
    ChoiceParser<T>(children, failureJoiner: failureJoiner);