let rec list_of_class_expr x acc = match x with | Ast.CeAnd (_, x, y) -> list_of_class_expr x (list_of_class_expr y acc) | x -> x :: acc