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::table_indexer::TableIndexer;
use crate::type_aliases::type_id::TypeId;

pub fn table_indexer_table_indexer(
    index_type: TypeId,
    index_result_type: TypeId,
    is_read_only: bool,
) -> TableIndexer {
    TableIndexer {
        index_type,
        index_result_type,
        is_read_only,
    }
}