pub struct KripkeContext { /* private fields */ }Expand description
Context for tracking world variables during Kripke lowering.
For hardware verification, clock_counter tracks discrete timesteps
and domain_hint disambiguates temporal vs modal lowering when
the context is ambiguous.
Implementations§
Source§impl KripkeContext
impl KripkeContext
pub fn new(interner: &mut Interner) -> Self
pub fn fresh_world(&mut self, interner: &mut Interner) -> Symbol
Sourcepub fn clock_counter(&self) -> u32
pub fn clock_counter(&self) -> u32
Get the current clock counter value (discrete timestep).
Sourcepub fn domain_hint(&self) -> Option<ModalDomain>
pub fn domain_hint(&self) -> Option<ModalDomain>
Get the current domain hint.
Auto Trait Implementations§
impl Freeze for KripkeContext
impl RefUnwindSafe for KripkeContext
impl Send for KripkeContext
impl Sync for KripkeContext
impl Unpin for KripkeContext
impl UnwindSafe for KripkeContext
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more