15 lines
285 B
Rust
15 lines
285 B
Rust
|
use crate::{context::Context, error::RuntimeError};
|
||
|
|
||
|
use super::{AbstractTree, Block, Value};
|
||
|
|
||
|
#[derive(Clone, Debug, PartialEq)]
|
||
|
pub struct Loop {
|
||
|
block: Block,
|
||
|
}
|
||
|
|
||
|
impl AbstractTree for Loop {
|
||
|
fn run(self, _: &Context) -> Result<Value, RuntimeError> {
|
||
|
todo!()
|
||
|
}
|
||
|
}
|