maybeEatDigit method

bool maybeEatDigit()

Implementation

bool maybeEatDigit() {
  if (_index < _text.length && TokenizerHelpers.isDigit(_text.codeUnitAt(_index))) {
    _index += 1;
    return true;
  }
  return false;
}