diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-08-25 01:26:47 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-08-25 01:26:47 -0400 |
| commit | fbc6b59305d8414bb1cb471ea3f85a8d926beb4f (patch) | |
| tree | 0e2c7f32d7cc64f5fdc56d3086766d5bfcbe9d25 /src/parse/typedefs.h | |
| parent | bbcc85eec5ccccd7cd7573f15510ceccfe42cc0d (diff) | |
Further split out files for parsing
Diffstat (limited to 'src/parse/typedefs.h')
| -rw-r--r-- | src/parse/typedefs.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/parse/typedefs.h b/src/parse/typedefs.h new file mode 100644 index 00000000..1a746cff --- /dev/null +++ b/src/parse/typedefs.h @@ -0,0 +1,11 @@ +// Parsing logic for type definitions +#pragma once + +#include "../ast.h" +#include "context.h" + +ast_t *parse_lang_def(parse_ctx_t *ctx, const char *pos); +ast_t *parse_enum_def(parse_ctx_t *ctx, const char *pos); +ast_t *parse_struct_def(parse_ctx_t *ctx, const char *pos); +ast_t *parse_extend(parse_ctx_t *ctx, const char *pos); +ast_t *parse_namespace(parse_ctx_t *ctx, const char *pos); |
