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