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

Function isWordStart

src/extraction/languages/cpp-brace-scopes.ts:95–96  ·  view source on GitHub ↗
(c: number)

Source from the content-addressed store, hash-verified

93const NEWLINE = 10;
94const isBlank = (c: number): boolean => c === 32 || c === 9 || c === 13 || c === 12 || c === 11;
95const isWordStart = (c: number): boolean =>
96 (c >= 97 && c <= 122) || (c >= 65 && c <= 90) || c === 95 || c === 36 || c >= 128;
97const isDigit = (c: number): boolean => c >= 48 && c <= 57;
98const isWordChar = (c: number): boolean => isWordStart(c) || isDigit(c);
99const RAW_STRING_PREFIX = /^(?:u8|[uUL])?R$/;

Callers 3

isWordCharFunction · 0.70
wordEndFunction · 0.70
scanCppBraceScopesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected