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
use luaur_common::records::dense_hash_map::DenseHashMap;

#[allow(non_camel_case_types)]
#[derive(Debug, Clone)]
pub struct OrderedMap<K, V>
where
    K: Clone + core::hash::Hash + Eq,
    V: Clone + luaur_common::records::dense_hash_table::DenseDefault,
{
    pub(crate) keys: alloc::vec::Vec<K>,
    pub(crate) pairings: DenseHashMap<K, V>,
}