then<R8> method
Returns a parser that consumes the receiver followed by other in
sequence and returns a SequenceParser8 with the 8 positional
parse results.
Flattens into a strictly typed Record with 8 elements, preserving static type information.
For example,
the parser char('a').then(char('b')).then(char('c')).then(char('d')).then(char('e')).then(char('f')).then(char('g')).then(char('h'))
returns ('a', 'b', 'c', 'd', 'e', 'f', 'g', 'h')
for the input 'abcdefgh'.
Implementation
@useResult
SequenceParser8<R1, R2, R3, R4, R5, R6, R7, R8> then<R8>(Parser<R8> other) =>
SequenceParser8<R1, R2, R3, R4, R5, R6, R7, R8>(
parser1,
parser2,
parser3,
parser4,
parser5,
parser6,
parser7,
other,
);