X-Git-Url: https://git.r.bdr.sh/rbdr/tree-sitter-api-notation/blobdiff_plain/dc87cd894bad9ad0202dcd4a89e7d0af47c53fc9..2694356b41ecccd9bd50836ea1686598c94ff56c:/test/highlight/notation.api?ds=inline diff --git a/test/highlight/notation.api b/test/highlight/notation.api index b798549..f161647 100644 --- a/test/highlight/notation.api +++ b/test/highlight/notation.api @@ -1,15 +1,15 @@ Forum.Models.Post -// <- keyword -// ^ keyword -// ^ keyword +// <- type.definition +// ^ type.definition +// ^ type.definition +glyphs > //<- operator - //^ property - // ^ type - // ^ keyword - // ^ type - // ^ keyword - // ^ type + //^ method + // ^ punctuation + // ^ type.definition + // ^ punctuation + // ^ type.definition + // ^ punctuation -id -created_at @@ -18,12 +18,12 @@ Forum.Models.Post -author ~>textUpdated(text ) //<- operator - //^ property + //^ method // ^ function // ^ parameter - // ^ type - // ^ keyword - // ^ type + // ^ punctuation + // ^ type.definition + // ^ punctuation // ^ function ->authorUpdated(author ) <~textWillUpdate(text ) @@ -32,17 +32,23 @@ Forum.Models.Post <+textWillUpdate(text ) ::getAll(parent_id ) => Promise> #> NotFoundError,DisplayError //<- operator - //^ property + //^ method // ^ function // ^ parameter - // ^ type - // ^ keyword - // ^ type + // ^ punctuation + // ^ type.definition + // ^ punctuation // ^ function // ^ operator - // ^ keyword + // ^ type.definition // ^ operator - // ^ keyword + // ^ type.definition ::get(id ) => Promise #update(text ) => Promise - #transform(transformer (T) => boolean>) + #transform([transformer] (T) => boolean>) + //<- operator + //^ method + // ^ function + // ^ parameter.optional + // ^ punctuation + // ^ type.definition