]> git.r.bdr.sh - rbdr/tree-sitter-api-notation/blobdiff - test/highlight/notation.api
Use @parameter for parameter_list
[rbdr/tree-sitter-api-notation] / test / highlight / notation.api
index f0a9a7a3f9c7cf8651070b4cc6f93a85ef76f163..0990fdfb06497498d6eb399113d666626887b31a 100644 (file)
@@ -5,11 +5,11 @@ Forum.Models.Post
   +glyphs <Array<String>>
   //<- operator
   //^ property
-  //      ^ type
+  //      ^ punctuation
   //       ^ type.definition
-  //            ^ type
+  //            ^ punctuation
   //             ^ type.definition
-  //                    ^ type
+  //                    ^ punctuation
 
   -id <UUID>
   -created_at <Date>
@@ -20,10 +20,10 @@ Forum.Models.Post
   //<- operator
   //^ property
   //           ^ function
-  //            ^ variable.parameter
-  //                 ^ type
+  //            ^ parameter
+  //                 ^ punctuation
   //                  ^ type.definition
-  //                        ^ type
+  //                        ^ punctuation
   //                         ^ function
   ->authorUpdated(author <Author>)
   <~textWillUpdate(text <String>)
@@ -34,10 +34,10 @@ Forum.Models.Post
   //<- operator
   //^ property
   //      ^ function
-  //       ^ variable.parameter
-  //                 ^ type
+  //       ^ parameter
+  //                 ^ punctuation
   //                  ^ type.definition
-  //                      ^ type
+  //                      ^ punctuation
   //                       ^ function
   //                         ^ operator
   //                            ^ type.definition
@@ -50,5 +50,5 @@ Forum.Models.Post
   //^ property
   //        ^ function
   //          ^ variable.parameter.optional
-  //                       ^ type
+  //                       ^ punctuation
   //                        ^ type.definition