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

Function nameEnd

src/resolution/jsx-code.ts:71–74  ·  view source on GitHub ↗
(src: string, k: number)

Source from the content-addressed store, hash-verified

69}
70
71function nameEnd(src: string, k: number): number {
72 while (k < src.length && isNamePart(src.charCodeAt(k))) k++;
73 return k;
74}
75
76function lineEnd(src: string, k: number): number {
77 for (let c = src.charCodeAt(k); k < src.length && c !== 10 && c !== 13; c = src.charCodeAt(++k));

Callers 3

openElementMethod · 0.85
tagMethod · 0.85
childrenMethod · 0.85

Calls 1

isNamePartFunction · 0.85

Tested by

no test coverage detected