aboutsummaryrefslogtreecommitdiff
path: root/src/parse/containers.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-08-25 00:53:00 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-08-25 00:53:00 -0400
commit75376335580c539512d459292d73e8ad4d7fe1af (patch)
tree4594eccfef6c9d02b51427c61b74d282c91d61b1 /src/parse/containers.h
parent1f93e82303f19029394c3e1d2c375c23d56a6498 (diff)
Split out container type parsing
Diffstat (limited to 'src/parse/containers.h')
-rw-r--r--src/parse/containers.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/parse/containers.h b/src/parse/containers.h
new file mode 100644
index 00000000..6bf75274
--- /dev/null
+++ b/src/parse/containers.h
@@ -0,0 +1,9 @@
+// Logic for parsing container types (lists, sets, tables)
+#pragma once
+
+#include "../ast.h"
+#include "context.h"
+
+ast_t *parse_list(parse_ctx_t *ctx, const char *pos);
+ast_t *parse_set(parse_ctx_t *ctx, const char *pos);
+ast_t *parse_table(parse_ctx_t *ctx, const char *pos);