use crate::parsed::Span;
use sway_types::ident::Ident;
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub enum ImportType {
Star,
SelfImport(Span),
Item(Ident),
}
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub struct UseStatement {
pub call_path: Vec<Ident>,
pub import_type: ImportType,
pub is_absolute: bool,
pub alias: Option<Ident>,
}