luaur-analysis 0.1.0

Luau type checker and type inference (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::records::property_type_path::Property;
use crate::type_aliases::type_id::TypeId;
use alloc::string::String;

pub fn make_property(ty: TypeId, documentation_symbol: Option<String>) -> Property {
    Property {
        name: documentation_symbol.unwrap_or_default(),
        is_read: true,
    }
}