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
Auto Trait Implementations
impl RefUnwindSafe for ParseProgram
impl Send for ParseProgram
impl Sync for ParseProgram
impl Unpin for ParseProgram
impl UnwindSafe for ParseProgram
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more