]> git.r.bdr.sh - rbdr/tree-sitter-api-notation/blame - test/highlight/notation.api
Update readme
[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
2694356b 7 //^ method
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
2694356b 21 //^ method
dc87cd89 22 // ^ function
c5d81ecf 23 // ^ 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
2694356b 35 //^ method
dc87cd89 36 // ^ function
c5d81ecf 37 // ^ 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
2694356b 50 //^ method
4a1d5628 51 // ^ function
b95c6186 52 // ^ parameter.optional
fd7cea8f 53 // ^ punctuation
75b4720c 54 // ^ type.definition