diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-08-25 23:53:03 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-08-25 23:53:03 -0400 |
| commit | 91b6746fe1315aa9c09936b69cea3892c04c11af (patch) | |
| tree | 338a167cf476e9c27529b05fdd6b1e4c5dd48612 /src/formatter/args.h | |
| parent | 8898144eeaeab90cefeb6cbf746e9a336bf239be (diff) | |
Split out formatter into subfiles
Diffstat (limited to 'src/formatter/args.h')
| -rw-r--r-- | src/formatter/args.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/formatter/args.h b/src/formatter/args.h new file mode 100644 index 00000000..815069a4 --- /dev/null +++ b/src/formatter/args.h @@ -0,0 +1,15 @@ +// 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); +OptionalText_t format_inline_tags(tag_ast_t *tags, Table_t comments); +Text_t format_tags(tag_ast_t *tags, Table_t comments, Text_t indent); |
