Choice2<I, O> constructor

Choice2<I, O>(
  1. Parser<I, O> p1,
  2. Parser<I, O> p2
)

Implementation

Choice2(this.p1, this.p2) {
  label = '(${[p1, p2].map(Parser.quote).join(' | ')})';
}