Add generator functions to ecma queries

This commit is contained in:
kraftwerk28 2021-03-23 23:50:36 +02:00 committed by Kiyan
parent 548a0d8d7f
commit 09045354c0
2 changed files with 6 additions and 0 deletions

View file

@ -37,6 +37,10 @@
name: (identifier) @function)
(function_declaration
name: (identifier) @function)
(generator_function
name: (identifier) @function)
(generator_function_declaration
name: (identifier) @function)
(method_definition
name: (property_identifier) @method)