File tree Expand file tree Collapse file tree 1 file changed +16
-17
lines changed
Expand file tree Collapse file tree 1 file changed +16
-17
lines changed Original file line number Diff line number Diff line change 503503 (#child-range! @private.switchStatementSubject 0 -1 true true)
504504) @_.domain
505505
506- ;; !! foo()
507- ;; ! ^^^^^
508- ;; !! new Foo()
509- ;; ! ^^^^^^^^^
510- [
511- (call_expression)
512- (new_expression)
513- ] @functionCall
514-
515- ;; !! foo()
506+ ;; !! foo();
507+ ;; ! ^^^^^^
516508;; ! ^^^
517509;; ! -----
518- (call_expression
519- function: (_) @functionCallee
520- ) @_.domain
510+ (
511+ (call_expression
512+ function: (_) @functionCallee
513+ ) @functionCall @_.domain
514+ (#insertion-delimiter! @functionCall ";\n")
515+ )
521516
522- ;; !! new Foo()
517+ ;; !! new Foo();
518+ ;; ! ^^^^^^^^^^
523519;; ! ^^^^^^^
524520;; ! ---------
525- (new_expression
526- (arguments) @functionCallee.end.startOf
527- ) @functionCallee.start.startOf @_.domain
521+ (
522+ (new_expression
523+ (arguments) @functionCallee.end.startOf
524+ ) @functionCall @functionCallee.start.startOf @_.domain
525+ (#insertion-delimiter! @functionCall ";\n")
526+ )
528527
529528;; !! class Foo {}
530529;; ! ^^^^^^^^^^^^
You can’t perform that action at this time.
0 commit comments