luaur-compiler 0.1.3

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

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