diff options
Diffstat (limited to 'include/statement.h')
-rw-r--r-- | include/statement.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/statement.h b/include/statement.h index 2c6d0dfa..de26549b 100644 --- a/include/statement.h +++ b/include/statement.h @@ -3,6 +3,7 @@ #include <list.h> #include <expression.h> +#include <json.h> extern struct stmt *expr_stmt_alloc(const struct location *loc, struct expr *expr); @@ -289,6 +290,8 @@ struct stmt_ops { void (*destroy)(struct stmt *stmt); void (*print)(const struct stmt *stmt, struct output_ctx *octx); + json_t *(*json)(const struct stmt *stmt, + struct output_ctx *octx); }; enum stmt_flags { |