gitnexus 1.6.9-rc.23 → 1.6.9-rc.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -25,6 +25,9 @@ export const TYPESCRIPT_QUERIES = `
|
|
|
25
25
|
(function_declaration
|
|
26
26
|
name: (identifier) @name) @definition.function
|
|
27
27
|
|
|
28
|
+
(generator_function_declaration
|
|
29
|
+
name: (identifier) @name) @definition.function
|
|
30
|
+
|
|
28
31
|
; TypeScript overload signatures (function_signature is a separate node type from function_declaration)
|
|
29
32
|
(function_signature
|
|
30
33
|
name: (identifier) @name) @definition.function
|
|
@@ -371,6 +374,9 @@ export const JAVASCRIPT_QUERIES = `
|
|
|
371
374
|
(function_declaration
|
|
372
375
|
name: (identifier) @name) @definition.function
|
|
373
376
|
|
|
377
|
+
(generator_function_declaration
|
|
378
|
+
name: (identifier) @name) @definition.function
|
|
379
|
+
|
|
374
380
|
(method_definition
|
|
375
381
|
name: (property_identifier) @name) @definition.method
|
|
376
382
|
|
package/package.json
CHANGED