Trait swc_plugin::utils::FunctionFactory
[−]pub trait FunctionFactory: Into<Function> {
fn into_fn_expr(self, ident: Option<Ident>) -> FnExpr { ... }
fn into_fn_decl(self, ident: Ident) -> FnDecl { ... }
fn into_method_prop(self, key: PropName) -> MethodProp { ... }
}