MCPcopy Create free account
hub / github.com/concensure/Semantic / module_path_from_scope

Function module_path_from_scope

semantic_rust/src/extractor.rs:282–288  ·  view source on GitHub ↗
(module_scope: &[String])

Source from the content-addressed store, hash-verified

280}
281
282fn module_path_from_scope(module_scope: &[String]) -> Option<String> {
283 if module_scope.is_empty() {
284 None
285 } else {
286 Some(module_scope.join("::"))
287 }
288}
289
290fn extract_import(node: Node<'_>, source: &str) -> RustImport {
291 let text = node_text(node, source);

Callers 3

walk_nodeFunction · 0.85
push_named_symbolFunction · 0.85
push_function_symbolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…