llm
Download
10 lines 329 BCModified 2025-10-05 raw
12345678910
// 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_namespace(parse_ctx_t *ctx, const char *pos);