on aeaeb09 help sign in
14 lines 364 B history raw
1; Definitions
2;------------
3; Javascript and Typescript Treesitter grammars deviate when defining the
4; tree structure for parameters, so we need to address them in each specific
5; language instead of ecma.
7; (i)
8(formal_parameters
9 (identifier) @local.definition)
11; (i = 1)
12(formal_parameters
13 (assignment_pattern
14 left: (identifier) @local.definition))