Struct sway_core::language::parsed::ParseModule
source · pub struct ParseModule {
pub tree: ParseTree,
pub submodules: Vec<(DepName, ParseSubmodule)>,
}
Expand description
A module and its submodules in the form of a tree.
Fields§
§tree: ParseTree
The content of this module in the form of a ParseTree
.
submodules: Vec<(DepName, ParseSubmodule)>
Submodules introduced within this module using the dep
syntax in order of declaration.
Trait Implementations§
source§impl Clone for ParseModule
impl Clone for ParseModule
source§fn clone(&self) -> ParseModule
fn clone(&self) -> ParseModule
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