MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / isWordCode

Function isWordCode

src/resolution/cpp-raw-strings.ts:30–31  ·  view source on GitHub ↗
(c: number)

Source from the content-addressed store, hash-verified

28
29/** Is this UTF-16 code unit a letter, digit, `_` or `$`? (NaN, past either end of a string, is not.) */
30const isWordCode = (c: number): boolean =>
31 (c >= 97 && c <= 122) || (c >= 65 && c <= 90) || (c >= 48 && c <= 57) || c === 95 || c === 36;
32
33const SLASH = 47;
34const STAR = 42;

Callers 2

cppNonCodeLinesFunction · 0.85
cppLiteralsBlankedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected