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

Function readName

src/resolution/frameworks/java.ts:642–651  ·  view source on GitHub ↗
(from: number)

Source from the content-addressed store, hash-verified

640 return end < 0 ? null : { args: '', end };
641 }
642 const readName = (from: number): number => {
643 let j = from;
644 for (;;) {
645 const part = readIdentifier(s, j);
646 if (!part) return -1;
647 j += part.length;
648 if (s[j] !== '.') return j;
649 j++;
650 }
651 };
652 i = readName(i);
653 if (i < 0) return null;
654 // A Kotlin use-site target: `@field:Name`, `@get:Name`.

Callers 1

readAnnotationFunction · 0.85

Calls 1

readIdentifierFunction · 0.85

Tested by

no test coverage detected