pub fn substitute_symbol(&mut self, target: &Symbol, with: &Symbol) {
        for child in self.kind.children_mut() {
            if child == target {
                *child = with.clone();
            }
        }
    }
Substitutes the symbol `target` with the symbol `with` in this statement.

This does not substitute the output.
weld/src/sir/mod.rs