Struct sway_core::language::lexed::LexedModule
source · pub struct LexedModule {
pub tree: Module,
pub submodules: Vec<(DepName, LexedSubmodule)>,
}
Expand description
A module and its submodules in the form of a tree.
Fields§
§tree: Module
The content of this module in the form of a Module.
submodules: Vec<(DepName, LexedSubmodule)>
Submodules introduced within this module using the dep
syntax in order of declaration.
Trait Implementations§
source§impl Clone for LexedModule
impl Clone for LexedModule
source§fn clone(&self) -> LexedModule
fn clone(&self) -> LexedModule
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more