aboutsummaryrefslogtreecommitdiff
path: root/src/formatter/types.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-08-25 23:53:03 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-08-25 23:53:03 -0400
commit91b6746fe1315aa9c09936b69cea3892c04c11af (patch)
tree338a167cf476e9c27529b05fdd6b1e4c5dd48612 /src/formatter/types.h
parent8898144eeaeab90cefeb6cbf746e9a336bf239be (diff)
Split out formatter into subfiles
Diffstat (limited to 'src/formatter/types.h')
-rw-r--r--src/formatter/types.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/formatter/types.h b/src/formatter/types.h
new file mode 100644
index 00000000..1f0698b3
--- /dev/null
+++ b/src/formatter/types.h
@@ -0,0 +1,9 @@
+// Logic for formatting types
+
+#pragma once
+
+#include "../ast.h"
+#include "../stdlib/datatypes.h"
+
+OptionalText_t format_inline_type(type_ast_t *type, Table_t comments);
+Text_t format_type(type_ast_t *type, Table_t comments, Text_t indent);