lua_semantics 0.9.0

semantic analysis and enhanced AST converter for lua_parser crate
Documentation
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 }
    }
}