aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/php_only/folds.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/php_only/folds.scm')
-rw-r--r--runtime/queries/php_only/folds.scm17
1 files changed, 17 insertions, 0 deletions
diff --git a/runtime/queries/php_only/folds.scm b/runtime/queries/php_only/folds.scm
new file mode 100644
index 000000000..43453b174
--- /dev/null
+++ b/runtime/queries/php_only/folds.scm
@@ -0,0 +1,17 @@
+[
+ (if_statement)
+ (switch_statement)
+ (while_statement)
+ (do_statement)
+ (for_statement)
+ (foreach_statement)
+ (try_statement)
+ (function_definition)
+ (class_declaration)
+ (interface_declaration)
+ (trait_declaration)
+ (enum_declaration)
+ (function_static_declaration)
+ (method_declaration)
+ (namespace_use_declaration)+
+] @fold