]> git.r.bdr.sh - rbdr/tree-sitter-api-notation/blob - test/highlight/notation.api
f801360b659d65a55c620d784c40dd06ebf51f9f
[rbdr/tree-sitter-api-notation] / test / highlight / notation.api
1 Forum.Models.Post
2 // <- type.definition
3 // ^ type.definition
4 // ^ type.definition
5 +glyphs <Array<String>>
6 //<- operator
7 //^ property
8 // ^ punctuation
9 // ^ type.definition
10 // ^ punctuation
11 // ^ type.definition
12 // ^ punctuation
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
23 // ^ variable.parameter
24 // ^ punctuation
25 // ^ type.definition
26 // ^ punctuation
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
37 // ^ variable.parameter
38 // ^ punctuation
39 // ^ type.definition
40 // ^ punctuation
41 // ^ function
42 // ^ operator
43 // ^ type.definition
44 // ^ operator
45 // ^ type.definition
46 ::get(id <UUID>) => Promise<Forum.Models.Post>
47 #update(text <String>) => Promise<void>
48 #transform([transformer] <Function<T>(T) => boolean>)
49 //<- operator
50 //^ property
51 // ^ function
52 // ^ variable.parameter.optional
53 // ^ punctuation
54 // ^ type.definition