helix/runtime/queries/solidity/locals.scm
2024-09-13 13:28:20 -05:00

9 lines
272 B
Scheme

(function_definition) @local.scope
(block_statement) @local.scope
(function_definition (parameter name: (identifier) @local.definition))
; still have to support tuple assignments
(assignment_expression left: (identifier) @local.definition)
(identifier) @local.reference