Struct swc_ecma_visit::Folder [−][src]
pub struct Folder<V: VisitMut>(_);
Trait Implementations
fn fold_export_default_specifier(
&mut self,
n: ExportDefaultSpecifier
) -> ExportDefaultSpecifier
fn fold_export_namespace_specifier(
&mut self,
n: ExportNamespaceSpecifier
) -> ExportNamespaceSpecifier
fn fold_import_default_specifier(
&mut self,
n: ImportDefaultSpecifier
) -> ImportDefaultSpecifier
fn fold_import_star_as_specifier(
&mut self,
n: ImportStarAsSpecifier
) -> ImportStarAsSpecifier
fn fold_opt_expr_or_spreads(
&mut self,
n: Option<Vec<ExprOrSpread>>
) -> Option<Vec<ExprOrSpread>>
fn fold_opt_jsx_closing_element(
&mut self,
n: Option<JSXClosingElement>
) -> Option<JSXClosingElement>
fn fold_opt_ts_namespace_body(
&mut self,
n: Option<TsNamespaceBody>
) -> Option<TsNamespaceBody>
fn fold_opt_ts_type_param_decl(
&mut self,
n: Option<TsTypeParamDecl>
) -> Option<TsTypeParamDecl>
fn fold_opt_ts_type_param_instantiation(
&mut self,
n: Option<TsTypeParamInstantiation>
) -> Option<TsTypeParamInstantiation>
fn fold_opt_vec_expr_or_spreads(
&mut self,
n: Vec<Option<ExprOrSpread>>
) -> Vec<Option<ExprOrSpread>>
fn fold_param_or_ts_param_props(
&mut self,
n: Vec<ParamOrTsParamProp>
) -> Vec<ParamOrTsParamProp>
fn fold_ts_construct_signature_decl(
&mut self,
n: TsConstructSignatureDecl
) -> TsConstructSignatureDecl
fn fold_ts_expr_with_type_args_vec(
&mut self,
n: Vec<TsExprWithTypeArgs>
) -> Vec<TsExprWithTypeArgs>
fn fold_ts_fn_or_constructor_type(
&mut self,
n: TsFnOrConstructorType
) -> TsFnOrConstructorType
fn fold_ts_namespace_export_decl(
&mut self,
n: TsNamespaceExportDecl
) -> TsNamespaceExportDecl
fn fold_ts_type_param_instantiation(
&mut self,
n: TsTypeParamInstantiation
) -> TsTypeParamInstantiation
fn fold_ts_union_or_intersection_type(
&mut self,
n: TsUnionOrIntersectionType
) -> TsUnionOrIntersectionType
This only proxies subset of methods.
fn visit_mut_opt_ts_type_param_instantiation(
&mut self,
n: &mut Option<TsTypeParamInstantiation>
)
Auto Trait Implementations
impl<V> RefUnwindSafe for Folder<V> where
V: RefUnwindSafe,
impl<V> UnwindSafe for Folder<V> where
V: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more