pub fn build_scope_chain(node: Node<'_>, source: &str) -> StringExpand description
Walk up the AST parent chain collecting structural container names.
Produces a scope chain like "impl_item Foo > fn forward" by
identifying structural containers (impl blocks, classes, modules, namespaces)
and extracting their names. Tries the name field first, then type
(for Rust impl_item which uses type instead of name).