code / tomo

Lines41.3K C23.7K Markdown9.7K YAML5.0K Tomo2.3K
7 others 763
Python231 Shell230 make212 INI47 Text21 SVG16 Lua6
(12 lines)
1 // Logic for parsing statements
2 #pragma once
4 #include "../ast.h"
5 #include "context.h"
7 ast_t *parse_assignment(parse_ctx_t *ctx, const char *pos);
8 ast_t *parse_declaration(parse_ctx_t *ctx, const char *pos);
9 ast_t *parse_debug_log(parse_ctx_t *ctx, const char *pos);
10 ast_t *parse_assert(parse_ctx_t *ctx, const char *pos);
11 ast_t *parse_statement(parse_ctx_t *ctx, const char *pos);
12 ast_t *parse_update(parse_ctx_t *ctx, const char *pos);