aboutsummaryrefslogtreecommitdiff
path: root/src/parse/typedefs.h
blob: 1a746cff3a25f7c094fef0508d5c89afd6d33f2a (plain)
1
2
3
4
5
6
7
8
9
10
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);