Struct solang_parser::pt::YulFor
source · pub struct YulFor {
pub loc: Loc,
pub init_block: YulBlock,
pub condition: YulExpression,
pub post_block: YulBlock,
pub execution_block: YulBlock,
}Expand description
A Yul for statement.
for <init_block> <condition> <post_block> <execution_block>
Fields§
§loc: LocThe code location.
init_block: YulBlockThe for statement init block.
condition: YulExpressionThe for statement condition.
post_block: YulBlockThe for statement post block.
execution_block: YulBlockThe for statement execution block.
Trait Implementations§
source§impl OptionalCodeLocation for YulFor
impl OptionalCodeLocation for YulFor
source§impl PartialEq<YulFor> for YulFor
impl PartialEq<YulFor> for YulFor
impl Eq for YulFor
impl StructuralEq for YulFor
impl StructuralPartialEq for YulFor
Auto Trait Implementations§
impl RefUnwindSafe for YulFor
impl Send for YulFor
impl Sync for YulFor
impl Unpin for YulFor
impl UnwindSafe for YulFor
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