luaur_analysis/records/def_arena.rs
1use crate::records::def::Def;
2use crate::records::symbol::Symbol;
3use crate::records::typed_allocator::TypedAllocator;
4use crate::type_aliases::def_id_refinement::DefId;
5use luaur_ast::records::location::Location;
6
7#[derive(Debug)]
8pub struct DefArena {
9 pub allocator: TypedAllocator<Def>,
10}
11
12impl Default for DefArena {
13 fn default() -> Self {
14 Self {
15 allocator: TypedAllocator::typed_allocator(),
16 }
17 }
18}