operator | method

  1. @useResult
ChoiceParser operator |(
  1. Parser other
)

Convenience operator returning a parser that accepts the receiver or other. See or for details.

Implementation

@useResult
ChoiceParser<dynamic> operator |(Parser other) => or(other);