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

Function skipBlank

src/extraction/languages/cpp-macro-methods.ts:206–209  ·  view source on GitHub ↗

Past the blanks at `i`.

(text: string, i: number)

Source from the content-addressed store, hash-verified

204
205/** Past the blanks at `i`. */
206function skipBlank(text: string, i: number): number {
207 while (i < text.length && /\s/.test(text[i]!)) i++;
208 return i;
209}
210
211/** The end of the identifier at `i`, or -1. */
212function wordEnd(text: string, i: number): number {

Callers 3

qualifiedCallableAtFunction · 0.70
bodyOpenAfterFunction · 0.70
skipBlankAndCommentsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected