swc_core::ecma::visit

Trait FoldWith

pub trait FoldWith<V>
where V: Fold + ?Sized,
{ // Required methods fn fold_with(self, visitor: &mut V) -> Self; fn fold_children_with(self, visitor: &mut V) -> Self; }
Available on crate features __ecma and __visit only.
Expand description

A trait implemented for types that can be visited using a visitor.

Required Methods§

fn fold_with(self, visitor: &mut V) -> Self

Calls a visitor method (visitor.fold_xxx) with self.

fn fold_children_with(self, visitor: &mut V) -> Self

Visit children nodes of self`` with visitor`.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

§

impl<V> FoldWith<V> for Option<Accessibility>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Option<Accessibility>

Calls Fold::fold_opt_accessibility with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Option<Accessibility>

§

impl<V> FoldWith<V> for Option<JSXAttrValue>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Option<JSXAttrValue>

Calls Fold::fold_opt_jsx_attr_value with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Option<JSXAttrValue>

§

impl<V> FoldWith<V> for Option<ModuleExportName>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Option<ModuleExportName>

Calls Fold::fold_opt_module_export_name with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Option<ModuleExportName>

§

impl<V> FoldWith<V> for Option<Pat>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Option<Pat>

Calls Fold::fold_opt_pat with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Option<Pat>

§

impl<V> FoldWith<V> for Option<TruePlusMinus>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Option<TruePlusMinus>

Calls Fold::fold_opt_true_plus_minus with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Option<TruePlusMinus>

§

impl<V> FoldWith<V> for Option<TsEntityName>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Option<TsEntityName>

Calls Fold::fold_opt_ts_entity_name with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Option<TsEntityName>

§

impl<V> FoldWith<V> for Option<TsNamespaceBody>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Option<TsNamespaceBody>

Calls Fold::fold_opt_ts_namespace_body with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Option<TsNamespaceBody>

§

impl<V> FoldWith<V> for Option<VarDeclOrExpr>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Option<VarDeclOrExpr>

Calls Fold::fold_opt_var_decl_or_expr with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Option<VarDeclOrExpr>

§

impl<V> FoldWith<V> for Option<Atom>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Option<Atom>

Calls Fold::fold_opt_atom with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Option<Atom>

§

impl<V> FoldWith<V> for Option<Span>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Option<Span>

Calls Fold::fold_opt_span with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Option<Span>

§

impl<V> FoldWith<V> for Option<BlockStmt>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Option<BlockStmt>

Calls Fold::fold_opt_block_stmt with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Option<BlockStmt>

§

impl<V> FoldWith<V> for Option<CatchClause>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Option<CatchClause>

Calls Fold::fold_opt_catch_clause with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Option<CatchClause>

§

impl<V> FoldWith<V> for Option<ExprOrSpread>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Option<ExprOrSpread>

Calls Fold::fold_opt_expr_or_spread with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Option<ExprOrSpread>

§

impl<V> FoldWith<V> for Option<Ident>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Option<Ident>

Calls Fold::fold_opt_ident with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Option<Ident>

§

impl<V> FoldWith<V> for Option<JSXClosingElement>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Option<JSXClosingElement>

Calls Fold::fold_opt_jsx_closing_element with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Option<JSXClosingElement>

§

impl<V> FoldWith<V> for Option<Box<Expr>>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Option<Box<Expr>>

Calls Fold::fold_opt_expr with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Option<Box<Expr>>

§

impl<V> FoldWith<V> for Option<Box<Stmt>>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Option<Box<Stmt>>

Calls Fold::fold_opt_stmt with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Option<Box<Stmt>>

§

impl<V> FoldWith<V> for Option<Box<TsType>>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Option<Box<TsType>>

Calls Fold::fold_opt_ts_type with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Option<Box<TsType>>

§

impl<V> FoldWith<V> for Option<Box<ObjectLit>>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Option<Box<ObjectLit>>

Calls Fold::fold_opt_object_lit with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Option<Box<ObjectLit>>

§

impl<V> FoldWith<V> for Option<Box<Str>>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Option<Box<Str>>

Calls Fold::fold_opt_str with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Option<Box<Str>>

§

impl<V> FoldWith<V> for Option<Box<TsTypeAnn>>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Option<Box<TsTypeAnn>>

Calls Fold::fold_opt_ts_type_ann with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Option<Box<TsTypeAnn>>

§

impl<V> FoldWith<V> for Option<Box<TsTypeParamDecl>>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Option<Box<TsTypeParamDecl>>

Calls Fold::fold_opt_ts_type_param_decl with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Option<Box<TsTypeParamDecl>>

§

impl<V> FoldWith<V> for Option<Box<TsTypeParamInstantiation>>
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for Option<Vec<ExprOrSpread>>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Option<Vec<ExprOrSpread>>

Calls Fold::fold_opt_expr_or_spreads with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Option<Vec<ExprOrSpread>>

§

impl<V> FoldWith<V> for Vec<ClassMember>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Vec<ClassMember>

Calls Fold::fold_class_members with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Vec<ClassMember>

§

impl<V> FoldWith<V> for Vec<ExportSpecifier>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Vec<ExportSpecifier>

Calls Fold::fold_export_specifiers with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Vec<ExportSpecifier>

§

impl<V> FoldWith<V> for Vec<ImportSpecifier>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Vec<ImportSpecifier>

Calls Fold::fold_import_specifiers with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Vec<ImportSpecifier>

§

impl<V> FoldWith<V> for Vec<JSXAttrOrSpread>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Vec<JSXAttrOrSpread>

Calls Fold::fold_jsx_attr_or_spreads with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Vec<JSXAttrOrSpread>

§

impl<V> FoldWith<V> for Vec<JSXElementChild>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Vec<JSXElementChild>

Calls Fold::fold_jsx_element_childs with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Vec<JSXElementChild>

§

impl<V> FoldWith<V> for Vec<ModuleItem>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Vec<ModuleItem>

Calls Fold::fold_module_items with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Vec<ModuleItem>

§

impl<V> FoldWith<V> for Vec<ObjectPatProp>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Vec<ObjectPatProp>

Calls Fold::fold_object_pat_props with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Vec<ObjectPatProp>

§

impl<V> FoldWith<V> for Vec<ParamOrTsParamProp>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Vec<ParamOrTsParamProp>

Calls Fold::fold_param_or_ts_param_props with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Vec<ParamOrTsParamProp>

§

impl<V> FoldWith<V> for Vec<Pat>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Vec<Pat>

Calls Fold::fold_pats with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Vec<Pat>

§

impl<V> FoldWith<V> for Vec<PropOrSpread>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Vec<PropOrSpread>

Calls Fold::fold_prop_or_spreads with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Vec<PropOrSpread>

§

impl<V> FoldWith<V> for Vec<Stmt>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Vec<Stmt>

Calls Fold::fold_stmts with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Vec<Stmt>

§

impl<V> FoldWith<V> for Vec<TsFnParam>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Vec<TsFnParam>

Calls Fold::fold_ts_fn_params with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Vec<TsFnParam>

§

impl<V> FoldWith<V> for Vec<TsTypeElement>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Vec<TsTypeElement>

Calls Fold::fold_ts_type_elements with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Vec<TsTypeElement>

§

impl<V> FoldWith<V> for Vec<Option<Pat>>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Vec<Option<Pat>>

Calls Fold::fold_opt_vec_pats with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Vec<Option<Pat>>

§

impl<V> FoldWith<V> for Vec<Option<ExprOrSpread>>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Vec<Option<ExprOrSpread>>

Calls Fold::fold_opt_vec_expr_or_spreads with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Vec<Option<ExprOrSpread>>

§

impl<V> FoldWith<V> for Vec<Decorator>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Vec<Decorator>

Calls Fold::fold_decorators with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Vec<Decorator>

§

impl<V> FoldWith<V> for Vec<ExprOrSpread>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Vec<ExprOrSpread>

Calls Fold::fold_expr_or_spreads with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Vec<ExprOrSpread>

§

impl<V> FoldWith<V> for Vec<ImportWithItem>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Vec<ImportWithItem>

Calls Fold::fold_import_with_items with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Vec<ImportWithItem>

§

impl<V> FoldWith<V> for Vec<Param>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Vec<Param>

Calls Fold::fold_params with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Vec<Param>

§

impl<V> FoldWith<V> for Vec<SwitchCase>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Vec<SwitchCase>

Calls Fold::fold_switch_cases with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Vec<SwitchCase>

§

impl<V> FoldWith<V> for Vec<TplElement>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Vec<TplElement>

Calls Fold::fold_tpl_elements with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Vec<TplElement>

§

impl<V> FoldWith<V> for Vec<TsEnumMember>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Vec<TsEnumMember>

Calls Fold::fold_ts_enum_members with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Vec<TsEnumMember>

§

impl<V> FoldWith<V> for Vec<TsExprWithTypeArgs>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Vec<TsExprWithTypeArgs>

Calls Fold::fold_ts_expr_with_type_argss with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Vec<TsExprWithTypeArgs>

§

impl<V> FoldWith<V> for Vec<TsTupleElement>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Vec<TsTupleElement>

Calls Fold::fold_ts_tuple_elements with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Vec<TsTupleElement>

§

impl<V> FoldWith<V> for Vec<TsTypeParam>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Vec<TsTypeParam>

Calls Fold::fold_ts_type_params with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Vec<TsTypeParam>

§

impl<V> FoldWith<V> for Vec<VarDeclarator>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Vec<VarDeclarator>

Calls Fold::fold_var_declarators with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Vec<VarDeclarator>

§

impl<V> FoldWith<V> for Vec<Box<Expr>>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Vec<Box<Expr>>

Calls Fold::fold_exprs with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Vec<Box<Expr>>

§

impl<V> FoldWith<V> for Vec<Box<TsType>>
where V: Fold + ?Sized,

§

fn fold_with(self, visitor: &mut V) -> Vec<Box<TsType>>

Calls Fold::fold_ts_types with self. (Extra impl)

§

fn fold_children_with(self, visitor: &mut V) -> Vec<Box<TsType>>

§

impl<V, T> FoldWith<V> for Box<T>
where V: Fold + ?Sized, T: FoldWith<V>,

§

fn fold_with(self, visitor: &mut V) -> Box<T>

§

fn fold_children_with(self, visitor: &mut V) -> Box<T>

Implementors§

§

impl<V> FoldWith<V> for Accessibility
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for AssignOp
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for AssignTarget
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for AssignTargetPat
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for BinaryOp
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for BlockStmtOrExpr
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for Callee
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ClassMember
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for Decl
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for DefaultDecl
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ExportSpecifier
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for Expr
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ForHead
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ImportPhase
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ImportSpecifier
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for JSXAttrName
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for JSXAttrOrSpread
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for JSXAttrValue
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for JSXElementChild
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for JSXElementName
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for JSXExpr
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for JSXObject
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for Key
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for Lit
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for MemberProp
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for MetaPropKind
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for MethodKind
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ModuleDecl
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ModuleExportName
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ModuleItem
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ObjectPatProp
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for OptChainBase
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ParamOrTsParamProp
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for Pat
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for Program
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for Prop
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for PropName
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for PropOrSpread
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for SimpleAssignTarget
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for Stmt
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for SuperProp
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TruePlusMinus
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsEntityName
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsEnumMemberId
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsFnOrConstructorType
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsFnParam
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsKeywordTypeKind
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsLit
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsModuleName
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsModuleRef
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsNamespaceBody
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsParamPropParam
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsThisTypeOrIdent
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsType
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsTypeElement
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsTypeOperatorOp
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsTypeQueryExpr
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsUnionOrIntersectionType
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for UnaryOp
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for UpdateOp
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for VarDeclKind
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for VarDeclOrExpr
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for Atom
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for Span
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for SyntaxContext
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ArrayLit
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ArrayPat
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ArrowExpr
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for AssignExpr
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for AssignPat
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for AssignPatProp
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for AssignProp
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for AutoAccessor
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for AwaitExpr
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for swc_core::ecma::utils::swc_ecma_ast::BigInt
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for swc_core::ecma::utils::swc_ecma_ast::BigIntValue
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for BinExpr
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for BindingIdent
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for BlockStmt
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for Bool
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for BreakStmt
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for CallExpr
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for CatchClause
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for Class
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ClassDecl
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ClassExpr
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ClassMethod
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ClassProp
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ComputedPropName
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for CondExpr
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for Constructor
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ContinueStmt
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for DebuggerStmt
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for Decorator
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for DoWhileStmt
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for EmptyStmt
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ExportAll
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ExportDecl
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ExportDefaultDecl
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ExportDefaultExpr
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ExportDefaultSpecifier
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ExportNamedSpecifier
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ExportNamespaceSpecifier
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ExprOrSpread
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ExprStmt
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for FnDecl
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for FnExpr
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ForInStmt
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ForOfStmt
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ForStmt
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for Function
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for GetterProp
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for Ident
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for IdentName
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for IfStmt
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for Import
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ImportDecl
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ImportDefaultSpecifier
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ImportNamedSpecifier
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ImportStarAsSpecifier
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ImportWith
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ImportWithItem
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for Invalid
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for JSXAttr
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for JSXClosingElement
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for JSXClosingFragment
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for JSXElement
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for JSXEmptyExpr
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for JSXExprContainer
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for JSXFragment
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for JSXMemberExpr
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for JSXNamespacedName
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for JSXOpeningElement
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for JSXOpeningFragment
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for JSXSpreadChild
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for JSXText
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for KeyValuePatProp
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for KeyValueProp
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for LabeledStmt
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for MemberExpr
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for MetaPropExpr
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for MethodProp
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for Module
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for NamedExport
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for NewExpr
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for Null
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for Number
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ObjectLit
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ObjectPat
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for OptCall
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for OptChainExpr
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for Param
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ParenExpr
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for PrivateMethod
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for PrivateName
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for PrivateProp
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for Regex
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for RestPat
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ReturnStmt
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for Script
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for SeqExpr
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for SetterProp
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for SpreadElement
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for StaticBlock
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for Str
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for Super
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for SuperPropExpr
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for SwitchCase
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for SwitchStmt
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TaggedTpl
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ThisExpr
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for ThrowStmt
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for Tpl
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TplElement
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TryStmt
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsArrayType
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsAsExpr
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsCallSignatureDecl
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsConditionalType
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsConstAssertion
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsConstructSignatureDecl
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsConstructorType
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsEnumDecl
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsEnumMember
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsExportAssignment
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsExprWithTypeArgs
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsExternalModuleRef
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsFnType
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsGetterSignature
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsImportEqualsDecl
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsImportType
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsIndexSignature
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsIndexedAccessType
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsInferType
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsInstantiation
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsInterfaceBody
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsInterfaceDecl
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsIntersectionType
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsKeywordType
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsLitType
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsMappedType
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsMethodSignature
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsModuleBlock
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsModuleDecl
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsNamespaceDecl
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsNamespaceExportDecl
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsNonNullExpr
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsOptionalType
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsParamProp
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsParenthesizedType
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsPropertySignature
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsQualifiedName
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsRestType
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsSatisfiesExpr
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsSetterSignature
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsThisType
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsTplLitType
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsTupleElement
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsTupleType
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsTypeAliasDecl
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsTypeAnn
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsTypeAssertion
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsTypeLit
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsTypeOperator
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsTypeParam
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsTypeParamDecl
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsTypeParamInstantiation
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsTypePredicate
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsTypeQuery
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsTypeRef
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for TsUnionType
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for UnaryExpr
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for UpdateExpr
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for UsingDecl
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for VarDecl
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for VarDeclarator
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for WhileStmt
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for WithStmt
where V: Fold + ?Sized,

§

impl<V> FoldWith<V> for YieldExpr
where V: Fold + ?Sized,