Skip to content

TypeQLiteReferencesProvider

Defined in: libs/language/src/typeqlite-label-providers.ts:89

References to a type are its cross-references (owns name, sub person) and its labels (has name, isa person), wherever the request starts from: a declaration, a cross-reference, or a label.

Constructors

Name Description
new TypeQLiteReferencesProvider() Created with the language’s services by TypeQLiteModule.

Methods

Name Description
findReferences() Every reference to what the position names: Langium’s cross-references, and the labels that use it.

new TypeQLiteReferencesProvider(services): TypeQLiteReferencesProvider

Defined in: libs/language/src/typeqlite-label-providers.ts:97

Created with the language’s services by TypeQLiteModule.

TypeQLiteLabelServices

Langium’s services, with the label resolver.

TypeQLiteReferencesProvider

DefaultReferencesProvider.constructor

findReferences(document, params, cancelToken?): Promise<Location[]>

Defined in: libs/language/src/typeqlite-label-providers.ts:103

Every reference to what the position names: Langium’s cross-references, and the labels that use it.

LangiumDocument

ReferenceParams

CancellationToken

Promise<Location[]>

DefaultReferencesProvider.findReferences

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.