luaur_compiler/methods/
compiler_is_constant_false.rs1use crate::functions::is_constant_false::is_constant_false;
2use crate::records::compiler::Compiler;
3use luaur_ast::records::ast_expr::AstExpr;
4
5impl Compiler {
6 pub fn is_constant_false(&mut self, node: *mut AstExpr) -> bool {
7 is_constant_false(&self.constants, node)
8 }
9}