sway-core 0.71.0

Sway core language.
Documentation
mod contract_helpers;
mod lexical_scope;
mod module;
#[allow(clippy::module_inception)]
mod namespace;
mod package;
mod resolved_declaration;
mod trait_coherence;
mod trait_map;

pub use contract_helpers::*;
pub use lexical_scope::{Items, LexicalScope, LexicalScopeId, LexicalScopePath};
pub use module::module_not_found;
pub use module::Module;
pub use namespace::Namespace;
pub use package::Package;
pub use resolved_declaration::ResolvedDeclaration;
pub(crate) use trait_coherence::check_impls_for_overlap;
pub(crate) use trait_coherence::check_orphan_rules_for_impls;
pub(crate) use trait_map::IsExtendingExistingImpl;
pub(crate) use trait_map::IsImplInterfaceSurface;
pub(crate) use trait_map::IsImplSelf;
pub(super) use trait_map::ResolvedTraitImplItem;
pub(crate) use trait_map::TraitEntry;
pub(crate) use trait_map::TraitKey;
pub use trait_map::TraitMap;
pub(crate) use trait_map::TraitSuffix;
pub use trait_map::TryInsertingTraitImplOnFailure;

use sway_types::Ident;

type ModuleName = String;
pub type ModulePath = [Ident];
pub type ModulePathBuf = Vec<Ident>;