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

Function skipString

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected