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

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

arg_ast_t *parse_args(parse_ctx_t *ctx, const char **pos);
ast_t *parse_lambda(parse_ctx_t *ctx, const char *pos);
ast_t *parse_func_def(parse_ctx_t *ctx, const char *pos);
ast_t *parse_convert_def(parse_ctx_t *ctx, const char *pos);