From dc87cd894bad9ad0202dcd4a89e7d0af47c53fc9 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Wed, 4 Oct 2023 13:39:56 +0200 Subject: Initial Commit --- test/highlight/notation.api | 48 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 test/highlight/notation.api (limited to 'test/highlight/notation.api') 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 > + //<- operator + //^ property + // ^ type + // ^ keyword + // ^ type + // ^ keyword + // ^ type + + -id + -created_at + -parent_id + -text + -author + ~>textUpdated(text ) + //<- operator + //^ property + // ^ function + // ^ parameter + // ^ type + // ^ keyword + // ^ type + // ^ function + ->authorUpdated(author ) + <~textWillUpdate(text ) + <-postWillRender(post ) + +>authorUpdated(author ) + <+textWillUpdate(text ) + ::getAll(parent_id ) => Promise> #> NotFoundError,DisplayError + //<- operator + //^ property + // ^ function + // ^ parameter + // ^ type + // ^ keyword + // ^ type + // ^ function + // ^ operator + // ^ keyword + // ^ operator + // ^ keyword + ::get(id ) => Promise + #update(text ) => Promise + #transform(transformer (T) => boolean>) -- cgit