aboutsummaryrefslogtreecommitdiff
path: root/src/formatter/utils.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-08-26 02:54:56 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-08-26 02:54:56 -0400
commit5b06702dde3f53510a3d64a8156a349914afa605 (patch)
tree86f3103b075056098d861c19c678f53e96c3c07a /src/formatter/utils.h
parent180a48ed733bf0ee1e296e3afe5a9be2d1deebcf (diff)
Fixes for unops
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);