readChar method

int readChar ()
override

Consumes a single character and returns its character code.

This throws a FormatException if the string has been fully consumed. It doesn't affect lastMatch.

Implementation

int readChar() {
  var character = super.readChar();
  _adjustLineAndColumn(character);
  return character;
}