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 alloc::vec::Vec;
use luaur_ast::records::deprecated_info::DeprecatedInfo;

#[derive(Debug, Clone, Default)]
pub struct GeneralizationConstraint {
    pub(crate) generalized_type: TypeId,
    pub(crate) source_type: TypeId,
    pub(crate) interior_types: Vec<TypeId>,
    pub(crate) has_deprecated_attribute: bool,
    pub(crate) deprecated_info: DeprecatedInfo,
    pub(crate) no_generics: bool,
}