use crate::gen::conditions::{Condition, Spend};
use klvmr::allocator::Allocator;
pub trait SpendVisitor {
fn new_spend(spend: &mut Spend) -> Self;
fn condition(&mut self, spend: &mut Spend, c: &Condition);
fn post_spend(&mut self, a: &Allocator, spend: &mut Spend);
}