luaur-analysis 0.1.3

Luau type checker and type inference (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::functions::get_type_alt_j::get_type_id;
use crate::records::demoter::Demoter;
use crate::records::extern_type::ExternType;
use crate::type_aliases::type_id::TypeId;

impl Demoter {
    pub fn ignore_children(&mut self, ty: TypeId) -> bool {
        let et = unsafe { get_type_id::<ExternType>(ty) };
        !et.is_null()
    }
}