luaur-analysis 0.1.1

Luau type checker and type inference (Rust).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use luaur_ast::records::ast_local::AstLocal;
use luaur_ast::records::ast_name::AstName;
use luaur_ast::records::ast_node::AstNode;
use luaur_ast::records::ast_stat::AstStat;
use luaur_ast::records::ast_stat_block::AstStatBlock;
use luaur_ast::records::location::Location;
use luaur_common::records::dense_hash_map::DenseHashMap;

#[derive(Debug, Clone)]
pub struct FragmentAutocompleteAncestryResult {
    pub localMap: DenseHashMap<AstName, *mut AstLocal>,
    pub localStack: alloc::vec::Vec<*mut AstLocal>,
    pub ancestry: alloc::vec::Vec<*mut AstNode>,
    pub nearestStatement: *mut AstStat,
    pub parentBlock: *mut AstStatBlock,
    pub fragmentSelectionRegion: Location,
}