method str_item =
fun st ->
match super#str_item st with
| Ast.StSem (_, (Ast.StNil _), st) |
Ast.StSem (_, st, (Ast.StNil _)) -> st
| Ast.StTyp (loc, (Ast.TyNil _)) -> Ast.StNil loc
| Ast.StVal (loc, _, (Ast.BiNil _)) -> Ast.StNil loc
| st -> st