File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 268268 ) @condition.domain
269269 (#not-parent-type? @condition.domain if_statement)
270270 (#insertion-delimiter! @branch.start " ")
271+ (#shrink-to-match! @condition "^\\(?(?<keep>[^)]*)\\)?$")
271272)
272273
273274;; !! else if true {}
278279 consequence: (_) @branch.end @condition.domain.end
279280 )
280281 (#insertion-delimiter! @branch.start " ")
282+ (#shrink-to-match! @condition "^\\(?(?<keep>[^)]*)\\)?$")
281283)
282284
283285;; !! else {}
360362 result: (_) @type
361363) @_.domain
362364
363- ;; !! if (true) {}
364- (
365- (_
366- condition: (parenthesized_expression) @condition
367- ) @_.domain
368- (#child-range! @condition 0 -1 true true)
369- )
370-
371365;; !! for i := 0; i < size; i++ {}
372366;; ! ^^^^^^^^
373367(for_statement
You can’t perform that action at this time.
0 commit comments