2024-01-06 15:05:50 +09:00
|
|
|
; Fusion base
|
2023-07-22 15:29:32 +02:00
|
|
|
(block) @local.scope
|
2021-12-27 20:37:59 +01:00
|
|
|
|
|
|
|
|
(namespace_declaration
|
2023-07-22 15:29:32 +02:00
|
|
|
(alias_namespace) @local.definition.namespace)
|
2021-12-27 20:37:59 +01:00
|
|
|
|
|
|
|
|
(property
|
2024-01-06 15:05:50 +09:00
|
|
|
(path
|
|
|
|
|
(path_part) @local.definition.field))
|
2021-12-27 20:37:59 +01:00
|
|
|
|
|
|
|
|
(type
|
2023-07-22 15:29:32 +02:00
|
|
|
namespace: (package_name)? @local.definition.namespace
|
2024-01-06 15:05:50 +09:00
|
|
|
name: (type_name) @local.definition.type)
|
2021-12-27 20:37:59 +01:00
|
|
|
|
2024-01-06 15:05:50 +09:00
|
|
|
; Eel Expressions
|
2023-07-22 15:29:32 +02:00
|
|
|
(eel_arrow_function) @local.scope
|
2024-01-06 15:05:50 +09:00
|
|
|
|
2023-07-22 15:29:32 +02:00
|
|
|
(eel_object) @local.scope
|
2021-11-26 16:37:51 +01:00
|
|
|
|
2023-07-22 15:29:32 +02:00
|
|
|
(eel_parameter) @local.definition.parameter
|
2024-01-06 15:05:50 +09:00
|
|
|
|
2021-12-27 20:37:59 +01:00
|
|
|
(eel_object_pair
|
2023-07-22 15:29:32 +02:00
|
|
|
key: (eel_property_name) @local.definition.field)
|