seq3<R1, R2, R3> function

  1. @useResult
Parser<Sequence3<R1, R2, R3>> seq3<R1, R2, R3>(
  1. Parser<R1> parser1,
  2. Parser<R2> parser2,
  3. Parser<R3> parser3
)

Creates a parser that consumes a sequence of 3 parsers and returns a typed sequence Sequence3.

Implementation

@useResult
Parser<Sequence3<R1, R2, R3>> seq3<R1, R2, R3>(
  Parser<R1> parser1,
  Parser<R2> parser2,
  Parser<R3> parser3,
) =>
    SequenceParser3<R1, R2, R3>(
      parser1,
      parser2,
      parser3,
    );