feat: add kos parser and queries (#8389)

This commit is contained in:
Chris Dragan 2026-01-04 10:08:07 +00:00 committed by GitHub
parent 300b906a95
commit 31fc7e10cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 365 additions and 0 deletions

View file

@ -0,0 +1,19 @@
[
(function_decl)
(constructor_literal)
(function_literal)
(class_decl)
(class_literal)
(do_statement)
(if_statement)
(try_statement)
(defer_statement)
(with_statement)
(switch_statement)
(switch_case)
(default_case)
(loop_statement)
(repeat_statement)
(while_statement)
(for_statement)
] @fold