Crate rls_analysis

Source

Structs§

AnalysisHost
CargoAnalysisLoader
Crate
CrateId
Crate name, along with its disambiguator (128-bit hash) represents a globally unique crate identifier, which should allow for differentiation between different crate targets or versions and should point to the same crate when pulled by different other, dependent crates.
Def
Id
A common identifier for definitions, references etc. This is effectively a DefId with globally unique crate number (instead of a compiler generated crate-local number).
Ident
An identifier (either a reference or definition).
SearchDirectory
SymbolQuery
SymbolQuery specifies the preficate for filtering symbols by name.
SymbolResult

Enums§

AError
DefKind
IdentKind
Ref
Target

Constants§

NULL
Used to indicate a missing index in the Id.

Traits§

AnalysisLoader
Allows to specify from where and which analysis files will be considered when reloading data to lower.

Functions§

deserialize_crate_data
Attempts to deserialize Analysis data from file contents, returns Some(data) on success.
name_space_for_def_kind
read_analysis_from_files
Reads raw analysis data for non-blacklisted crates from files in directories pointed by loader.
read_crate_data
Attempts to read and deserialize Analysis data from a JSON file at path, returns Some(data) on success.

Type Aliases§

AResult
Span