Choice6<I, O> constructor

Choice6<I, O>(
  1. Parser<I, O> p1,
  2. Parser<I, O> p2,
  3. Parser<I, O> p3,
  4. Parser<I, O> p4,
  5. Parser<I, O> p5,
  6. Parser<I, O> p6,
)

Implementation

Choice6(this.p1, this.p2, this.p3, this.p4, this.p5, this.p6) {
  label = '(${[p1, p2, p3, p4, p5, p6].map(Parser.quote).join(' | ')})';
}