pub struct Evaluator<'env> { /* private fields */ }
Implementations
sourceimpl<'env> Evaluator<'env>
impl<'env> Evaluator<'env>
pub fn new(
holder: &'env FunctionTargetsHolder,
target: &'env FunctionTarget<'env>,
ty_args: &'env [BaseType],
level: usize,
exp_state: ExpState,
eval_state: &'env EvalState,
local_state: &'env LocalState,
global_state: &'env GlobalState
) -> Self
sourcepub fn check_assert(&self, exp: &Exp)
pub fn check_assert(&self, exp: &Exp)
Check whether an assert expression holds
sourcepub fn check_assume(
&self,
exp: &Exp
) -> Option<EvalResult<(TempIndex, TypedValue)>>
pub fn check_assume(
&self,
exp: &Exp
) -> Option<EvalResult<(TempIndex, TypedValue)>>
Check whether an assume expression holds, unless the assume expression represents a let
binding. In that case, return the TypedValue
of the let-binding as well as the local
variable (index) the value should bind to.
Auto Trait Implementations
impl<'env> !RefUnwindSafe for Evaluator<'env>
impl<'env> !Send for Evaluator<'env>
impl<'env> !Sync for Evaluator<'env>
impl<'env> Unpin for Evaluator<'env>
impl<'env> !UnwindSafe for Evaluator<'env>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more