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

Function adoptCppNamespaceScans

src/resolution/cpp-namespaces.ts:174–177  ·  view source on GitHub ↗
(context: ResolutionContext, scans: CppNamespaceScans)

Source from the content-addressed store, hash-verified

172}
173
174export function adoptCppNamespaceScans(context: ResolutionContext, scans: CppNamespaceScans): void {
175 CPP_NS_ALIASES.set(context, scans.aliases);
176 CPP_NS_MACROS.set(context, scans.macros);
177}
178
179/** Drop the per-context namespace memos (see ReferenceResolver.clearCaches). */
180export function clearCppNamespaceMemos(context: ResolutionContext): void {

Callers 1

adoptProjectScansFunction · 0.90

Calls 1

setMethod · 0.45

Tested by

no test coverage detected