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

Function callables

__tests__/cpp-declarator-clause-names.test.ts:37–41  ·  view source on GitHub ↗

` ` for every function and method.

(result: ExtractionResult)

Source from the content-addressed store, hash-verified

35
36/** `<kind> <qualifiedName>` for every function and method. */
37function callables(result: ExtractionResult): string[] {
38 return result.nodes
39 .filter((n) => n.kind === 'function' || n.kind === 'method')
40 .map((n) => `${n.kind} ${n.qualifiedName}`);
41}
42
43describe('a C++ function named past the clauses after its parameters', () => {
44 let savedEnv: Record<string, string | undefined> = {};

Calls 1

mapMethod · 0.80

Tested by

no test coverage detected