luaur-compiler 0.1.3

Luau source-to-bytecode compiler (Rust).
Documentation
1
2
3
4
5
6
7
8
9
use crate::functions::always_terminates::always_terminates;
use crate::records::compiler::Compiler;
use luaur_ast::records::ast_stat::AstStat;

impl Compiler {
    pub fn always_terminates(&self, node: *mut AstStat) -> bool {
        always_terminates(&self.constants, node)
    }
}