2024-07-13 21:58:22 +04:00
|
|
|
(sub_unit) @local.scope
|
2022-04-26 23:55:00 +04:00
|
|
|
|
|
|
|
(function_declaration) @local.scope
|
2024-07-13 21:58:22 +04:00
|
|
|
(compound_expression) @local.scope
|
2022-04-26 23:55:00 +04:00
|
|
|
|
|
|
|
(global_binding
|
|
|
|
(identifier) @local.definition)
|
2024-07-13 21:58:22 +04:00
|
|
|
(constant_binding
|
2022-04-26 23:55:00 +04:00
|
|
|
(identifier) @local.definition)
|
2024-07-13 21:58:22 +04:00
|
|
|
(type_binding
|
2022-04-26 23:55:00 +04:00
|
|
|
(identifier) @local.definition)
|
|
|
|
|
|
|
|
(function_declaration
|
2024-07-13 21:58:22 +04:00
|
|
|
(identifier) @local.definition)
|
|
|
|
(function_declaration
|
|
|
|
(parameter (name) @local.definition))
|
2022-04-26 23:55:00 +04:00
|
|
|
|
|
|
|
(identifier) @local.reference
|
|
|
|
|