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

Function skipString

src/resolution/frameworks/react.ts:394–398  ·  view source on GitHub ↗
(j: number)

Source from the content-addressed store, hash-verified

392/** Walk `keys` into the object literal opening at `at`; the final value's source text, or null. */
393function readObjectValue(text: string, at: number, keys: string[]): string | null {
394 const skipString = (j: number): number => {
395 const quote = text[j]!;
396 for (j++; j < text.length && text[j] !== quote; j++) if (text[j] === '\\') j++;
397 return j + 1;
398 };
399 const skipValue = (j: number): number => {
400 let depth = 0;
401 for (; j < text.length; j++) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected