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

Function isIdentStart

src/extraction/languages/pascal-preparse.ts:120–122  ·  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

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

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