Skip to main content

collect_binding_names

Function collect_binding_names 

Source
pub fn collect_binding_names(
    pattern: &BindingPattern<'_>,
    names: &mut Vec<String>,
)
Expand description

Collect all leaf identifier names from a BindingPattern. Used by preprocess and infer to register variable names without access paths.