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.h | |
| parent | 8898144eeaeab90cefeb6cbf746e9a336bf239be (diff) | |
Split out formatter into subfiles
Diffstat (limited to 'src/formatter.h')
| -rw-r--r-- | src/formatter.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/formatter.h b/src/formatter.h deleted file mode 100644 index bead52ec..00000000 --- a/src/formatter.h +++ /dev/null @@ -1,11 +0,0 @@ -// This code defines functions for transforming ASTs back into Tomo source text - -#pragma once - -#include "ast.h" -#include "stdlib/datatypes.h" - -Text_t format_file(const char *path); -Text_t format_code(ast_t *ast, Table_t comments, Text_t indentation); -OptionalText_t format_inline_code(ast_t *ast, Table_t comments); -OptionalText_t next_comment(Table_t comments, const char **pos, const char *end); |
