1 2 3 4 5 6 7 8 9 10 11 12 13 14
use super::Block; use crate::Expression; /// repeat statement #[derive(Clone, Debug)] pub struct StmtRepeat { pub block: Block, pub condition: Expression, } impl StmtRepeat { pub fn new(block: Block, condition: Expression) -> Self { Self { block, condition } } }