[−][src]Struct moore_vhdl::hir::AllocContext
A context for HIR node construction.
Fields
sess: &'t dyn SessionContext
arenas: &'t Arenas2<'t>
scope: &'t ScopeData<'t>
Methods
impl<'t> AllocContext<'t>
[src]
impl<'t> AllocContext<'t>
pub fn create_subscope(&self) -> AllocContext<'t> | [src] |
Create a subscope and return a new context for that scope.
pub fn scope(&self) -> &'t ScopeData<'t> | [src] |
Return the current scope.
Trait Implementations
impl<'a, 't, T: 't> Alloc<'a, 't, T> for AllocContext<'t> where
Arenas2<'t>: Alloc<'t, 't, T>,
[src]
impl<'a, 't, T: 't> Alloc<'a, 't, T> for AllocContext<'t> where
Arenas2<'t>: Alloc<'t, 't, T>,
impl<'t> ScopeContext<'t> for AllocContext<'t>
[src]
impl<'t> ScopeContext<'t> for AllocContext<'t>
fn define(&self, name: Spanned<ResolvableName>, def: Def2<'t>) -> Result<()> | [src] |
fn import_def(&self, name: ResolvableName, def: Spanned<Def2<'t>>) -> Result<()> | [src] |
fn import_scope(&self, scope: &'t ScopeData<'t>) -> Result<()> | [src] |
fn resolve(&self, name: ResolvableName, recur: bool) -> Vec<Spanned<Def2<'t>>> | [src] |
impl<'t> Copy for AllocContext<'t>
[src]
impl<'t> Copy for AllocContext<'t>
impl<'t> Clone for AllocContext<'t>
[src]
impl<'t> Clone for AllocContext<'t>
fn clone(&self) -> AllocContext<'t> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source
. Read more
impl<'t> DiagEmitter for AllocContext<'t>
[src]
impl<'t> DiagEmitter for AllocContext<'t>
fn emit(&self, diag: DiagBuilder2) | [src] |
impl<'t> SessionContext for AllocContext<'t>
[src]
impl<'t> SessionContext for AllocContext<'t>
fn has_verbosity(&self, verb: Verbosity) -> bool | [src] |
Auto Trait Implementations
impl<'t> !Send for AllocContext<'t>
impl<'t> !Send for AllocContext<'t>
impl<'t> !Sync for AllocContext<'t>
impl<'t> !Sync for AllocContext<'t>
Blanket Implementations
impl<T, A> AllocSelf for A where
A: Alloc<'a, 'a, T>,
[src]
impl<T, A> AllocSelf for A where
A: Alloc<'a, 'a, T>,
impl<'t, T, A> AllocInto for A where
A: Alloc<'a, 't, T>,
T: 't,
[src]
impl<'t, T, A> AllocInto for A where
A: Alloc<'a, 't, T>,
T: 't,
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,