2024-04-25 15:43:41 +02:00
|
|
|
; Scopes
|
|
|
|
|
(function
|
|
|
|
|
body: (_) @local.scope)
|
|
|
|
|
|
|
|
|
|
; Definitions
|
|
|
|
|
(arg
|
2024-05-29 08:55:35 +02:00
|
|
|
(variable) @local.definition.parameter)
|
2024-04-25 15:43:41 +02:00
|
|
|
|
|
|
|
|
(assign
|
|
|
|
|
(identifier) @local.definition.var)
|
|
|
|
|
|
|
|
|
|
(for_args
|
2024-05-29 08:55:35 +02:00
|
|
|
(variable) @local.definition.var)
|
2024-04-25 15:43:41 +02:00
|
|
|
|
|
|
|
|
(match_patterns
|
2024-05-29 08:55:35 +02:00
|
|
|
(variable) @local.definition.var)
|
2024-04-25 15:43:41 +02:00
|
|
|
|
|
|
|
|
(import_item
|
|
|
|
|
(identifier) @local.definition.import)
|
|
|
|
|
|
|
|
|
|
(entry_block
|
|
|
|
|
(identifier) @local.definition.field)
|
|
|
|
|
|
|
|
|
|
(entry_inline
|
|
|
|
|
(identifier) @local.definition.field)
|
|
|
|
|
|
|
|
|
|
; References
|
|
|
|
|
(identifier) @local.reference
|