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
use crate::records::lint_context::LintContext;
use crate::records::lint_deprecated_api::LintDeprecatedApi;
use luaur_ast::visit::ast_stat_visit;

impl LintDeprecatedApi {
    #[inline(never)]
    pub fn process(&mut self, context: &mut LintContext) {
        self.lint_deprecated_api(context as *mut LintContext);
        unsafe {
            ast_stat_visit(context.root, self);
        }
    }
}