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