aboutsummaryrefslogtreecommitdiff
path: root/src/parse/functions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse/functions.h')
-rw-r--r--src/parse/functions.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/parse/functions.h b/src/parse/functions.h
new file mode 100644
index 00000000..24dbe952
--- /dev/null
+++ b/src/parse/functions.h
@@ -0,0 +1,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);