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

Function cppNameMacros

src/resolution/cpp-namespaces.ts:121–123  ·  view source on GitHub ↗
(context: ResolutionContext)

Source from the content-addressed store, hash-verified

119 * `namespace ROCKSDB_NAMESPACE` is `rocksdb` to code that names it.
120 */
121export function cppNameMacros(context: ResolutionContext): ReadonlyMap<string, string> {
122 return cppNamespaceMacros(context).aliases;
123}
124
125/** The line ranges of a C / C++ file each namespace macro opens, with the namespace path it opens. */
126export function cppMacroNamespaceFrames(file: string, context: ResolutionContext): Array<{ start: number; end: number; path: string[] }> {

Callers 1

Calls 1

cppNamespaceMacrosFunction · 0.85

Tested by

no test coverage detected