luaur-analyze-cli 0.1.3

Standalone Luau type-checker CLI (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::functions::convert_analyze_requirer::convert;
use crate::records::file_navigation_context::FileNavigationContext;
use alloc::string::String;

#[allow(non_snake_case)]
pub unsafe fn file_navigation_context_to_child(
    this: *mut FileNavigationContext,
    component: &String,
) -> crate::type_aliases::navigate_result::NavigateResult {
    let this = &mut *this;
    convert(this.vfs.to_child(component.as_str()))
}