pub trait ScopeContext<'t> {
    fn define(&self, name: Spanned<ResolvableName>, def: Def2<'t>) -> Result<()>;
fn import_def(
        &self,
        name: ResolvableName,
        def: Spanned<Def2<'t>>
    ) -> Result<()>;
fn import_scope(&self, scope: &'t ScopeData<'t>) -> Result<()>;
fn resolve(
        &self,
        name: ResolvableName,
        recur: bool
    ) -> Vec<Spanned<Def2<'t>>>Notable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
    A: Allocator
; }
Expand description

Define names and perform name resolution.

Required methods

Define a new name in the scope.

Import a definition into the scope.

Import an entire scope into the scope.

Find a name in this scope.

Implementors