aboutsummaryrefslogtreecommitdiff
path: root/src/parse/functions.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-08-25 00:49:29 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-08-25 00:49:29 -0400
commit1f93e82303f19029394c3e1d2c375c23d56a6498 (patch)
tree3d7fa048d36cb903f2f9af5827c720a586125f26 /src/parse/functions.h
parentc6014873d83889e4bf598f6073c771480da20b7b (diff)
Split out function parsing.
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);