pub struct SolidityInterpreter { /* private fields */ }
Implementations§
Source§impl SolidityInterpreter
impl SolidityInterpreter
pub fn new() -> Self
pub fn with_context(context: InterpreterContext) -> Self
pub fn context_mut(&mut self) -> &mut InterpreterContext
pub fn context(&self) -> &InterpreterContext
pub fn evaluate(&self, expr: &Expression) -> Result<Value, InterpreterError>
pub fn evaluate_predicate( &self, expr: &Expression, ) -> Result<bool, InterpreterError>
Trait Implementations§
Source§impl Debug for SolidityInterpreter
impl Debug for SolidityInterpreter
Auto Trait Implementations§
impl Freeze for SolidityInterpreter
impl RefUnwindSafe for SolidityInterpreter
impl Send for SolidityInterpreter
impl Sync for SolidityInterpreter
impl Unpin for SolidityInterpreter
impl UnwindSafe for SolidityInterpreter
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