INNER CODE UNIT · Dart
nextIndex
petitparser/dart-petitparser · bin/generate_sequence.dart:196
final nextIndex = index + 1;
final nextType = 'R$nextIndex';
final allResultTypes = [...resultTypes, nextType].join(', ');
final nextChar = String.fromCharCode('a'.codeUnitAt(0) + index);
final allChars = [...characters, nextChar];
out.writeln();
out.writeln(
' /// Returns a parser that consumes the receiver followed by [other] in',
);
out.writeln(
' /// sequence and returns a [SequenceParser$nextIndex] with the $nextIndex positional',
);
out.writeln(' /// parse results.');
out.writeln(' ///');
out.writeln(
' /// Flattens into a strictly typed [Record] with $nextIndex elements, preserving',
);