File tree Expand file tree Collapse file tree 2 files changed +29
-21
lines changed
Expand file tree Collapse file tree 2 files changed +29
-21
lines changed Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ func(x, y)
66 >-<
770| func(x, y)
88
9- [#1 Removal] = 0:5-0:7
10- >--<
9+ [#1 Removal] = 0:5-0:8
10+ >--- <
11110| func(x, y)
1212
13- [#1 Trailing delimiter] = 0:6-0:7
14- >-<
13+ [#1 Trailing delimiter] = 0:6-0:8
14+ >-- <
15150| func(x, y)
1616
1717[#1 Insertion delimiter] = ", "
@@ -22,12 +22,12 @@ func(x, y)
2222 >-<
23230| func(x, y)
2424
25- [#2 Removal] = 0:7 -0:9
26- > --<
25+ [#2 Removal] = 0:6 -0:9
26+ >- --<
27270| func(x, y)
2828
29- [#2 Leading delimiter] = 0:7 -0:8
30- > -<
29+ [#2 Leading delimiter] = 0:6 -0:8
30+ >- -<
31310| func(x, y)
3232
3333[#2 Insertion delimiter] = ", "
Original file line number Diff line number Diff line change 2727;; alternative: (braced_expression)? @branch.end
2828;; ) @branch.iteration
2929
30- ;; !! foo(x)
31- ;; ! ^^^^^^
32- (call) @functionCall
33-
3430;; !! function(x){ }
3531;; ! ^^^^^^^^^^^^^^
3632(function_definition) @anonymousFunction
3935;; ! ^^^^^
4036(_
4137 arguments: (arguments
42- (_)? @_.leading.endOf
43- .
44- (argument) @argumentOrParameter
45- .
46- (_)? @_.trailing.endOf
47- )
48- @_dummy
38+ ;; (
39+ (_)? @_.leading.endOf
40+ .
41+ (argument) @argumentOrParameter
42+ .
43+ (_)? @_.trailing.startOf
44+ ;; ) @_.domain
45+ ) @_dummy
4946 (#not-type? @argumentOrParameter "comment")
5047 (#single-or-multi-line-delimiter! @argumentOrParameter @_dummy ", " ",\n")
5148)
5249
53- ;; !! function(bar ){ }
54- ;; ! ^^^
50+ ;; !! function(a, b ){ }
51+ ;; ! ^^^^
5552(_
5653 parameters: (parameters
5754 open: "(" @argumentList.start.endOf @argumentOrParameter.iteration.start.endOf
6158 (#empty-single-multi-delimiter! @argumentList.start.endOf @_dummy "" ", " ",\n")
6259) @argumentList.domain @argumentOrParameter.iteration.domain
6360
61+ ;; !! foo(a, b)
62+ ;; ! ^^^^
63+ (_
64+ arguments: (arguments
65+ open: "(" @argumentList.start.endOf @argumentOrParameter.iteration.start.endOf
66+ ;; (parameter) @argumentOrParameter
67+ close: ")" @argumentList.end.startOf @argumentOrParameter.iteration.end.startOf
68+ ) @_dummy
69+ (#empty-single-multi-delimiter! @argumentList.start.endOf @_dummy "" ", " ",\n")
70+ ) @argumentList.domain @argumentOrParameter.iteration.domain
71+
6472(arguments
6573 "(" @argumentOrParameter.iteration.start.endOf
6674 ")" @argumentOrParameter.iteration.end.startOf
You can’t perform that action at this time.
0 commit comments