Enum solang_parser::pt::YulExpression
source · [−]pub enum YulExpression {
BoolLiteral(Loc, bool, Option<Identifier>),
NumberLiteral(Loc, String, String, Option<Identifier>),
HexNumberLiteral(Loc, String, Option<Identifier>),
HexStringLiteral(HexLiteral, Option<Identifier>),
StringLiteral(StringLiteral, Option<Identifier>),
Variable(Identifier),
FunctionCall(Box<YulFunctionCall>),
SuffixAccess(Loc, Box<YulExpression>, Identifier),
}
Variants
BoolLiteral(Loc, bool, Option<Identifier>)
NumberLiteral(Loc, String, String, Option<Identifier>)
HexNumberLiteral(Loc, String, Option<Identifier>)
HexStringLiteral(HexLiteral, Option<Identifier>)
StringLiteral(StringLiteral, Option<Identifier>)
Variable(Identifier)
FunctionCall(Box<YulFunctionCall>)
SuffixAccess(Loc, Box<YulExpression>, Identifier)
Trait Implementations
sourceimpl Clone for YulExpression
impl Clone for YulExpression
sourcefn clone(&self) -> YulExpression
fn clone(&self) -> YulExpression
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 YulExpression
impl Debug for YulExpression
sourceimpl PartialEq<YulExpression> for YulExpression
impl PartialEq<YulExpression> for YulExpression
sourcefn eq(&self, other: &YulExpression) -> bool
fn eq(&self, other: &YulExpression) -> bool
impl Eq for YulExpression
impl StructuralEq for YulExpression
impl StructuralPartialEq for YulExpression
Auto Trait Implementations
impl RefUnwindSafe for YulExpression
impl Send for YulExpression
impl Sync for YulExpression
impl Unpin for YulExpression
impl UnwindSafe for YulExpression
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