eatHexDigits method

void eatHexDigits(
  1. int end
)

Implementation

void eatHexDigits(int end) {
  end = math.min(end, _text.length);
  while (_index < end) {
    if (TokenizerHelpers.isHexDigit(_text.codeUnitAt(_index))) {
      _index += 1;
    } else {
      return;
    }
  }
}