22 static char digit(
char ch,
int radix)
26 if (ch >=
'0' && ch <=
'9')
28 if (ch >=
'A' && ch <=
'Z')
30 if (ch >=
'a' && ch <=
'z')
54 if ((codePoint >= 0x1c && codePoint <= 0x20) ||
55 (codePoint >= 0x09 && codePoint <= 0x0d)) {
58 if (codePoint < 0x1000) {
63 if (codePoint == 0x1680 || codePoint == 0x180e) {
66 if (codePoint < 0x2000) {
71 if (codePoint == 0x2007 || codePoint == 0x202f) {
74 if (codePoint <= 0xffff) {
76 return codePoint <= 0x200a || codePoint == 0x2028 ||
77 codePoint == 0x2029 || codePoint == 0x205f ||
static bool isWhitespace(char c)
static char digit(char ch, int radix)
static bool isWhitespace(int codePoint)