Skip to main content

Module index

Module index 

Source

Structs§

CallSite
One function call site, for the call hierarchy.
Definition
A definition in the document (variable, function, struct, enum, field, etc.)
Reference
A reference to a definition.
ScopeInfo
Scope context for a definition — which block contains it and at what depth.
SymbolIndex
The symbol index for a single document.

Enums§

DefinitionKind

Functions§

find_cause_keyword_span
find_keyword_span_before_name bounded to causes before a use site.
find_keyword_span_before_name
Find the span of the keyword statement (Give, Zone, …) that CAUSED an error on variable_name. Used for diagnostic related-information.
find_last_token_span_for_name
The LAST occurrence of a name — the use-site approximation for use-after-move/escape diagnostics when no statement span is known (the complaint is always about a later use, never the binding itself).
find_token_span_for_name_pub
Public version of find_token_span_for_name for use by other LSP modules.
resolve_token_name
Resolve the user-visible name from a token, if it carries one.