| 1 | ; Scopes |
| 2 | (module (_) @local.scope) |
| 3 | |
| 4 | (function |
| 5 | body: (_) @local.scope) |
| 6 | |
| 7 | ; Definitions |
| 8 | (arg |
| 9 | (identifier) @local.definition.variable.parameter) |
| 10 | |
| 11 | (arg |
| 12 | (variable (identifier)) @local.definition.variable.parameter) |
| 13 | |
| 14 | (import_item |
| 15 | (identifier) @local.definition.namespace) |
| 16 | |
| 17 | (entry_block |
| 18 | (identifier) @local.definition.variable.other.member) |
| 19 | |
| 20 | (entry_inline |
| 21 | (identifier) @local.definition.variable.other.member) |
| 22 | |
| 23 | ; References |
| 24 | (identifier) @local.reference |