#![allow(clippy::mutable_key_type)]
pub mod analyze;
pub mod data;
pub mod features;
pub mod handlers;
pub mod utils;
pub mod workspace;
pub use data::{BuiltinFunction, get_builtin_functions};
pub use features::{
compute_diagnostics, handle_code_action, handle_code_lens, handle_document_links,
handle_folding_range, handle_inlay_hints,
};
pub use handlers::{
get_semantic_token_legend, handle_completion_workspace, handle_document_symbols,
handle_formatting, handle_goto_definition, handle_goto_definition_workspace, handle_hover,
handle_hover_workspace, handle_incoming_calls, handle_outgoing_calls,
handle_prepare_call_hierarchy, handle_prepare_rename, handle_references, handle_rename,
handle_rename_workspace, handle_semantic_tokens, handle_signature_help, handle_type_definition,
handle_workspace_symbol,
};
pub use utils::parse_document;
pub use workspace::{WorkspaceState, collect_import_roots_from_def};
use lsp_types::Uri;
use std::collections::HashMap;
pub fn create_documents(uri: &Uri, content: &str) -> HashMap<Uri, String> {
let mut docs = HashMap::new();
docs.insert(uri.clone(), content.to_string());
docs
}