Skip to main content

gen_visit

Function gen_visit 

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

Generates a visitor for an immutable AST.

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