let rec list_of_class_str_item x acc = match x with | Ast.CrNil _ -> acc | Ast.CrSem (_, x, y) -> list_of_class_str_item x (list_of_class_str_item y acc) | x -> x :: acc