sway-core 0.35.3

Sway core language.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::language::parsed;
use sway_types::ident::Ident;

#[derive(Clone, Debug, PartialEq, Eq, Hash)]
pub struct TyUseStatement {
    pub call_path: Vec<Ident>,
    pub import_type: parsed::ImportType,
    // If `is_absolute` is true, then this use statement is an absolute path from
    // the project root namespace. If not, then it is relative to the current namespace.
    pub is_absolute: bool,
    pub alias: Option<Ident>,
}