aboutsummaryrefslogtreecommitdiff
path: root/src/formatter/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/formatter/utils.h')
-rw-r--r--src/formatter/utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/formatter/utils.h b/src/formatter/utils.h
index a8def627..df9c9b92 100644
--- a/src/formatter/utils.h
+++ b/src/formatter/utils.h
@@ -26,3 +26,5 @@ Text_t indent_code(Text_t code);
Text_t parenthesize(Text_t code, Text_t indent);
CONSTFUNC ast_t *unwrap_block(ast_t *ast);
CONSTFUNC const char *binop_tomo_operator(ast_e tag);
+OptionalText_t termify_inline(ast_t *ast, Table_t comments);
+Text_t termify(ast_t *ast, Table_t comments, Text_t indent);