| 1 | ; Scopes |
| 2 | ;------- |
| 3 | |
| 4 | [ |
| 5 | (statement_block) |
| 6 | (arrow_function) |
| 7 | (function_expression) |
| 8 | (function_declaration) |
| 9 | (method_definition) |
| 10 | (for_statement) |
| 11 | (for_in_statement) |
| 12 | (catch_clause) |
| 13 | (finally_clause) |
| 14 | ] @local.scope |
| 15 | |
| 16 | ; Definitions |
| 17 | ;------------ |
| 18 | |
| 19 | ; i => ... |
| 20 | (arrow_function |
| 21 | parameter: (identifier) @local.definition.variable.parameter) |
| 22 | |
| 23 | ; References |
| 24 | ;------------ |
| 25 | |
| 26 | (identifier) @local.reference |