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

Function nodeAt

__tests__/cpp-brace-scopes.test.ts:179–180  ·  view source on GitHub ↗
(result: ExtractionResult, qualifiedName: string)

Source from the content-addressed store, hash-verified

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);
181
182describe('C++ scopes from the source braces of a file whose tree has errors', () => {
183 beforeAll(async () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected