parseMany1 method
Implementation
@experimental
@protected
Tuple1<List<E>>? parseMany1(ParseState state) {
final r1 = parse(state);
if (r1 == null) {
return null;
}
final list = [r1.$0];
while (true) {
final r1 = parse(state);
if (r1 == null) {
return Tuple1(list);
}
list.add(r1.$0);
}
}