TypeQLiteDocumentSymbolProvider
Defined in: libs/language/src/typeqlite-navigation.ts:102
The outline. Langium’s default lists every node with a name. A re-open has none (it names the
type it re-opens through type), so employment relates manager; would vanish from the outline,
and the role it adds with it.
Extends
Section titled “Extends”Member summary
Section titled “Member summary”Constructors
| Name | Description |
|---|---|
| new TypeQLiteDocumentSymbolProvider() | Inherited from langium. |
Methods
| Name | Description |
|---|---|
| getSymbols() | Handle a document symbols request. |
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new TypeQLiteDocumentSymbolProvider(
services):TypeQLiteDocumentSymbolProvider
Defined in: node_modules/langium/lib/lsp/document-symbol-provider.d.ts:34
Parameters
Section titled “Parameters”services
Section titled “services”Returns
Section titled “Returns”TypeQLiteDocumentSymbolProvider
Inherited from
Section titled “Inherited from”DefaultDocumentSymbolProvider.constructor
Methods
Section titled “Methods”getSymbols()
Section titled “getSymbols()”getSymbols(
document,_params,_cancelToken?):MaybePromise<DocumentSymbol[]>
Defined in: node_modules/langium/lib/lsp/document-symbol-provider.d.ts:35
Handle a document symbols request.
Parameters
Section titled “Parameters”document
Section titled “document”The document in the workspace.
_params
Section titled “_params”DocumentSymbolParams
_cancelToken?
Section titled “_cancelToken?”CancellationToken
Returns
Section titled “Returns”MaybePromise<DocumentSymbol[]>
The symbols for the given document.
Throws
Section titled “Throws”OperationCancelled if cancellation is detected during execution
Throws
Section titled “Throws”ResponseError if an error is detected that should be sent as response to the client
Inherited from
Section titled “Inherited from”DefaultDocumentSymbolProvider.getSymbols
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.