MCPcopy Index your code
hub / github.com/nodejs/node / isIdentifierStart

Function isIdentifierStart

test/fixtures/snapshot/typescript.js:10775–10779  ·  view source on GitHub ↗
(ch, languageVersion)

Source from the content-addressed store, hash-verified

10773 }
10774 ts.getShebang = getShebang;
10775 function isIdentifierStart(ch, languageVersion) {
10776 return ch >= 65 /* CharacterCodes.A */ && ch <= 90 /* CharacterCodes.Z */ || ch >= 97 /* CharacterCodes.a */ && ch <= 122 /* CharacterCodes.z */ ||
10777 ch === 36 /* CharacterCodes.$ */ || ch === 95 /* CharacterCodes._ */ ||
10778 ch > 127 /* CharacterCodes.maxAsciiCharacter */ && isUnicodeIdentifierStart(ch, languageVersion);
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 */ ||

Callers 6

isIdentifierFunction · 0.85
isIdentifierTextFunction · 0.85
scanFunction · 0.85
scanIdentifierFunction · 0.85
scanJsDocTokenFunction · 0.85

Calls 1

isUnicodeIdentifierStartFunction · 0.85

Tested by

no test coverage detected