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

Function callables

__tests__/cpp-specialization-names.test.ts:76–81  ·  view source on GitHub ↗

` ` of every function and method, sorted.

(result: ExtractionResult)

Source from the content-addressed store, hash-verified

74
75/** `<kind> <name> <qualified name> <line>` of every function and method, sorted. */
76function callables(result: ExtractionResult): string[] {
77 return result.nodes
78 .filter((n) => n.kind === 'method' || n.kind === 'function')
79 .map((n) => `${n.kind} ${n.name} ${n.qualifiedName} ${n.startLine}`)
80 .sort();
81}
82
83describe('a C++ explicit specialization is named after its template', () => {
84 let savedEnv: Record<string, string | undefined> = {};

Calls 1

mapMethod · 0.80

Tested by

no test coverage detected