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

Method extract_name

codegraph-kernel/src/ccpp/mod.rs:581–583  ·  view source on GitHub ↗

extractName: extractNameRaw + the universal recoverMangledName net (wired for BOTH c and cpp in languages/c-cpp.ts).

(&self, node: Node)

Source from the content-addressed store, hash-verified

579 /// extractName: extractNameRaw + the universal recoverMangledName net
580 /// (wired for BOTH c and cpp in languages/c-cpp.ts).
581 fn extract_name(&self, node: Node) -> String {
582 recover_mangled_cpp_name(self.extract_name_raw(node))
583 }
584
585 /// extractNameRaw for the c/cpp extractor configs (nameField 'declarator';
586 /// cpp resolveName = extractCppQualifiedMethodName).

Callers 7

extract_functionMethod · 0.45
extract_methodMethod · 0.45
extract_classMethod · 0.45
extract_structMethod · 0.45
extract_enumMethod · 0.45
extract_type_aliasMethod · 0.45

Calls 2

recover_mangled_cpp_nameFunction · 0.85
extract_name_rawMethod · 0.80

Tested by

no test coverage detected