Enum solang_parser::pt::YulStatement
source · [−]pub enum YulStatement {
Assign(Loc, Vec<YulExpression>, YulExpression),
VariableDeclaration(Loc, Vec<YulTypedIdentifier>, Option<YulExpression>),
If(Loc, YulExpression, YulBlock),
For(YulFor),
Switch(YulSwitch),
Leave(Loc),
Break(Loc),
Continue(Loc),
Block(YulBlock),
FunctionDefinition(Box<YulFunctionDefinition>),
FunctionCall(Box<YulFunctionCall>),
}
Variants
Assign(Loc, Vec<YulExpression>, YulExpression)
VariableDeclaration(Loc, Vec<YulTypedIdentifier>, Option<YulExpression>)
If(Loc, YulExpression, YulBlock)
For(YulFor)
Switch(YulSwitch)
Leave(Loc)
Break(Loc)
Continue(Loc)
Block(YulBlock)
FunctionDefinition(Box<YulFunctionDefinition>)
FunctionCall(Box<YulFunctionCall>)
Implementations
sourceimpl YulStatement
impl YulStatement
Trait Implementations
sourceimpl Clone for YulStatement
impl Clone for YulStatement
sourcefn clone(&self) -> YulStatement
fn clone(&self) -> YulStatement
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for YulStatement
impl Debug for YulStatement
sourceimpl PartialEq<YulStatement> for YulStatement
impl PartialEq<YulStatement> for YulStatement
sourcefn eq(&self, other: &YulStatement) -> bool
fn eq(&self, other: &YulStatement) -> bool
impl Eq for YulStatement
impl StructuralEq for YulStatement
impl StructuralPartialEq for YulStatement
Auto Trait Implementations
impl RefUnwindSafe for YulStatement
impl Send for YulStatement
impl Sync for YulStatement
impl Unpin for YulStatement
impl UnwindSafe for YulStatement
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