Skip to content

createTypeQLiteServices

createTypeQLiteServices(context, sharedOverrides?): object

Defined in: libs/language/src/typeqlite-module.ts:133

Creates the TypeQLite language services: Langium’s defaults, the generated modules and the hand-written ones, composed, with the validation checks registered. Start here to parse, validate or serve TypeQLite.

DefaultSharedModuleContext

The file system and, for a language server, the connection. Use EmptyFileSystem from Langium where there is no disk.

Module<LangiumSharedServices, PartialLangiumSharedServices> = {}

Services of the workspace to replace, for a host with its own: a language server that advertises more than Langium’s does (the editor’s notebooks, ADR-012 N4) passes its own LanguageServer.

object

shared, the services of the workspace, and TypeQLite, those of the language.

shared: LangiumSharedServices

TypeQLite: TypeQLiteServices

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.