Skip to main content

Module types

Module types 

Source
Expand description

Core types for the Eure Language Server.

This module contains types shared between native and WASM implementations.

Structs§

CompletionRequest
A completion request: document and cursor as a byte offset.
DefinitionRequest
Keep the UTF-16 position until the source is available, including unopened schemas.
DiagnosticsSubscription
Subscription for diagnostics with revision tracking (legacy per-URI).
FileDiagnosticsSubscription
Per-file diagnostics subscription with revision tracking.
HoverRequest
A hover request: document and cursor as a byte offset.
IoRequest
Request to read a file from disk.
IoResponse
Response from reading a file.
LspError
LSP error information.
PendingRequest
A pending LSP request waiting for assets to be resolved.

Enums§

CommandQuery
LSP commands. Each variant carries what is needed to (re-)execute the request once the assets it suspended on are available.
CommandResult
Result of executing a command query.
CoreRequestId
Platform-agnostic request ID.
Effect
Effects the core needs the platform to perform.
LspOutput
Output messages from the core.