diff options
| author | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2023-10-04 16:41:51 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2023-10-04 16:41:51 +0200 |
| commit | 75b4720ce734556ef3c13059f16d21d8c5e73e9d (patch) | |
| tree | 1d14344fb0681e6ba56a8050f35ec9b5e52aabbb /test/highlight | |
| parent | 809b13f346c40e1a6cafb4f9d0bd0ebaa84582a3 (diff) | |
Define identifiers as type definitions
Diffstat (limited to 'test/highlight')
| -rw-r--r-- | test/highlight/notation.api | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/highlight/notation.api b/test/highlight/notation.api index c20f11a..f0a9a7a 100644 --- a/test/highlight/notation.api +++ b/test/highlight/notation.api @@ -1,14 +1,14 @@ Forum.Models.Post -// <- keyword -// ^ keyword -// ^ keyword +// <- type.definition +// ^ type.definition +// ^ type.definition +glyphs <Array<String>> //<- operator //^ property // ^ type - // ^ keyword + // ^ type.definition // ^ type - // ^ keyword + // ^ type.definition // ^ type -id <UUID> @@ -22,7 +22,7 @@ Forum.Models.Post // ^ function // ^ variable.parameter // ^ type - // ^ keyword + // ^ type.definition // ^ type // ^ function ->authorUpdated(author <Author>) @@ -36,13 +36,13 @@ Forum.Models.Post // ^ function // ^ variable.parameter // ^ type - // ^ keyword + // ^ type.definition // ^ type // ^ function // ^ operator - // ^ keyword + // ^ type.definition // ^ operator - // ^ keyword + // ^ type.definition ::get(id <UUID>) => Promise<Forum.Models.Post> #update(text <String>) => Promise<void> #transform([transformer] <Function<T>(T) => boolean>) @@ -51,4 +51,4 @@ Forum.Models.Post // ^ function // ^ variable.parameter.optional // ^ type - // ^ keyword + // ^ type.definition |