Skip to content

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.

Constructors

Name Description
new TypeQLiteDocumentSymbolProvider() Inherited from langium.

Methods

Name Description
getSymbols() Handle a document symbols request.

new TypeQLiteDocumentSymbolProvider(services): TypeQLiteDocumentSymbolProvider

Defined in: node_modules/langium/lib/lsp/document-symbol-provider.d.ts:34

LangiumServices

TypeQLiteDocumentSymbolProvider

DefaultDocumentSymbolProvider.constructor

getSymbols(document, _params, _cancelToken?): MaybePromise<DocumentSymbol[]>

Defined in: node_modules/langium/lib/lsp/document-symbol-provider.d.ts:35

Handle a document symbols request.

LangiumDocument

The document in the workspace.

DocumentSymbolParams

CancellationToken

MaybePromise<DocumentSymbol[]>

The symbols for the given document.

OperationCancelled if cancellation is detected during execution

ResponseError if an error is detected that should be sent as response to the client

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.