fastParse method

  1. @override
bool fastParse(
  1. State<StringReader> state
)
override

Implementation

@override
bool fastParse(State<StringReader> state) {
  final input = state.input;
  if (state.pos < input.length) {
    input.readChar(state.pos);
    state.pos += input.count;
    return true;
  }

  state.fail<Object?>(ErrorUnexpectedEndOfInput());
  return false;
}