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

Function isIdentStart

src/extraction/languages/pascal-preparse.ts:125–127  ·  view source on GitHub ↗

Identifier characters, `&` (Delphi's keyword escape) and any non-ASCII letter.

(c: number)

Source from the content-addressed store, hash-verified

123
124/** Identifier characters, `&` (Delphi's keyword escape) and any non-ASCII letter. */
125function isIdentStart(c: number): boolean {
126 return (c >= 65 && c <= 90) || (c >= 97 && c <= 122) || c === 95 || c === CH_AMP || c >= 128;
127}
128function isIdentPart(c: number): boolean {
129 return (c >= 65 && c <= 90) || (c >= 97 && c <= 122) || c === 95 || (c >= 48 && c <= 57) || c >= 128;
130}

Callers 12

wordStartBeforeFunction · 0.85
routineNameEndFunction · 0.85
scanParameterListFunction · 0.85
lowerWordAtFunction · 0.85
scanForInVariableFunction · 0.85
scanPropertyOverrideFunction · 0.85
holdsBodyFunction · 0.85
holdsBlockFunction · 0.85
openBlocksFunction · 0.85
statementsShapeFunction · 0.85
recordEndFunction · 0.85
preParsePascalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected