feat(vrl): Add vrl parser and queries

This commit is contained in:
belltoy 2024-07-28 13:15:43 +08:00 committed by Christian Clason
parent cc69a061fe
commit 9f8c99e980
8 changed files with 172 additions and 0 deletions

16
queries/vrl/locals.scm Normal file
View file

@ -0,0 +1,16 @@
(closure_variables
(ident) @local.definition.parameter)
[
(ident)
(metadata)
] @local.reference
(query
(event) @local.reference)
[
(block)
(closure)
(if_statement)
] @local.scope