scanHexNumber method

Token scanHexNumber(
  1. int x
)

Implementation

Token scanHexNumber(int x) {
  while (isDigit(x) ||
      char.$a <= x && x <= char.$f ||
      char.$A <= x && x <= char.$F) {
    x = next();
  }
  return emitValueToken(Token.NUMBER);
}