lemonlang 0.0.3

an experimental, modern, purely safe, programming language.
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::ast;

use super::Builder;

impl Builder<'_> {
	pub fn build_block_stmt(&mut self, block: &ast::BlockStmt) {
		self.ir_ctx.enter_scope();
		for stmt in block.stmts.iter() {
			self.build_stmt(stmt);
		}
		self.ir_ctx.exit_scope();
	}
}