Struct erg_compiler::module::index::ModuleIndex
source · pub struct ModuleIndex { /* private fields */ }
Implementations§
source§impl ModuleIndex
impl ModuleIndex
pub fn new() -> Self
pub fn add_ref(&mut self, referee: AbsLocation, referrer: AbsLocation)
pub fn get_refs(&self, referee: &AbsLocation) -> Option<&Set<AbsLocation>>
Trait Implementations§
source§impl Clone for ModuleIndex
impl Clone for ModuleIndex
source§fn clone(&self) -> ModuleIndex
fn clone(&self) -> ModuleIndex
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§impl Debug for ModuleIndex
impl Debug for ModuleIndex
source§impl Default for ModuleIndex
impl Default for ModuleIndex
source§fn default() -> ModuleIndex
fn default() -> ModuleIndex
Returns the “default value” for a type. Read more