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
14
15
16
use crate::records::ast_expr_table_finder::AstExprTableFinder;
use crate::type_aliases::type_id::TypeId;
use luaur_ast::records::ast_expr::AstExpr;
use luaur_common::records::dense_hash_map::DenseHashMap;
use luaur_common::records::dense_hash_set::DenseHashSet;

impl AstExprTableFinder {
    pub fn ast_expr_table_finder(
        &mut self,
        result: *mut DenseHashSet<TypeId>,
        ast_types: *const DenseHashMap<*const AstExpr, TypeId>,
    ) {
        self.result = result;
        self.ast_types = ast_types;
    }
}