toSequenceParser method
Converts a Record of 6 positional parsers to a Parser that runs the parsers in sequence and returns a Record with 6 positional parse results.
For example,
the parser (char('a'), char('b'), char('c'), char('d'), char('e'), char('f')).toSequenceParser()
returns ('a', 'b', 'c', 'd', 'e', 'f')
for the input 'abcdef'
.
Implementation
@useResult
Parser<(R1, R2, R3, R4, R5, R6)> toSequenceParser() =>
SequenceParser6<R1, R2, R3, R4, R5, R6>($1, $2, $3, $4, $5, $6);