fastParse method
Implementation
@override
bool fastParse(State<StringReader> state) {
final input = state.input;
final length = input.length;
final pos = state.pos;
if (state.pos < length) {
while (state.pos < length) {
final r = p.parse(state);
if (r == null) {
input.readChar(state.pos);
state.pos += input.count;
} else {
return true;
}
}
}
state.pos = pos;
state.fail<Object?>(const ErrorUnexpectedEndOfInput());
return false;
}