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::enums::value_context::ValueContext;
use crate::type_aliases::type_id::TypeId;
use alloc::string::String;

#[derive(Debug, Clone)]
pub struct HasPropConstraint {
    pub result_type: TypeId,
    pub subject_type: TypeId,
    pub prop: String,
    pub context: ValueContext,
    pub in_conditional: bool,
    pub suppress_simplification: bool,
}