sway_core/semantic_analysis/namespace/
mod.rs

1mod 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::IsImplInterfaceSurface;
22pub(crate) use trait_map::IsImplSelf;
23pub(super) use trait_map::ResolvedTraitImplItem;
24pub(crate) use trait_map::TraitEntry;
25pub(crate) use trait_map::TraitKey;
26pub use trait_map::TraitMap;
27pub(crate) use trait_map::TraitSuffix;
28pub use trait_map::TryInsertingTraitImplOnFailure;
29
30use sway_types::Ident;
31
32type ModuleName = String;
33pub type ModulePath = [Ident];
34pub type ModulePathBuf = Vec<Ident>;