pub fn collect_var_asgns(program: &StmtList) -> HashMap<InternedStr, Vec<&Assignment>> {
    let mut collector = VarAsgnsCollector::default();
    collector.visit_stmt_list(program);
    collector.defs
}
/// Collects variable assignments in a program.
Collects variable assignments in a program.
Collects variable assignments in a program .
pub fn collect_var_asgns(program: &StmtList) -> HashMap<InternedStr, Vec<&Assignment>> {
    let mut collector = VarAsgnsCollector::default();
    collector.visit_stmt_list(program);
    collector.defs
}
pub fn collect_var_asgns ( program : & StmtList ) -> HashMap < InternedStr , Vec < & Assignment > > { let mut collector = VarAsgnsCollector :: default ( ) ; collector . visit_stmt_list ( program ) ; collector . defs }
Collects variable assignments in a program.
Collects variable assignments in a program .
program
&StmtList
program
&StmtList