fastParse method
Implementation
@override
bool fastParse(State<StringReader> state) {
final input = state.input;
final pos = state.pos;
while (state.pos < input.length) {
final c = input.readChar(state.pos);
if (!(c >= 0x41 && c <= 0x5A || c >= 0x61 && c <= 0x7A)) {
break;
}
state.pos += input.count;
}
if (state.pos != pos) {
return true;
}
state.fail<Object?>(const ErrorUnexpectedCharacter());
return false;
}