Skip to main content

expression_candidates

Function expression_candidates 

Source
fn expression_candidates(
    doc_text: &str,
    src_root: Option<&Path>,
) -> Vec<Completion>
Expand description

Expression-position candidates: the value constructors plus in-scope type names (the entry to a static call like Int.parse or a record construction like Order { … }). In-scope values — locals/params, and from slice 3 free functions — are appended by the handler, which owns the analysis cache, so they are not produced here (ADR 0093 D3).