]> git.r.bdr.sh - rbdr/tree-sitter-api-notation/blame - test/highlight/notation.api
Make the type definition brackets punctuation
[rbdr/tree-sitter-api-notation] / test / highlight / notation.api
CommitLineData
dc87cd89 1Forum.Models.Post
75b4720c
RBR
2// <- type.definition
3// ^ type.definition
4// ^ type.definition
dc87cd89
RBR
5 +glyphs <Array<String>>
6 //<- operator
7 //^ property
fd7cea8f 8 // ^ punctuation
75b4720c 9 // ^ type.definition
fd7cea8f 10 // ^ punctuation
75b4720c 11 // ^ type.definition
fd7cea8f 12 // ^ punctuation
dc87cd89
RBR
13
14 -id <UUID>
15 -created_at <Date>
16 -parent_id <UUID>
17 -text <String>
18 -author <Author>
19 ~>textUpdated(text <String>)
20 //<- operator
21 //^ property
22 // ^ function
4a1d5628 23 // ^ variable.parameter
fd7cea8f 24 // ^ punctuation
75b4720c 25 // ^ type.definition
fd7cea8f 26 // ^ punctuation
dc87cd89
RBR
27 // ^ function
28 ->authorUpdated(author <Author>)
29 <~textWillUpdate(text <String>)
30 <-postWillRender(post <Forum.Models.Post>)
31 +>authorUpdated(author <Author>)
32 <+textWillUpdate(text <String>)
33 ::getAll(parent_id <UUID>) => Promise<Array<Forum.Models.Post>> #> NotFoundError,DisplayError
34 //<- operator
35 //^ property
36 // ^ function
4a1d5628 37 // ^ variable.parameter
fd7cea8f 38 // ^ punctuation
75b4720c 39 // ^ type.definition
fd7cea8f 40 // ^ punctuation
dc87cd89
RBR
41 // ^ function
42 // ^ operator
75b4720c 43 // ^ type.definition
dc87cd89 44 // ^ operator
75b4720c 45 // ^ type.definition
dc87cd89
RBR
46 ::get(id <UUID>) => Promise<Forum.Models.Post>
47 #update(text <String>) => Promise<void>
4a1d5628
RBR
48 #transform([transformer] <Function<T>(T) => boolean>)
49 //<- operator
50 //^ property
51 // ^ function
52 // ^ variable.parameter.optional
fd7cea8f 53 // ^ punctuation
75b4720c 54 // ^ type.definition