Skip to content

Commit

Permalink
Switch subject
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasArvidsson committed Nov 19, 2023
1 parent 67e2708 commit a33437d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions queries/javascript.core.scm
Original file line number Diff line number Diff line change
Expand Up @@ -463,3 +463,8 @@
(array)
(array_pattern)
] @list

(switch_statement
value: (_) @switchStatementSubject
(#child-range! @switchStatementSubject 0 -1 true true)
) @_.domain

0 comments on commit a33437d

Please sign in to comment.