]> git.r.bdr.sh - rbdr/tree-sitter-api-notation/blobdiff - test/highlight/notation.api
Test using method
[rbdr/tree-sitter-api-notation] / test / highlight / notation.api
index aa7bc71ea7e91520bd30ffc60c9092aac622aa6c..f161647212c80f415dac001309618c522381cf01 100644 (file)
@@ -4,7 +4,7 @@ Forum.Models.Post
 //           ^ type.definition
   +glyphs <Array<String>>
   //<- operator
-  //^ property
+  //^ method
   //      ^ punctuation
   //       ^ type.definition
   //            ^ punctuation
@@ -18,7 +18,7 @@ Forum.Models.Post
   -author <Author>
   ~>textUpdated(text <String>)
   //<- operator
-  //^ property
+  //^ method
   //           ^ function
   //            ^ parameter
   //                 ^ punctuation
@@ -32,7 +32,7 @@ Forum.Models.Post
   <+textWillUpdate(text <String>)
   ::getAll(parent_id <UUID>) => Promise<Array<Forum.Models.Post>> #> NotFoundError,DisplayError
   //<- operator
-  //^ property
+  //^ method
   //      ^ function
   //       ^ parameter
   //                 ^ punctuation
@@ -47,7 +47,7 @@ Forum.Models.Post
   #update(text <String>) => Promise<void>
   #transform([transformer] <Function<T>(T) => boolean>)
   //<- operator
-  //^ property
+  //^ method
   //        ^ function
   //          ^ parameter.optional
   //                       ^ punctuation