sway_lsp

Module server_state

Source
Expand description

The context or environment in which the language server functions.

Structs§

CompilationContext
CompilationContext encapsulates all the necessary details required by the compilation thread to execute a compilation process. It acts as a container for shared resources and state information relevant to a specific compilation task.
LruSessionCache
A Least Recently Used (LRU) cache for storing and managing Session objects. This cache helps limit memory usage by maintaining a fixed number of active sessions.
ServerState
ServerState is the primary mutable state of the language server

Enums§

TaskMessage
TaskMessage represents the set of messages or commands that can be sent to and processed by a worker thread in the compilation environment.