(ch, languageVersion, identifierVariant)
| 10779 | } |
| 10780 | ts.isIdentifierStart = isIdentifierStart; |
| 10781 | function isIdentifierPart(ch, languageVersion, identifierVariant) { |
| 10782 | return ch >= 65 /* CharacterCodes.A */ && ch <= 90 /* CharacterCodes.Z */ || ch >= 97 /* CharacterCodes.a */ && ch <= 122 /* CharacterCodes.z */ || |
| 10783 | ch >= 48 /* CharacterCodes._0 */ && ch <= 57 /* CharacterCodes._9 */ || ch === 36 /* CharacterCodes.$ */ || ch === 95 /* CharacterCodes._ */ || |
| 10784 | // "-" and ":" are valid in JSX Identifiers |
| 10785 | (identifierVariant === 1 /* LanguageVariant.JSX */ ? (ch === 45 /* CharacterCodes.minus */ || ch === 58 /* CharacterCodes.colon */) : false) || |
| 10786 | ch > 127 /* CharacterCodes.maxAsciiCharacter */ && isUnicodeIdentifierPart(ch, languageVersion); |
| 10787 | } |
| 10788 | ts.isIdentifierPart = isIdentifierPart; |
| 10789 | /* @internal */ |
| 10790 | function isIdentifierText(name, languageVersion, identifierVariant) { |
no test coverage detected
searching dependent graphs…