pub fn gen_fold(ir: &Ir) -> String
Expand description

Generates a fold transformer for a mutable AST.

Returns a string of Rust code that should be compiled alongside the module from which it was generated.