X-Git-Url: https://git.r.bdr.sh/rbdr/tree-sitter-api-notation/blobdiff_plain/dc87cd894bad9ad0202dcd4a89e7d0af47c53fc9..c5d81ecf5c440aa8eee2929ffcee8f52fd1daa38:/test/highlight/notation.api?ds=inline diff --git a/test/highlight/notation.api b/test/highlight/notation.api index b798549..0990fdf 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 @@ -21,9 +21,9 @@ Forum.Models.Post //^ property // ^ function // ^ parameter - // ^ type - // ^ keyword - // ^ type + // ^ punctuation + // ^ type.definition + // ^ punctuation // ^ function ->authorUpdated(author ) <~textWillUpdate(text ) @@ -35,14 +35,20 @@ Forum.Models.Post //^ property // ^ 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 + //^ property + // ^ function + // ^ variable.parameter.optional + // ^ punctuation + // ^ type.definition