luaur_analysis/methods/cfg_builder_lower_control_flow_graph_alt_b.rs
1use crate::records::cfg_builder::CfgBuilder;
2use luaur_ast::records::ast_stat_block::AstStatBlock;
3
4impl CfgBuilder {
5 pub fn lower_ast_stat_block(&mut self, statement: *mut AstStatBlock) {
6 unsafe {
7 let body = (*statement).body;
8 for i in 0..body.size {
9 self.lower_ast_stat(*body.data.add(i));
10 }
11 }
12 }
13}