luaur-analysis 0.1.3

Luau type checker and type inference (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::type_aliases::type_id::TypeId;
use crate::type_aliases::type_pack_id::TypePackId;
use alloc::string::String;
use alloc::vec::Vec;

#[derive(Debug, Clone)]
pub struct NameConstraint {
    pub(crate) named_type: TypeId,
    pub(crate) name: String,
    pub(crate) synthetic: bool,
    pub(crate) type_parameters: Vec<TypeId>,
    pub(crate) type_pack_parameters: Vec<TypePackId>,
}