Enum solang_parser::pt::CatchClause
source · pub enum CatchClause {
Simple(Loc, Option<Parameter>, Statement),
Named(Loc, Identifier, Parameter, Statement),
}Variants§
Trait Implementations§
source§impl Clone for CatchClause
impl Clone for CatchClause
source§fn clone(&self) -> CatchClause
fn clone(&self) -> CatchClause
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 CatchClause
impl Debug for CatchClause
source§impl PartialEq<CatchClause> for CatchClause
impl PartialEq<CatchClause> for CatchClause
source§fn eq(&self, other: &CatchClause) -> bool
fn eq(&self, other: &CatchClause) -> bool
This method tests for
self and other values to be equal, and is used
by ==.