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
13
14
15
16
use crate::records::type_function_function_type::TypeFunctionFunctionType;

#[derive(Debug, Clone)]
pub struct SerializedFunctionScope {
    pub(crate) old_queue_size: usize,
    pub(crate) function: *mut TypeFunctionFunctionType,
}

impl Default for SerializedFunctionScope {
    fn default() -> Self {
        Self {
            old_queue_size: 0,
            function: core::ptr::null_mut(),
        }
    }
}