[−][src]Struct moore::score::ScoreContext
The global context which holds information about the used scoreboards. All useful operations are defined on this context rather than on the scoreboard directly, to decouple processing and ownership.
Fields
sess: &'lazy Session
The compiler session which carries the options and is used to emit diagnostics.
sb: &'sb ScoreBoard<'ast, 'ctx>
The global scoreboard.
vhdl: &'sb ScoreBoard<'ast, 'ctx>
The VHDL scoreboard.
vhdl_phases: &'lazy LazyPhaseTable<'sb, 'ast, 'ctx>
The VHDL lazy phase table.
svlog: &'sb GlobalContext<'ast>
The SystemVerilog scoreboard.
Implementations
impl<'lazy, 'sb, 'ast, 'ctx> ScoreContext<'lazy, 'sb, 'ast, 'ctx>
[src]
pub fn vhdl(&'lazy self) -> ScoreContext<'lazy, 'sb, 'ast, 'ctx>
[src]
Obtain a reference to the VHDL context.
pub fn add_library(&self, name: Name, asts: &'ast [Ast<'ast>]) -> LibRef
[src]
Add a library to the scoreboard.
pub fn defs(&self, id: ScopeRef) -> Result<&'ctx Defs>
[src]
Obtain the definitions in a scope. Calculate them if needed.
Trait Implementations
impl<'lazy, 'sb, 'ast, 'ctx> GenericContext for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
[src]
impl<'lazy, 'sb, 'ast, 'ctx> NodeMaker<ScopeRef, &'ctx HashMap<Name, Def, RandomState>> for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
[src]
Auto Trait Implementations
impl<'lazy, 'sb, 'ast, 'ctx> !RefUnwindSafe for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
[src]
impl<'lazy, 'sb, 'ast, 'ctx> !Send for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
[src]
impl<'lazy, 'sb, 'ast, 'ctx> !Sync for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
[src]
impl<'lazy, 'sb, 'ast, 'ctx> Unpin for ScoreContext<'lazy, 'sb, 'ast, 'ctx> where
'ast: 'sb + 'lazy,
'ctx: 'sb + 'lazy,
'sb: 'lazy,
[src]
'ast: 'sb + 'lazy,
'ctx: 'sb + 'lazy,
'sb: 'lazy,
impl<'lazy, 'sb, 'ast, 'ctx> !UnwindSafe for ScoreContext<'lazy, 'sb, 'ast, 'ctx>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,