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§
source§impl Clone for YulExpression
impl Clone for YulExpression
source§fn clone(&self) -> YulExpression
fn clone(&self) -> YulExpression
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for YulExpression
impl Debug for YulExpression
source§impl PartialEq<YulExpression> for YulExpression
impl PartialEq<YulExpression> for YulExpression
source§fn eq(&self, other: &YulExpression) -> bool
fn eq(&self, other: &YulExpression) -> bool
This method tests for
self and other values to be equal, and is used
by ==.