[][src]Enum moore_vhdl::score::ScopeRef

pub enum ScopeRef {
    Lib(LibRef),
    CtxItems(CtxItemsRef),
    Entity(EntityRef),
    BuiltinPkg(BuiltinPkgRef),
    Pkg(PkgDeclRef),
    PkgBody(PkgBodyRef),
    Arch(ArchRef),
    Process(ProcessStmtRef),
    Subprog(SubprogDeclRef),
    SubprogBody(SubprogBodyRef),
}

Variants

Lib(LibRef)
CtxItems(CtxItemsRef)
Entity(EntityRef)
BuiltinPkg(BuiltinPkgRef)
PkgBody(PkgBodyRef)
Arch(ArchRef)
SubprogBody(SubprogBodyRef)

Trait Implementations

impl Clone for ScopeRef[src]

impl Copy for ScopeRef[src]

impl Debug for ScopeRef[src]

impl Eq for ScopeRef[src]

impl From<ArchRef> for ScopeRef[src]

impl From<BuiltinPkgRef> for ScopeRef[src]

impl From<CtxItemsRef> for ScopeRef[src]

impl From<EntityRef> for ScopeRef[src]

impl From<LibRef> for ScopeRef[src]

impl From<PkgBodyRef> for ScopeRef[src]

impl From<PkgDeclRef> for ScopeRef[src]

impl From<ProcessStmtRef> for ScopeRef[src]

impl From<SubprogBodyRef> for ScopeRef[src]

impl From<SubprogDeclRef> for ScopeRef[src]

impl Hash for ScopeRef[src]

impl Into<NodeId> for ScopeRef[src]

impl<'lazy, 'sb, 'ast, 'ctx> NodeMaker<ScopeRef, &'ctx HashMap<ResolvableName, Vec<Spanned<Def>>, RandomState>> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>[src]

impl<'lazy, 'sb, 'ast, 'ctx> NodeMaker<ScopeRef, &'ctx Scope> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>[src]

impl Ord for ScopeRef[src]

impl PartialEq<ScopeRef> for ScopeRef[src]

impl PartialOrd<ScopeRef> for ScopeRef[src]

impl<'t, 'sbc, 'lazy, 'sb, 'ast, 'ctx> ScopeSpecificTermContext<'t, ScopeRef, Def> for TermContext<&'sbc ScoreContext<'lazy, 'sb, 'ast, 'ctx>, ScopeRef, Def> where
    'lazy: 'sbc,
    'sb: 'lazy,
    'ast: 'sb,
    'ctx: 'sb, 
[src]

fn termify_name_in_scope(
    &self,
    name: Spanned<ResolvableName>,
    scope: ScopeRef
) -> Result<Spanned<Term<'t>>>
[src]

Map a resolvable name to a term, resolving it within a scope.

impl StructuralEq for ScopeRef[src]

impl StructuralPartialEq for ScopeRef[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.