Struct sway_core::language::parsed::ParseProgram
source · pub struct ParseProgram {
pub kind: TreeType,
pub root: ParseModule,
}
Expand description
A parsed, but not yet type-checked, Sway program.
Includes all modules in the form of a ParseModule
tree accessed via the root
.
Fields§
§kind: TreeType
§root: ParseModule
Trait Implementations§
source§impl Clone for ParseProgram
impl Clone for ParseProgram
source§fn clone(&self) -> ParseProgram
fn clone(&self) -> ParseProgram
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