(codePoint: number)
| 136 | export const stringEscape = utf16ConcatMap(escapeNonPrintableMapper(isAscii, standardUnicodeHexEscape)); |
| 137 | |
| 138 | function isStartCharacter(codePoint: number): boolean { |
| 139 | if (codePoint === 0x5f) return true; // underscore |
| 140 | return isAscii(codePoint) && isLetter(codePoint); |
| 141 | } |
| 142 | |
| 143 | function isPartCharacter(codePoint: number): boolean { |
| 144 | return isStartCharacter(codePoint) || (isAscii(codePoint) && isDigit(codePoint)); |
no test coverage detected
searching dependent graphs…