helix/runtime/queries/solidity/locals.scm
2025-03-27 10:50:04 -04:00

8 lines
319 B
Scheme

(function_definition) @local.scope
(constructor_definition) @local.scope
(block_statement) @local.scope
(function_definition (parameter name: (identifier) @local.definition.variable.parameter))
(constructor_definition (parameter name: (identifier) @local.definition.variable.parameter))
(identifier) @local.reference