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

Function slotKey

src/resolution/cpp-template-instantiations.ts:340–340  ·  view source on GitHub ↗
(slot: Slot)

Source from the content-addressed store, hash-verified

338}
339
340const slotKey = (slot: Slot): string => `${slot.template.key}#${slot.index}#${slot.template.pattern?.join() ?? ''}`;
341
342/** Do the arguments a declaration writes for its template repeat its head: `C<T, U>` under `template <class T, class U>`? */
343function isOwnHead(args: readonly string[], head: readonly CppTemplateParameter[]): boolean {

Callers 2

classesOfMethod · 0.85
cppTemplateArgumentEdgesFunction · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected