Function sway_lsp::core::session::parse_project
source ยท pub fn parse_project(
uri: &Url,
engines: &Engines,
retrigger_compilation: Option<Arc<AtomicBool>>,
lsp_mode: Option<LspConfig>,
session: Arc<Session>,
experimental: ExperimentalFlags,
) -> Result<(), LanguageServerError>
Expand description
Parses the project and returns true if the compiler diagnostics are new and should be published.