X-Git-Url: https://git.r.bdr.sh/rbdr/tree-sitter-api-notation/blobdiff_plain/4a1d56285559545a56cb7c79a0ea1564f01e09e5..HEAD:/test/highlight/notation.api diff --git a/test/highlight/notation.api b/test/highlight/notation.api index c20f11a..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 - // ^ variable.parameter - // ^ type - // ^ keyword - // ^ type + // ^ parameter + // ^ punctuation + // ^ type.definition + // ^ punctuation // ^ function ->authorUpdated(author ) <~textWillUpdate(text ) @@ -32,23 +32,23 @@ Forum.Models.Post <+textWillUpdate(text ) ::getAll(parent_id ) => Promise> #> NotFoundError,DisplayError //<- operator - //^ property + //^ method // ^ function - // ^ variable.parameter - // ^ type - // ^ keyword - // ^ type + // ^ parameter + // ^ punctuation + // ^ type.definition + // ^ punctuation // ^ function // ^ operator - // ^ keyword + // ^ type.definition // ^ operator - // ^ keyword + // ^ type.definition ::get(id ) => Promise #update(text ) => Promise #transform([transformer] (T) => boolean>) //<- operator - //^ property + //^ method // ^ function - // ^ variable.parameter.optional - // ^ type - // ^ keyword + // ^ parameter.optional + // ^ punctuation + // ^ type.definition