use crate::{ context::Context, error::{RuntimeError, ValidationError}, Value, }; use super::{AbstractTree, Block, Type}; #[derive(Clone, Debug, Eq, PartialEq, PartialOrd, Ord)] pub struct Loop<'src> { block: Block<'src>, } impl<'src> AbstractTree for Loop<'src> { fn expected_type(&self, _context: &Context) -> Result { todo!() } fn validate(&self, _context: &Context) -> Result<(), ValidationError> { todo!() } fn run(self, _: &Context) -> Result { todo!() } }