seq6<R1, R2, R3, R4, R5, R6> function

  1. @useResult
Parser<Sequence6<R1, R2, R3, R4, R5, R6>> seq6<R1, R2, R3, R4, R5, R6>(
  1. Parser<R1> parser1,
  2. Parser<R2> parser2,
  3. Parser<R3> parser3,
  4. Parser<R4> parser4,
  5. Parser<R5> parser5,
  6. Parser<R6> parser6,
)

Creates a parser that consumes a sequence of 6 parsers and returns a typed sequence Sequence6.

Implementation

@useResult
Parser<Sequence6<R1, R2, R3, R4, R5, R6>> seq6<R1, R2, R3, R4, R5, R6>(
  Parser<R1> parser1,
  Parser<R2> parser2,
  Parser<R3> parser3,
  Parser<R4> parser4,
  Parser<R5> parser5,
  Parser<R6> parser6,
) =>
    SequenceParser6<R1, R2, R3, R4, R5, R6>(
      parser1,
      parser2,
      parser3,
      parser4,
      parser5,
      parser6,
    );