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
use crate::records::function_info::FunctionInfo;
use luaur_ast::records::ast_expr_function::AstExprFunction;

impl FunctionInfo {
    pub fn function_info_ast(ast: *mut AstExprFunction) -> Self {
        Self {
            ast,
            dominated_globals: luaur_common::records::dense_hash_set::DenseHashSet::new(
                luaur_ast::records::ast_name::AstName::default(),
            ),
            conditional_execution: false,
        }
    }
}