use uniplate::Uniplate; #[derive(Eq, PartialEq, Clone, Debug, Uniplate)] enum Stmt { Assign(String, Expr), //Sequence(Vec), If(Expr, Box, Box), While(Expr, Box), } #[derive(Eq, PartialEq, Clone, Debug, Uniplate)] #[uniplate()] enum Expr {} pub fn main() { }