Skip to main content

Module global_state

Module global_state 

Source
Expand description

The context or environment in which the language server functions. In our server implementation this is know as the WorldState.

Each tick provides an immutable snapshot of the state as WorldSnapshot.

StructsΒ§

FetchBuildDataResponse πŸ”’
FetchWorkspaceRequest πŸ”’
FetchWorkspaceResponse πŸ”’
GlobalState πŸ”’
GlobalState is the primary mutable state of the language server
GlobalStateSnapshot πŸ”’
An immutable snapshot of the world’s state at a point in time.
Handle πŸ”’
MiniCoreRustAnalyzerInternalOnly πŸ”’

FunctionsΒ§

file_id_to_url πŸ”’
url_to_file_id πŸ”’
Returns None if the file was excluded.
vfs_path_to_file_id πŸ”’
Returns None if the file was excluded.

Type AliasesΒ§

ReqHandler πŸ”’
ReqQueue πŸ”’