Skip to content

Commit

Permalink
add generators, switch statements and cases to ecma queries
Browse files Browse the repository at this point in the history
  • Loading branch information
kristoff-it committed Sep 23, 2023
1 parent c635f18 commit 8e1206f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions runtime/queries/ecma/context.scm
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
(formal_parameters) @context.params
) @context

(generator_function_declaration
(formal_parameters) @context.params
) @context

[
(call_expression)
(class_declaration)
Expand All @@ -21,5 +25,7 @@
(object)
(pair)
(while_statement)
(switch_statement)
(switch_case)
] @context

0 comments on commit 8e1206f

Please sign in to comment.