rolldown_common 1.0.0

This crate is mostly for sharing code between rolldwon crates.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use oxc_index::IndexVec;
use rolldown_ecmascript::EcmaAst;

use crate::{
  ImportRecordIdx, NormalModule, RawImportRecord, ResolvedId, StmtInfos, SymbolRefDbForModule,
};

use super::runtime_module_brief::RuntimeModuleBrief;

pub struct RuntimeModuleTaskResult {
  pub runtime: RuntimeModuleBrief,
  pub local_symbol_ref_db: SymbolRefDbForModule,
  pub ast: EcmaAst,
  pub module: NormalModule,
  pub stmt_infos: StmtInfos,
  pub resolved_deps: IndexVec<ImportRecordIdx, ResolvedId>,
  pub raw_import_records: IndexVec<ImportRecordIdx, RawImportRecord>,
}