Skip to main content

luaur_analysis/records/
magic_refinement_context.rs

1use crate::records::scope::Scope;
2use crate::type_aliases::type_id::TypeId;
3use luaur_ast::records::ast_expr_call::AstExprCall;
4
5#[derive(Debug, Clone)]
6pub struct MagicRefinementContext {
7    pub scope: *mut Scope,
8    pub call_site: *const AstExprCall,
9    pub discriminant_types: alloc::vec::Vec<Option<TypeId>>,
10}