Trait erg_compiler::context::ContextProvider
source · pub trait ContextProvider {
// Required methods
fn dir(&self) -> Dict<&VarName, &VarInfo>;
fn get_receiver_ctx(&self, receiver_name: &str) -> Option<&Context>;
fn get_var_info(&self, name: &str) -> Option<(&VarName, &VarInfo)>;
}
Expand description
For implementing LSP or other IDE features