Struct rustdb::exec::EvalEnv [−][src]
pub struct EvalEnv<'r> {
pub stack: Vec<Value>,
pub bp: usize,
pub db: DB,
pub tr: &'r mut dyn Transaction,
pub call_depth: usize,
}
Expand description
Evaluation environment - stack of Values, references to DB and Query.
Fields
stack: Vec<Value>
bp: usize
db: DB
tr: &'r mut dyn Transaction
call_depth: usize
Implementations
Construct a new EvalEnv.
Allocate and initialise local variables.
Execute list of instructions.