fn push_memo_ref(&mut self, memo_id: MemoId) -> Result<()> {
        self.stack.push(Value::MemoRef(memo_id));
        match self.memo.get_mut(&memo_id) {
            Some(&mut (_, ref mut count)) => { *count += 1; Ok(()) }
            None => Err(Error::Eval(ErrorCode::MissingMemo(memo_id), self.pos)),
        }
    }
// Pushes a memo reference on the stack, and increases the usage counter.
Pushes a memo reference on the stack, and increases the usage counter.
Pushes a memo reference on the stack and increases the usage counter .
fn push_memo_ref(&mut self, memo_id: MemoId) -> Result<()> {
        self.stack.push(Value::MemoRef(memo_id));
        match self.memo.get_mut(&memo_id) {
            Some(&mut (_, ref mut count)) => { *count += 1; Ok(()) }
            None => Err(Error::Eval(ErrorCode::MissingMemo(memo_id), self.pos)),
        }
    }
fn push_memo_ref ( & mut self , memo_id : MemoId ) -> Result < ( ) > { self . stack . push ( Value :: MemoRef ( memo_id ) ) ; match self . memo . get_mut ( & memo_id ) { Some ( & mut ( _ , ref mut count ) ) => { * count += 1 ; Ok ( ( ) ) } None => Err ( Error :: Eval ( ErrorCode :: MissingMemo ( memo_id ) , self . pos ) ) , } }
Pushes a memo reference on the stack, and increases the usage counter.
Pushes a memo reference on the stack and increases the usage counter .
&mut self
memo_id
MemoId
&mut self
memo_id
MemoId