2023-07-22 15:29:32 +02:00
|
|
|
(parenthesis) @local.scope
|
2024-01-06 15:05:50 +09:00
|
|
|
|
2023-07-22 15:29:32 +02:00
|
|
|
(anonymous_function) @local.scope
|
2024-01-06 15:05:50 +09:00
|
|
|
|
2023-07-22 15:29:32 +02:00
|
|
|
(object) @local.scope
|
2024-01-06 15:05:50 +09:00
|
|
|
|
2023-07-22 15:29:32 +02:00
|
|
|
(field) @local.scope
|
2024-01-06 15:05:50 +09:00
|
|
|
|
2023-07-22 15:29:32 +02:00
|
|
|
(local_bind) @local.scope
|
2023-08-25 19:55:22 +02:00
|
|
|
|
|
|
|
|
(field
|
2024-03-21 20:44:35 +09:00
|
|
|
function: (fieldname
|
|
|
|
|
(id) @local.definition.function)
|
2024-07-27 16:28:19 -07:00
|
|
|
(#set! definition.function.scope "parent"))
|
2023-08-25 19:55:22 +02:00
|
|
|
|
2024-01-06 15:05:50 +09:00
|
|
|
(bind
|
|
|
|
|
(id) @local.definition.var)
|
|
|
|
|
|
|
|
|
|
(bind
|
|
|
|
|
function: (id) @local.definition.function)
|
2023-08-25 19:55:22 +02:00
|
|
|
|
2024-01-06 15:05:50 +09:00
|
|
|
(param
|
|
|
|
|
(id) @local.definition.parameter)
|
2023-08-25 19:55:22 +02:00
|
|
|
|
2023-07-22 15:29:32 +02:00
|
|
|
(id) @local.reference
|
2024-01-06 15:05:50 +09:00
|
|
|
|
2023-08-25 19:55:22 +02:00
|
|
|
;(fieldname (id) (#is-not? local)) ; (#is-not?) not supported yet
|