docs: public void expect(final char expectedChar) throws ParseException {
          final int next = getc();
          if (next != expectedChar) {
              throw new ParseException(this, "Expected '" + expectedChar + "'; got '" + (char) next + "'");
          }
      }