Skip to content

TextMateGrammar

Defined in: libs/language/src/typeqlite-textmate.ts:57

A TextMate grammar, as the JSON file VS Code reads: what typeqliteTextMate returns.

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.

readonly fileTypes: readonly string[]

Defined in: libs/language/src/typeqlite-textmate.ts:63

The file extensions it applies to.


readonly name: string

Defined in: libs/language/src/typeqlite-textmate.ts:59

The language’s name.


readonly patterns: readonly object[]

Defined in: libs/language/src/typeqlite-textmate.ts:65

The patterns tried at the top level, in order.


readonly repository: Readonly<Record<string, object>>

Defined in: libs/language/src/typeqlite-textmate.ts:67

The named patterns the others include.


readonly scopeName: 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.