diff options
Diffstat (limited to 'src/parse/statements.h')
| -rw-r--r-- | src/parse/statements.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/parse/statements.h b/src/parse/statements.h new file mode 100644 index 00000000..fbc1af8f --- /dev/null +++ b/src/parse/statements.h @@ -0,0 +1,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_doctest(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); |
