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

Method join

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

Source from the content-addressed store, hash-verified

781 fn emit_use_binding_refs(&mut self, node: Node<'t>, from_row: u32) {
782 let mut paths: Vec<(String, Node)> = Vec::new();
783 fn join(prefix: &str, seg: &str) -> String {
784 if prefix.is_empty() { seg.to_string() } else { format!("{prefix}::{seg}") }
785 }
786 fn collect<'t>(w: &Walker<'t>, n: Node<'t>, prefix: &str, paths: &mut Vec<(String, Node<'t>)>) {
787 stack_guard!();
788 match n.kind() {

Callers 15

preceding_docstringFunction · 0.45
create_nodeMethod · 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
create_nodeMethod · 0.45
create_nodeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected