(stmts: &mut Vec<pr::Stmt>, name: &str)
| 587 | } |
| 588 | |
| 589 | fn drop_module_def(stmts: &mut Vec<pr::Stmt>, name: &str) { |
| 590 | stmts.retain(|x| x.kind.as_module_def().map_or(true, |m| m.name != name)); |
| 591 | } |
| 592 | |
| 593 | fn read_files(input: &mut clio::ClioPath) -> Result<SourceTree> { |
| 594 | // Should this function move to a SourceTree constructor? |