Struct rink::eval::Context [] [src]

pub struct Context {
    // some fields omitted
}

Methods

impl Context
[src]

fn show(&self, value: &Value) -> String

fn print(&self, value: &Value)

fn lookup(&self, name: &str) -> Option<Value>

fn describe_unit(&self, value: &Value) -> (bool, String)

fn eval(&self, expr: &Expr) -> Result<ValueString>

fn new(defs: Defs) -> Context