aboutsummaryrefslogtreecommitdiff
path: root/src/formatter/args.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/formatter/args.h')
-rw-r--r--src/formatter/args.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/formatter/args.h b/src/formatter/args.h
new file mode 100644
index 00000000..42722f32
--- /dev/null
+++ b/src/formatter/args.h
@@ -0,0 +1,13 @@
+// Logic for formatting arguments and argument lists
+
+#pragma once
+
+#include "../ast.h"
+#include "../stdlib/datatypes.h"
+
+OptionalText_t format_inline_arg(arg_ast_t *arg, Table_t comments);
+Text_t format_arg(arg_ast_t *arg, Table_t comments, Text_t indent);
+OptionalText_t format_inline_args(arg_ast_t *args, Table_t comments);
+Text_t format_args(arg_ast_t *args, Table_t comments, Text_t indent);
+OptionalText_t format_inline_tag(tag_ast_t *tag, Table_t comments);
+Text_t format_tag(tag_ast_t *tag, Table_t comments, Text_t indent);