sway_core/semantic_analysis/namespace/
mod.rs1mod contract_helpers;
2mod lexical_scope;
3mod module;
4#[allow(clippy::module_inception)]
5mod namespace;
6mod package;
7mod resolved_declaration;
8mod trait_coherence;
9mod trait_map;
10
11pub use contract_helpers::*;
12pub use lexical_scope::{Items, LexicalScope, LexicalScopeId, LexicalScopePath};
13pub use module::module_not_found;
14pub use module::Module;
15pub use namespace::Namespace;
16pub use package::Package;
17pub use resolved_declaration::ResolvedDeclaration;
18pub(crate) use trait_coherence::check_impls_for_overlap;
19pub(crate) use trait_coherence::check_orphan_rules_for_impls;
20pub(crate) use trait_map::IsExtendingExistingImpl;
21pub(crate) use trait_map::IsImplSelf;
22pub(super) use trait_map::ResolvedTraitImplItem;
23pub use trait_map::TraitMap;
24pub use trait_map::TryInsertingTraitImplOnFailure;
25
26use sway_types::Ident;
27
28type ModuleName = String;
29pub type ModulePath = [Ident];
30pub type ModulePathBuf = Vec<Ident>;