Struct erg_compiler::module::index::SharedModuleIndex
source · pub struct SharedModuleIndex(_);
Implementations§
pub fn new() -> Self
pub fn inc_ref(&self, vi: &VarInfo, referrer: AbsLocation)
pub fn register(&self, vi: &VarInfo)
pub fn get_refs(&self, referee: &AbsLocation) -> Option<&ModuleIndexValue>
pub fn referees(&self) -> Keys<'_, AbsLocation, ModuleIndexValue>
pub fn referrers(&self) -> Values<'_, AbsLocation, ModuleIndexValue>
pub fn iter(&self) -> Iter<'_, AbsLocation, ModuleIndexValue>
pub fn initialize(&self)
pub fn remove_path(&self, path: &Path)
Trait Implementations§
source§fn clone(&self) -> SharedModuleIndex
fn clone(&self) -> SharedModuleIndex
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§fn default() -> SharedModuleIndex
fn default() -> SharedModuleIndex
Returns the “default value” for a type. Read more