choice<E> function

ChoiceParser<E> choice<E>(
  1. List<Parser<E>> ps
)

Creates the ChoiceParser parser.

Implementation

ChoiceParser<E> choice<E>(List<Parser<E>> ps) => ChoiceParser(ps);