(c: number)
| 1044 | (c >= 0xF900 && c <= 0xFDCF) || (c >= 0xFDF0 && c <= 0xFFFD) || (c >= 0xD800 && c <= 0xDB7F) |
| 1045 | |
| 1046 | const isNameCode = (c: number): boolean => |
| 1047 | c < 128 ? |
| 1048 | (asciiName[c] & NAME_CHAR) !== 0 : |
| 1049 | isNameStartCode(c) || c === 0xB7 || (c >= 0x300 && c <= 0x36F) || (c >= 0x203F && c <= 0x2040) || |
| 1050 | (c >= 0xDC00 && c <= 0xDFFF) |
| 1051 | |
| 1052 | // Returns the end of the name starting at `i`, or `i` when there is none |
| 1053 | const scanName = (s: string, i: number, end: number): number => { |
no test coverage detected