KEYWORD_SCOPES
constKEYWORD_SCOPES:Readonly<Record<string, readonlystring[]>>
Defined in: libs/language/src/typeqlite-textmate.ts:20
The TextMate scope of each keyword of TypeQLite, by scope: what an editor colors before, and underneath, the semantic tokens.
A keyword the grammar gains is refused until it has a scope here, and a keyword the grammar loses
is refused until it leaves. So the grammar and its coloring cannot drift apart. Annotations are
scoped by their shape (@ first), so a new one needs no entry.
TypeDBLite is an independent open-source project, built on TypeDB with thanks. It is not affiliated with, sponsored by, or endorsed by TypeDB Ltd. Released under the MPL-2.0 license.