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

Function named

__tests__/cpp-brace-scopes.test.ts:176–177  ·  view source on GitHub ↗
(result: ExtractionResult, kind: string)

Source from the content-addressed store, hash-verified

174}
175
176const named = (result: ExtractionResult, kind: string): string[] =>
177 result.nodes.filter((n) => n.kind === kind).map((n) => n.qualifiedName);
178
179const nodeAt = (result: ExtractionResult, qualifiedName: string): Node | undefined =>
180 result.nodes.find((n) => n.qualifiedName === qualifiedName);

Callers 1

Calls 1

mapMethod · 0.80

Tested by

no test coverage detected