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

Function isWordStart

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

Source from the content-addressed store, hash-verified

56}
57
58const isWordStart = (c: number): boolean => (c >= 97 && c <= 122) || (c >= 65 && c <= 90) || c === 95;
59const isWordChar = (c: number): boolean => isWordStart(c) || (c >= 48 && c <= 57);
60
61/** 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