use crate::{language::ModName, transform};
use super::ParseTree;
use sway_types::Span;
#[derive(Debug, Clone)]
pub struct ParseModule {
pub tree: ParseTree,
pub submodules: Vec<(ModName, ParseSubmodule)>,
pub attributes: transform::AttributesMap,
pub span: Span,
}
#[derive(Debug, Clone)]
pub struct ParseSubmodule {
pub module: ParseModule,
pub mod_name_span: Span,
}