| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
(const_statement |
| 7 |
(assignment |
| 8 |
. (identifier) @local.definition.constant)) |
| 9 |
|
| 10 |
|
| 11 |
(argument_list |
| 12 |
(identifier) @local.definition.variable.parameter) |
| 13 |
|
| 14 |
(argument_list |
| 15 |
(assignment |
| 16 |
. (identifier) @local.definition.variable.parameter)) |
| 17 |
|
| 18 |
(argument_list |
| 19 |
(splat_expression |
| 20 |
(identifier) @local.definition.variable.parameter)) |
| 21 |
|
| 22 |
(argument_list |
| 23 |
(typed_expression |
| 24 |
. (identifier) @local.definition.variable.parameter)) |
| 25 |
|
| 26 |
|
| 27 |
(arrow_function_expression |
| 28 |
. |
| 29 |
(identifier) @local.definition.variable.parameter) |
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
|
| 34 |
|
| 35 |
(identifier) @local.reference |
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
(call_expression |
| 41 |
. (identifier) @_) |
| 42 |
(field_expression |
| 43 |
(_) |
| 44 |
(identifier) @_) |
| 45 |
(call_expression |
| 46 |
(argument_list |
| 47 |
(assignment |
| 48 |
. (identifier) @_))) |
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
|
| 53 |
|
| 54 |
[ |
| 55 |
(for_statement) |
| 56 |
(while_statement) |
| 57 |
(try_statement) |
| 58 |
(catch_clause) |
| 59 |
(finally_clause) |
| 60 |
(let_statement) |
| 61 |
(quote_statement) |
| 62 |
(do_clause) |
| 63 |
(function_definition) |
| 64 |
(macro_definition) |
| 65 |
] @local.scope |
| 66 |
|