luaur-analysis 0.1.3

Luau type checker and type inference (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::records::i_fragment_autocomplete_reporter::IFragmentAutocompleteReporter;

#[allow(non_snake_case)]
pub(crate) fn report_fragment_string(
    reporter: *mut dyn IFragmentAutocompleteReporter,
    fragment: &str,
) {
    if reporter.is_null() {
        return;
    }

    unsafe {
        (*reporter).report_fragment_string(fragment);
    }
}