diff options
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); |
