fn add_expr(&mut self, expr: &Expr) -> syn::parse::Result<()> {
        match expr {
            syn::Expr::Path(exp) if exp.path.segments.len() == 1 => self.add_path(exp),
            syn::Expr::Assign(assign) => self.add_assign(assign),
            _ => bail_spanned!(expr.span() => "failed to parse arguments"),
        }
    }
/// Adda single expression from the comma separated list in the attribute, which is
/// either a single word or an assignment expression
Adda single expression from the comma separated list in the attribute, which is
either a single word or an assignment expression
Adda single expression from the comma separated list in the attribute which is either a single word or an assignment expression
fn add_expr(&mut self, expr: &Expr) -> syn::parse::Result<()> {
        match expr {
            syn::Expr::Path(exp) if exp.path.segments.len() == 1 => self.add_path(exp),
            syn::Expr::Assign(assign) => self.add_assign(assign),
            _ => bail_spanned!(expr.span() => "failed to parse arguments"),
        }
    }
fn add_expr ( & mut self , expr : & Expr ) -> syn :: parse :: Result < ( ) > { match expr { syn :: Expr :: Path ( exp ) if exp . path . segments . len ( ) == 1 => self . add_path ( exp ) , syn :: Expr :: Assign ( assign ) => self . add_assign ( assign ) , _ => bail_spanned ! ( expr span ( ) " " ) , } }
Adda single expression from the comma separated list in the attribute, which is
either a single word or an assignment expression
Adda single expression from the comma separated list in the attribute which is either a single word or an assignment expression
&mut self
expr
&Expr
&mut self
expr
&Expr