From fbc6b59305d8414bb1cb471ea3f85a8d926beb4f Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 25 Aug 2025 01:26:47 -0400 Subject: Further split out files for parsing --- src/parse/typedefs.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/parse/typedefs.h (limited to 'src/parse/typedefs.h') 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); -- cgit v1.2.3