ChoiceParserExtension extension
- on
Methods
-
or(
Parser other, {FailureJoiner? failureJoiner}) → ChoiceParser -
Available on Parser, provided by the ChoiceParserExtension extension
Returns a parser that accepts the receiver orother(ordered choice).
Operators
-
operator |(
Parser other) → ChoiceParser -
Available on Parser, provided by the ChoiceParserExtension extension
Combines this parser andotherinto a choice, equivalent to calling or.