Struct solang_parser::pt::YulTypedIdentifier
source · pub struct YulTypedIdentifier {
pub loc: Loc,
pub id: Identifier,
pub ty: Option<Identifier>,
}Expand description
A Yul typed identifier.
<id> [: <ty>]
Fields§
§loc: LocThe code location.
id: IdentifierThe identifier.
ty: Option<Identifier>The optional type.
Trait Implementations§
source§impl Clone for YulTypedIdentifier
impl Clone for YulTypedIdentifier
source§fn clone(&self) -> YulTypedIdentifier
fn clone(&self) -> YulTypedIdentifier
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 CodeLocation for YulTypedIdentifier
impl CodeLocation for YulTypedIdentifier
source§impl Debug for YulTypedIdentifier
impl Debug for YulTypedIdentifier
source§impl Display for YulTypedIdentifier
impl Display for YulTypedIdentifier
source§impl PartialEq<YulTypedIdentifier> for YulTypedIdentifier
impl PartialEq<YulTypedIdentifier> for YulTypedIdentifier
source§fn eq(&self, other: &YulTypedIdentifier) -> bool
fn eq(&self, other: &YulTypedIdentifier) -> bool
This method tests for
self and other values to be equal, and is used
by ==.