TypeQLiteDefinitionProvider
Defined in: libs/language/src/typeqlite-label-providers.ts:51
Go to definition for a label that is a plain ID (isa person). Langium answers for cross-references first;
when it finds nothing, the label is resolved through TypeQLiteLabels to the definitions it names (ADR-008 D5).
Extends
Section titled “Extends”Member summary
Section titled “Member summary”Constructors
| Name | Description |
|---|---|
| new TypeQLiteDefinitionProvider() | Created with the language’s services by TypeQLiteModule. |
Methods
| Name | Description |
|---|---|
| getDefinition() | Langium’s definitions of the position, or, when it has none, those of the label under it. |
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new TypeQLiteDefinitionProvider(
services):TypeQLiteDefinitionProvider
Defined in: libs/language/src/typeqlite-label-providers.ts:59
Created with the language’s services by TypeQLiteModule.
Parameters
Section titled “Parameters”services
Section titled “services”Langium’s services, with the label resolver.
Returns
Section titled “Returns”TypeQLiteDefinitionProvider
Overrides
Section titled “Overrides”DefaultDefinitionProvider.constructor
Methods
Section titled “Methods”getDefinition()
Section titled “getDefinition()”getDefinition(
document,params,cancelToken?):Promise<LocationLink[] |undefined>
Defined in: libs/language/src/typeqlite-label-providers.ts:65
Langium’s definitions of the position, or, when it has none, those of the label under it.
Parameters
Section titled “Parameters”document
Section titled “document”params
Section titled “params”DefinitionParams
cancelToken?
Section titled “cancelToken?”CancellationToken
Returns
Section titled “Returns”Promise<LocationLink[] | undefined>
Overrides
Section titled “Overrides”DefaultDefinitionProvider.getDefinition
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.