maudit_rolldown_common 0.1.0

This crate is mostly for sharing code between rolldwon crates. fork of Rolldown for the Maudit project until Rolldown is published on crates.io
Documentation
use oxc_index::IndexVec;
use rolldown_ecmascript::EcmaAst;

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

use super::runtime_module_brief::RuntimeModuleBrief;

pub struct RuntimeModuleTaskResult {
  pub runtime: RuntimeModuleBrief,
  pub local_symbol_ref_db: SymbolRefDbForModule,
  pub ast: EcmaAst,
  pub ast_scope: AstScopes,
  // pub warnings: Vec<BuildError>,
  pub module: NormalModule,
  pub resolved_deps: IndexVec<ImportRecordIdx, ResolvedId>,
  pub raw_import_records: IndexVec<ImportRecordIdx, RawImportRecord>,
}