diff options
Diffstat (limited to 'test/highlight/notation.api')
| -rw-r--r-- | test/highlight/notation.api | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/test/highlight/notation.api b/test/highlight/notation.api new file mode 100644 index 0000000..b798549 --- /dev/null +++ b/test/highlight/notation.api @@ -0,0 +1,48 @@ +Forum.Models.Post +// <- keyword +// ^ keyword +// ^ keyword + +glyphs <Array<String>> + //<- operator + //^ property + // ^ type + // ^ keyword + // ^ type + // ^ keyword + // ^ type + + -id <UUID> + -created_at <Date> + -parent_id <UUID> + -text <String> + -author <Author> + ~>textUpdated(text <String>) + //<- operator + //^ property + // ^ function + // ^ parameter + // ^ type + // ^ keyword + // ^ type + // ^ function + ->authorUpdated(author <Author>) + <~textWillUpdate(text <String>) + <-postWillRender(post <Forum.Models.Post>) + +>authorUpdated(author <Author>) + <+textWillUpdate(text <String>) + ::getAll(parent_id <UUID>) => Promise<Array<Forum.Models.Post>> #> NotFoundError,DisplayError + //<- operator + //^ property + // ^ function + // ^ parameter + // ^ type + // ^ keyword + // ^ type + // ^ function + // ^ operator + // ^ keyword + // ^ operator + // ^ keyword + ::get(id <UUID>) => Promise<Forum.Models.Post> + #update(text <String>) => Promise<void> + #transform(transformer <Function<T>(T) => boolean>) |