pub fn supports_macro_expansion(self) -> bool {
        match self {
            AstFragmentKind::OptExpr
            | AstFragmentKind::Expr
            | AstFragmentKind::Pat
            | AstFragmentKind::Ty
            | AstFragmentKind::Stmts
            | AstFragmentKind::Items
            | AstFragmentKind::TraitItems
            | AstFragmentKind::ImplItems
            | AstFragmentKind::ForeignItems => true,
            AstFragmentKind::Arms
            | AstFragmentKind::Fields
            | AstFragmentKind::FieldPats
            | AstFragmentKind::GenericParams
            | AstFragmentKind::Params
            | AstFragmentKind::StructFields
            | AstFragmentKind::Variants => false,
        }
    }
/// Fragment supports macro expansion and not just inert attributes, `cfg` and `cfg_attr`.
Fragment supports macro expansion and not just inert attributes, `cfg` and `cfg_attr`.
Fragment supports macro expansion and not just inert attributes ` cfg ` and ` cfg_attr ` .
pub fn supports_macro_expansion(self) -> bool {
        match self {
            AstFragmentKind::OptExpr
            | AstFragmentKind::Expr
            | AstFragmentKind::Pat
            | AstFragmentKind::Ty
            | AstFragmentKind::Stmts
            | AstFragmentKind::Items
            | AstFragmentKind::TraitItems
            | AstFragmentKind::ImplItems
            | AstFragmentKind::ForeignItems => true,
            AstFragmentKind::Arms
            | AstFragmentKind::Fields
            | AstFragmentKind::FieldPats
            | AstFragmentKind::GenericParams
            | AstFragmentKind::Params
            | AstFragmentKind::StructFields
            | AstFragmentKind::Variants => false,
        }
    }
pub fn supports_macro_expansion ( self ) -> bool { match self { AstFragmentKind :: OptExpr | AstFragmentKind :: Expr | AstFragmentKind :: Pat | AstFragmentKind :: Ty | AstFragmentKind :: Stmts | AstFragmentKind :: Items | AstFragmentKind :: TraitItems | AstFragmentKind :: ImplItems | AstFragmentKind :: ForeignItems => true , AstFragmentKind :: Arms | AstFragmentKind :: Fields | AstFragmentKind :: FieldPats | AstFragmentKind :: GenericParams | AstFragmentKind :: Params | AstFragmentKind :: StructFields | AstFragmentKind :: Variants => false , } }
Fragment supports macro expansion and not just inert attributes, `cfg` and `cfg_attr`.
Fragment supports macro expansion and not just inert attributes ` cfg ` and ` cfg_attr ` .
self
self