code: function skipWhitespace() {
      while (i < input.length) {
        if (isWhitespace(input[i])) {
          i++;
          parser.pos_++;
          continue;
        }
        break;
      }
    }
docs: Skip as many whitespaces as possible, and increments current index of
  stream to next available char.