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.
Parameters
Section titled “Parameters”context
Section titled “context”The file system and, for a language server, the connection. Use EmptyFileSystem from Langium
where there is no disk.
sharedOverrides?
Section titled “sharedOverrides?”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.
Returns
Section titled “Returns”object
shared, the services of the workspace, and TypeQLite, those of the language.
shared
Section titled “shared”shared:
LangiumSharedServices
TypeQLite
Section titled “TypeQLite”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.