on 59bf166 help sign in
29 lines 447 B history raw
1; Scopes
2;-------
4[
5 (statement_block)
6 (function)
7 (arrow_function)
8 (function_declaration)
9 (method_definition)
10] @local.scope
12; Definitions
13;------------
15(pattern/identifier) @local.definition
17(pattern/rest_pattern
18 (identifier) @local.definition)
20(arrow_function
21 parameter: (identifier) @local.definition)
23(variable_declarator
24 name: (identifier) @local.definition)
26; References
27;------------
29(identifier) @local.reference