1 #ifndef _PSI_TYPES_IMPL_STMT_H
2 #define _PSI_TYPES_IMPL_STMT_H
4 typedef struct impl_stmt
{
15 static inline impl_stmt
*init_impl_stmt(token_t type
, void *ptr
) {
16 impl_stmt
*stmt
= calloc(1, sizeof(*stmt
));
22 static inline void free_impl_stmt(impl_stmt
*stmt
) {
25 free_let_stmt(stmt
->s
.let
);
28 free_set_stmt(stmt
->s
.set
);
31 free_return_stmt(stmt
->s
.ret
);
34 free_free_stmt(stmt
->s
.fre
);