ChoiceParserExtension extension Null safety

on

Methods

or(Parser other, {FailureJoiner? failureJoiner}) ChoiceParser
Returns a parser that accepts the receiver or other. The resulting parser returns the parse result of the receiver, if the receiver fails it returns the parse result of other (exclusive ordered choice). [...]

Operators

operator |(Parser other) ChoiceParser
Convenience operator returning a parser that accepts the receiver or other. See or for details.