Skip to main content

luaur_compiler/methods/
compiler_always_terminates.rs

1use crate::functions::always_terminates::always_terminates;
2use crate::records::compiler::Compiler;
3use luaur_ast::records::ast_stat::AstStat;
4
5impl Compiler {
6    pub fn always_terminates(&self, node: *mut AstStat) -> bool {
7        always_terminates(&self.constants, node)
8    }
9}