feat(circom): add parser and queries

This commit is contained in:
Alexandr Martirosyan 2024-12-06 21:41:37 +04:00 committed by GitHub
parent c56507f6a1
commit be17791f86
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 175 additions and 0 deletions

12
queries/circom/locals.scm Normal file
View file

@ -0,0 +1,12 @@
(function_definition) @local.scope
(template_definition) @local.scope
(main_component_definition) @local.scope
(block_statement) @local.scope
(parameter
name: (identifier) @local.definition) @local.definition
(identifier) @local.reference