TypeQLiteHoverProvider
Defined in: libs/language/src/typeqlite-navigation.ts:132
Hover over a definition, or anything that refers to one: its source, its documentation, and where else the workspace re-opens it.
The documentation is TypeDB’s two kinds: a #! doc comment above the definition, read by the same
rule the runtime stores it with (docCommentOf), and an @doc("…") annotation.
Extends
Section titled “Extends”Member summary
Section titled “Member summary”Constructors
| Name | Description |
|---|---|
| new TypeQLiteHoverProvider() | Created with the language’s services by TypeQLiteModule. |
Methods
| Name | Description |
|---|---|
| getHoverContent() | A label that is a plain ID (isa person) is not a reference Langium can follow, so when Langium finds nothing the hover is for whatever the label resolves to (ADR-008 D5). |
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new TypeQLiteHoverProvider(
services):TypeQLiteHoverProvider
Defined in: libs/language/src/typeqlite-navigation.ts:140
Created with the language’s services by TypeQLiteModule.
Parameters
Section titled “Parameters”services
Section titled “services”Langium’s services.
Returns
Section titled “Returns”TypeQLiteHoverProvider
Overrides
Section titled “Overrides”AstNodeHoverProvider.constructor
Methods
Section titled “Methods”getHoverContent()
Section titled “getHoverContent()”getHoverContent(
document,params):Promise<Hover|undefined>
Defined in: libs/language/src/typeqlite-navigation.ts:149
A label that is a plain ID (isa person) is not a reference Langium can follow, so when Langium
finds nothing the hover is for whatever the label resolves to (ADR-008 D5).
Parameters
Section titled “Parameters”document
Section titled “document”params
Section titled “params”HoverParams
Returns
Section titled “Returns”Promise<Hover | undefined>
Overrides
Section titled “Overrides”AstNodeHoverProvider.getHoverContent
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.