scanChar method

bool scanChar (int character)
override

If the next character in the string is character, consumes it.

Returns whether or not character was consumed.

Implementation

bool scanChar(int character) {
  if (!super.scanChar(character)) return false;
  _adjustLineAndColumn(character);
  return true;
}