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); }