aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/solidity/locals.scm
blob: 29bdc02cb9955fae2a2be94f54cca1cfa5e5c297 (plain) (blame)
1
2
3
4
5
6
7
8
9
(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