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

Method join

codegraph-kernel/src/rustlang.rs:826–828  ·  view source on GitHub ↗
(prefix: &str, seg: &str)

Source from the content-addressed store, hash-verified

824 fn emit_use_binding_refs(&mut self, node: Node<'t>, from_row: u32) {
825 let mut paths: Vec<(String, Node)> = Vec::new();
826 fn join(prefix: &str, seg: &str) -> String {
827 if prefix.is_empty() { seg.to_string() } else { format!("{prefix}::{seg}") }
828 }
829 fn collect<'t>(w: &Walker<'t>, n: Node<'t>, prefix: &str, paths: &mut Vec<(String, Node<'t>)>) {
830 stack_guard!();
831 match n.kind() {

Callers 15

preceding_docstring_withFunction · 0.45
create_nodeMethod · 0.45
extract_inheritanceMethod · 0.45
create_nodeMethod · 0.45
create_nodeMethod · 0.45
create_nodeMethod · 0.45
on_small_stackFunction · 0.45
dedent_docstringFunction · 0.45
create_nodeMethod · 0.45
create_nodeMethod · 0.45
posix_normalizeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected