TextMateGrammar
Defined in: libs/language/src/typeqlite-textmate.ts:57
A TextMate grammar, as the JSON file VS Code reads: what typeqliteTextMate returns.
Member summary
Section titled “Member summary”Properties
| Name | Description |
|---|---|
| fileTypes | The file extensions it applies to. |
| name | The language’s name. |
| patterns | The patterns tried at the top level, in order. |
| repository | The named patterns the others include. |
| scopeName | The grammar’s root scope. |
Properties
Section titled “Properties”fileTypes
Section titled “fileTypes”
readonlyfileTypes: readonlystring[]
Defined in: libs/language/src/typeqlite-textmate.ts:63
The file extensions it applies to.
readonlyname:string
Defined in: libs/language/src/typeqlite-textmate.ts:59
The language’s name.
patterns
Section titled “patterns”
readonlypatterns: readonlyobject[]
Defined in: libs/language/src/typeqlite-textmate.ts:65
The patterns tried at the top level, in order.
repository
Section titled “repository”
readonlyrepository:Readonly<Record<string,object>>
Defined in: libs/language/src/typeqlite-textmate.ts:67
The named patterns the others include.
scopeName
Section titled “scopeName”
readonlyscopeName:string
Defined in: libs/language/src/typeqlite-textmate.ts:61
The grammar’s root scope.
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.