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