X-Git-Url: https://git.r.bdr.sh/rbdr/tree-sitter-api-notation/blobdiff_plain/dc87cd894bad9ad0202dcd4a89e7d0af47c53fc9..fd7cea8fc96bfe782ca4576100c39c6ffd15e150:/test/highlight/notation.api diff --git a/test/highlight/notation.api b/test/highlight/notation.api index b798549..f801360 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 + // ^ punctuation + // ^ type.definition + // ^ punctuation + // ^ type.definition + // ^ punctuation -id -created_at @@ -20,10 +20,10 @@ Forum.Models.Post //<- operator //^ property // ^ function - // ^ parameter - // ^ type - // ^ keyword - // ^ type + // ^ variable.parameter + // ^ punctuation + // ^ type.definition + // ^ punctuation // ^ function ->authorUpdated(author ) <~textWillUpdate(text ) @@ -34,15 +34,21 @@ Forum.Models.Post //<- operator //^ property // ^ function - // ^ parameter - // ^ type - // ^ keyword - // ^ type + // ^ variable.parameter + // ^ 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 + //^ property + // ^ function + // ^ variable.parameter.optional + // ^ punctuation + // ^ type.definition