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

Function isWordStart

src/extraction/languages/cpp-macro-methods.ts:59–59  ·  view source on GitHub ↗
(c: number)

Source from the content-addressed store, hash-verified

57}
58
59const isWordStart = (c: number): boolean => (c >= 97 && c <= 122) || (c >= 65 && c <= 90) || c === 95;
60const isWordChar = (c: number): boolean => isWordStart(c) || (c >= 48 && c <= 57);
61
62/** A function-like `#define` whose replacement, on any of its lines, writes `::` and a `{`. */

Callers 4

isWordCharFunction · 0.70
wordEndFunction · 0.70
cppDefinitionHeadsFunction · 0.70
cppCodeScanFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected