rolldown_common/
type_aliases.rs

1use std::sync::Arc;
2
3use arcstr::ArcStr;
4use oxc::span::Span;
5use oxc_index::IndexVec;
6use rolldown_utils::dashmap::FxDashMap;
7use rustc_hash::FxHashMap;
8
9use crate::{
10  Chunk, ChunkIdx, ModuleInfo, types::member_expr_ref_resolution::MemberExprRefResolution,
11};
12
13pub type IndexChunks = IndexVec<ChunkIdx, Chunk>;
14
15pub type MemberExprRefResolutionMap = FxHashMap<Span, MemberExprRefResolution>;
16
17pub type SharedModuleInfoDashMap = Arc<FxDashMap<ArcStr, Arc<ModuleInfo>>>;