aboutsummaryrefslogtreecommitdiff
path: root/src/parse/statements.h
blob: ebf90c90d60b8669be59998a8318a648a4685858 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Logic for parsing statements
#pragma once

#include "../ast.h"
#include "context.h"

ast_t *parse_assignment(parse_ctx_t *ctx, const char *pos);
ast_t *parse_declaration(parse_ctx_t *ctx, const char *pos);
ast_t *parse_debug_log(parse_ctx_t *ctx, const char *pos);
ast_t *parse_assert(parse_ctx_t *ctx, const char *pos);
ast_t *parse_statement(parse_ctx_t *ctx, const char *pos);
ast_t *parse_update(parse_ctx_t *ctx, const char *pos);