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

Function kinds

src/extraction/languages/pascal-preparse.ts:669–669  ·  view source on GitHub ↗
(kind: number)

Source from the content-addressed store, hash-verified

667 }
668 if (open.length < nested.length) continue;
669 const kinds = (kind: number) => open.filter((o) => o.every(([, k]) => k === kind)).length;
670 if (kinds(OPEN_BEGIN) === open.length && open.every((o) => o.length === open[0]!.length)) {
671 for (let b = 1; b < open.length; b++) for (const [at] of open[b]!) ranges.push(at, at + 5);
672 } else if (open.every((o) => o.length === 1) && kinds(OPEN_ASM) > 0 && kinds(OPEN_BEGIN) > 0 && kinds(OPEN_BEGIN) + kinds(OPEN_ASM) === open.length) {

Callers 1

blankDuplicateBeginsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected