Struct sway_core::SwayParseTree
source · [−]Expand description
Represents a parsed, but not yet type-checked, Sway program. A Sway program can be either a contract, script, predicate, or it can be a library to be imported into one of the aforementioned program types.
Fields
tree_type: TreeType
tree: ParseTree
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SwayParseTree
impl Send for SwayParseTree
impl Sync for SwayParseTree
impl Unpin for SwayParseTree
impl UnwindSafe for SwayParseTree
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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