Struct solang_parser::pt::YulBlock
source · pub struct YulBlock {
pub loc: Loc,
pub statements: Vec<YulStatement>,
}
Expand description
A Yul block statement.
{ <statements>* }
Fields§
§loc: Loc
The code location.
statements: Vec<YulStatement>
The block statements.
Implementations§
Trait Implementations§
source§impl OptionalCodeLocation for YulBlock
impl OptionalCodeLocation for YulBlock
source§impl PartialEq for YulBlock
impl PartialEq for YulBlock
impl Eq for YulBlock
impl StructuralEq for YulBlock
impl StructuralPartialEq for YulBlock
Auto Trait Implementations§
impl RefUnwindSafe for YulBlock
impl Send for YulBlock
impl Sync for YulBlock
impl Unpin for YulBlock
impl UnwindSafe for YulBlock
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more