aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/hare/folds.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/hare/folds.scm')
-rw-r--r--runtime/queries/hare/folds.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/runtime/queries/hare/folds.scm b/runtime/queries/hare/folds.scm
new file mode 100644
index 000000000..58b10bfdc
--- /dev/null
+++ b/runtime/queries/hare/folds.scm
@@ -0,0 +1,18 @@
+[
+ (imports)
+ (function_declaration)
+ (enum_type)
+ (struct_type)
+ (tuple_type)
+ (union_type)
+ (block)
+ (if_statement)
+ (for_statement)
+ (call_expression)
+ (switch_expression)
+ (match_expression)
+ (case)
+ (array_literal)
+ (struct_literal)
+ (tuple_literal)
+] @fold