luaur-analysis 0.1.0

Luau type checker and type inference (Rust).
Documentation
1
2
3
4
5
6
7
use crate::type_aliases::props_type::Props;

pub fn assign_prop_documentation_symbols(props: &mut Props, base_name: &str) {
    for (_name, prop) in props.iter_mut() {
        prop.documentation_symbol = Some(format!("{}.{}", base_name, _name));
    }
}