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 more
sourceimpl 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
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &YulStatement) -> bool
fn ne(&self, other: &YulStatement) -> bool
This method tests for !=.
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 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