feat(razor): add parser and queries (#7545)

This commit is contained in:
Tristan Knight 2025-02-01 19:06:26 +00:00 committed by GitHub
parent bcd0b26607
commit 39bf51ff68
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 95 additions and 0 deletions

14
queries/razor/folds.scm Normal file
View file

@ -0,0 +1,14 @@
[
(razor_if)
(razor_switch)
(razor_for)
(razor_foreach)
(razor_while)
(razor_do_while)
(razor_try)
(razor_catch)
(razor_finally)
(razor_compound_using)
(razor_section)
(razor_block)
] @fold