Trait ergotree_interpreter::eval::Evaluator[][src]

pub trait Evaluator {
    fn reduce_to_crypto(
        &self,
        expr: &Expr,
        env: &Env,
        ctx: Rc<Context>
    ) -> Result<ReductionResult, EvalError> { ... } }

Interpreter

Provided methods

fn reduce_to_crypto(
    &self,
    expr: &Expr,
    env: &Env,
    ctx: Rc<Context>
) -> Result<ReductionResult, EvalError>
[src]

Evaluate the given expression by reducing it to SigmaBoolean value.

Loading content...

Implementors

Loading content...