fastParseSpaces method

void fastParseSpaces(
  1. State<String> state
)

Spaces = \t* ;

Implementation

void fastParseSpaces(State<String> state) {
  // [ \t]*
  for (var c = 0;
      state.pos < state.input.length &&
          (c = state.input.codeUnitAt(state.pos)) == c &&
          (c == 9 || c == 32);
      // ignore: curly_braces_in_flow_control_structures, empty_statements
      state.pos++);
  state.setOk(true);
}