@@ -344,6 +344,10 @@ Argument START is the starting point ot the insertion."
344344 (docstr-writers--insert-return return-type-str nil prefix)
345345 (docstr-writers-after start)))))
346346
347+ (defun docstr-writers-groovy (search-string )
348+ " Insert document string for Groovy using SEARCH-STRING."
349+ (docstr-writers-javascript search-string))
350+
347351(defun docstr-writers-java (search-string )
348352 " Insert document string for Java using SEARCH-STRING."
349353 (let* ((start (point )) (prefix " \n * " )
@@ -356,6 +360,16 @@ Argument START is the starting point ot the insertion."
356360 (docstr-writers--insert-return return-type-str '(" void" ) prefix)
357361 (docstr-writers-after start)))
358362
363+ (defun docstr-writers-javascript (search-string )
364+ " Insert document string for JavaScript using SEARCH-STRING."
365+ (let* ((start (point )) (prefix " \n * " )
366+ (paren-param-list (docstr-writers--paren-param-list search-string))
367+ (param-types (nth 0 paren-param-list))
368+ (param-vars (nth 1 paren-param-list)))
369+ (docstr-writers--insert-param param-types param-vars prefix)
370+ (docstr-writers--insert-return nil '(" void" ) prefix)
371+ (docstr-writers-after start)))
372+
359373(defun docstr-writers-lua (search-string )
360374 " Insert document string for Lua using SEARCH-STRING."
361375 (let* ((start (point )) (prefix " \n -- " )
0 commit comments