| 1 | ; Scopes @local.scope |
| 2 | ; ------------------------- |
| 3 | |
| 4 | [ |
| 5 | (static_function) |
| 6 | (init_function) |
| 7 | (bounced_function) |
| 8 | (receive_function) |
| 9 | (external_function) |
| 10 | (function) |
| 11 | (block_statement) |
| 12 | ] @local.scope |
| 13 | |
| 14 | ; Definitions @local.definition |
| 15 | ; ------------------------------ |
| 16 | |
| 17 | (parameter |
| 18 | name: (identifier) @local.definition.variable.parameter) |
| 19 | |
| 20 | (constant |
| 21 | name: (identifier) @local.definition.constant) |
| 22 | |
| 23 | ; References @local.reference |
| 24 | ; ----------------------------- |
| 25 | |
| 26 | (self) @local.reference |
| 27 | |
| 28 | (value_expression (identifier) @local.reference) |
| 29 | |
| 30 | (lvalue (identifier) @local.reference) |