luaur-analysis 0.1.1

Luau type checker and type inference (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::records::expr_printer::ExprPrinter;
use crate::type_aliases::definition::Definition;
use luaur_ast::records::ast_expr::AstExpr;
use luaur_common::records::dense_hash_map::DenseHashMap;

impl ExprPrinter {
    pub fn new(use_defs: DenseHashMap<*mut AstExpr, *mut Definition>) -> Self {
        Self {
            use_defs,
            result: alloc::string::String::new(),
        }
    }
}