[
 (function_declaration)
] @local.scope

(parameter name: (simple_identifier) @local.definition)

(simple_identifier) @local.reference