This commit is contained in:
Max Brunsfeld 2020-03-06 13:24:03 -08:00
parent a3f0087b11
commit 680a9e0531
2 changed files with 104 additions and 38 deletions

View file

@ -9,10 +9,8 @@ fn test_tags_javascript() {
r#"
((function_definition
name: (identifier) @name
body: (block
. (string) @doc)) @function
body: (block . (string) @doc)) @function
(set! replace @doc "(^['\s]*)|(['\s]*$)"))
(function_definition
name: (identifier) @name) @function
(class_definition