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
14
15
16
17
use crate::records::scope::Scope;
use crate::records::type_level::TypeLevel;
use crate::records::type_once_visitor::TypeOnceVisitor;
use crate::type_aliases::type_id::TypeId;
use crate::type_aliases::type_pack_id::TypePackId;
use alloc::vec::Vec;

#[derive(Debug, Clone)]
pub struct Quantifier {
    pub base: TypeOnceVisitor,
    pub level: TypeLevel,
    pub generics: Vec<TypeId>,
    pub generic_packs: Vec<TypePackId>,
    pub scope: *mut Scope,
    pub seen_generic_type: bool,
    pub seen_mutable_type: bool,
}