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

Function wordEnd

src/extraction/languages/pascal-preparse.ts:130–133  ·  view source on GitHub ↗
(s: string, i: number)

Source from the content-addressed store, hash-verified

128}
129
130function wordEnd(s: string, i: number): number {
131 while (i < s.length && isIdentPart(s.charCodeAt(i))) i++;
132 return i;
133}
134
135/**
136 * The index after the comment or string that starts at `i`, or -1 when none

Callers 11

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

Calls 1

isIdentPartFunction · 0.85

Tested by

no test coverage detected