Skip to main content

luaur_analysis/methods/
ast_expr_table_finder_ast_expr_table_finder.rs

1use crate::records::ast_expr_table_finder::AstExprTableFinder;
2use crate::type_aliases::type_id::TypeId;
3use luaur_ast::records::ast_expr::AstExpr;
4use luaur_common::records::dense_hash_map::DenseHashMap;
5use luaur_common::records::dense_hash_set::DenseHashSet;
6
7impl AstExprTableFinder {
8    pub fn ast_expr_table_finder(
9        &mut self,
10        result: *mut DenseHashSet<TypeId>,
11        ast_types: *const DenseHashMap<*const AstExpr, TypeId>,
12    ) {
13        self.result = result;
14        self.ast_types = ast_types;
15    }
16}