pub fn attributes(&self) -> &[ast::Attribute] {
        match self {
            Self::Path(_) => &[],
            Self::Item(expr) => expr.attributes(),
            Self::Break(expr) => &expr.attributes,
            Self::Continue(expr) => &expr.attributes,
            Self::Yield(expr) => &expr.attributes,
            Self::Block(expr) => &expr.attributes,
            Self::Return(expr) => &expr.attributes,
            Self::Closure(expr) => &expr.attributes,
            Self::Match(expr) => &expr.attributes,
            Self::While(expr) => &expr.attributes,
            Self::Loop(expr) => &expr.attributes,
            Self::For(expr) => &expr.attributes,
            Self::Let(expr) => &expr.attributes,
            Self::If(expr) => &expr.attributes,
            Self::Select(expr) => &expr.attributes,
            Self::Lit(expr) => &expr.attributes,
            Self::Assign(expr) => &expr.attributes,
            Self::Binary(expr) => &expr.attributes,
            Self::Call(expr) => &expr.attributes,
            Self::FieldAccess(expr) => &expr.attributes,
            Self::Group(expr) => &expr.attributes,
            Self::Unary(expr) => &expr.attributes,
            Self::Index(expr) => &expr.attributes,
            Self::Await(expr) => &expr.attributes,
            Self::Try(expr) => &expr.attributes,
            Self::ForceSemi(expr) => expr.expr.attributes(),
            Self::MacroCall(expr) => &expr.attributes,
            Self::Object(expr) => &expr.attributes,
            Self::Range(expr) => &expr.attributes,
            Self::Tuple(expr) => &expr.attributes,
            Self::Vec(expr) => &expr.attributes,
        }
    }
/// Access the attributes of the expression.
Access the attributes of the expression.
Access the attributes of the expression .
pub fn attributes(&self) -> &[ast::Attribute] {
        match self {
            Self::Path(_) => &[],
            Self::Item(expr) => expr.attributes(),
            Self::Break(expr) => &expr.attributes,
            Self::Continue(expr) => &expr.attributes,
            Self::Yield(expr) => &expr.attributes,
            Self::Block(expr) => &expr.attributes,
            Self::Return(expr) => &expr.attributes,
            Self::Closure(expr) => &expr.attributes,
            Self::Match(expr) => &expr.attributes,
            Self::While(expr) => &expr.attributes,
            Self::Loop(expr) => &expr.attributes,
            Self::For(expr) => &expr.attributes,
            Self::Let(expr) => &expr.attributes,
            Self::If(expr) => &expr.attributes,
            Self::Select(expr) => &expr.attributes,
            Self::Lit(expr) => &expr.attributes,
            Self::Assign(expr) => &expr.attributes,
            Self::Binary(expr) => &expr.attributes,
            Self::Call(expr) => &expr.attributes,
            Self::FieldAccess(expr) => &expr.attributes,
            Self::Group(expr) => &expr.attributes,
            Self::Unary(expr) => &expr.attributes,
            Self::Index(expr) => &expr.attributes,
            Self::Await(expr) => &expr.attributes,
            Self::Try(expr) => &expr.attributes,
            Self::ForceSemi(expr) => expr.expr.attributes(),
            Self::MacroCall(expr) => &expr.attributes,
            Self::Object(expr) => &expr.attributes,
            Self::Range(expr) => &expr.attributes,
            Self::Tuple(expr) => &expr.attributes,
            Self::Vec(expr) => &expr.attributes,
        }
    }
pub fn attributes ( & self ) -> & [ ast :: Attribute ] { match self { Self :: Path ( _ ) => & [ ] , Self :: Item ( expr ) => expr . attributes ( ) , Self :: Break ( expr ) => & expr . attributes , Self :: Continue ( expr ) => & expr . attributes , Self :: Yield ( expr ) => & expr . attributes , Self :: Block ( expr ) => & expr . attributes , Self :: Return ( expr ) => & expr . attributes , Self :: Closure ( expr ) => & expr . attributes , Self :: Match ( expr ) => & expr . attributes , Self :: While ( expr ) => & expr . attributes , Self :: Loop ( expr ) => & expr . attributes , Self :: For ( expr ) => & expr . attributes , Self :: Let ( expr ) => & expr . attributes , Self :: If ( expr ) => & expr . attributes , Self :: Select ( expr ) => & expr . attributes , Self :: Lit ( expr ) => & expr . attributes , Self :: Assign ( expr ) => & expr . attributes , Self :: Binary ( expr ) => & expr . attributes , Self :: Call ( expr ) => & expr . attributes , Self :: FieldAccess ( expr ) => & expr . attributes , Self :: Group ( expr ) => & expr . attributes , Self :: Unary ( expr ) => & expr . attributes , Self :: Index ( expr ) => & expr . attributes , Self :: Await ( expr ) => & expr . attributes , Self :: Try ( expr ) => & expr . attributes , Self :: ForceSemi ( expr ) => expr . expr . attributes ( ) , Self :: MacroCall ( expr ) => & expr . attributes , Self :: Object ( expr ) => & expr . attributes , Self :: Range ( expr ) => & expr . attributes , Self :: Tuple ( expr ) => & expr . attributes , Self :: Vec ( expr ) => & expr . attributes , } }
Access the attributes of the expression.
Access the attributes of the expression .
&self
&self