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

Function outer

src/resolution/pascal-scope.ts:1477–1484  ·  view source on GitHub ↗
(lower: string)

Source from the content-addressed store, hash-verified

1475 const links = subjectLinks(text);
1476 // A member of a subject around this one, the innermost first.
1477 const outer = (lower: string): Node | null => {
1478 for (let q = p + 1; q < subjects.length; q++) {
1479 const around = withSubjectType(subjects, q, cls, ref, context);
1480 const member = around && memberOfValue(around, lower, ref.filePath!, context);
1481 if (member) return member;
1482 }
1483 return null;
1484 };
1485 if (links) type = typeOfLinks(links, cls, ref, context, outer);
1486 }
1487 memo.set(key, type);

Callers 1

typeOfLinksFunction · 0.85

Calls 2

withSubjectTypeFunction · 0.85
memberOfValueFunction · 0.85

Tested by

no test coverage detected