toSequenceParser method
Converts a Record of 3 positional parsers to a Parser that runs the parsers in sequence and returns a Record with 3 positional parse results.
For example,
the parser (char('a'), char('b'), char('c')).toSequenceParser()
returns ('a', 'b', 'c')
for the input 'abc'
.
Implementation
@useResult
Parser<(R1, R2, R3)> toSequenceParser() =>
SequenceParser3<R1, R2, R3>($1, $2, $3);