Function skiff::interpreter::interpret::find_data_declarations[][src]

pub fn find_data_declarations(program: &Program) -> Result<Program, InterpError>
Expand description

Find every data declaration in a program and add one constructor function to the progam for each variant of each data declaration.