Trait swc_ecma_visit::Fold
source · [−]pub trait Fold {
Show 283 methods
fn fold_accessibility(&mut self, n: Accessibility) -> Accessibility { ... }
fn fold_array_lit(&mut self, n: ArrayLit) -> ArrayLit { ... }
fn fold_array_pat(&mut self, n: ArrayPat) -> ArrayPat { ... }
fn fold_arrow_expr(&mut self, n: ArrowExpr) -> ArrowExpr { ... }
fn fold_assign_expr(&mut self, n: AssignExpr) -> AssignExpr { ... }
fn fold_assign_op(&mut self, n: AssignOp) -> AssignOp { ... }
fn fold_assign_pat(&mut self, n: AssignPat) -> AssignPat { ... }
fn fold_assign_pat_prop(&mut self, n: AssignPatProp) -> AssignPatProp { ... }
fn fold_assign_prop(&mut self, n: AssignProp) -> AssignProp { ... }
fn fold_atom(&mut self, n: Atom) -> Atom { ... }
fn fold_await_expr(&mut self, n: AwaitExpr) -> AwaitExpr { ... }
fn fold_big_int(&mut self, n: BigInt) -> BigInt { ... }
fn fold_big_int_value(&mut self, n: BigIntValue) -> BigIntValue { ... }
fn fold_bin_expr(&mut self, n: BinExpr) -> BinExpr { ... }
fn fold_binary_op(&mut self, n: BinaryOp) -> BinaryOp { ... }
fn fold_binding_ident(&mut self, n: BindingIdent) -> BindingIdent { ... }
fn fold_block_stmt(&mut self, n: BlockStmt) -> BlockStmt { ... }
fn fold_block_stmt_or_expr(&mut self, n: BlockStmtOrExpr) -> BlockStmtOrExpr { ... }
fn fold_bool(&mut self, n: Bool) -> Bool { ... }
fn fold_break_stmt(&mut self, n: BreakStmt) -> BreakStmt { ... }
fn fold_call_expr(&mut self, n: CallExpr) -> CallExpr { ... }
fn fold_callee(&mut self, n: Callee) -> Callee { ... }
fn fold_catch_clause(&mut self, n: CatchClause) -> CatchClause { ... }
fn fold_class(&mut self, n: Class) -> Class { ... }
fn fold_class_decl(&mut self, n: ClassDecl) -> ClassDecl { ... }
fn fold_class_expr(&mut self, n: ClassExpr) -> ClassExpr { ... }
fn fold_class_member(&mut self, n: ClassMember) -> ClassMember { ... }
fn fold_class_members(&mut self, n: Vec<ClassMember>) -> Vec<ClassMember>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
{ ... }
fn fold_class_method(&mut self, n: ClassMethod) -> ClassMethod { ... }
fn fold_class_prop(&mut self, n: ClassProp) -> ClassProp { ... }
fn fold_computed_prop_name(
&mut self,
n: ComputedPropName
) -> ComputedPropName { ... }
fn fold_cond_expr(&mut self, n: CondExpr) -> CondExpr { ... }
fn fold_constructor(&mut self, n: Constructor) -> Constructor { ... }
fn fold_continue_stmt(&mut self, n: ContinueStmt) -> ContinueStmt { ... }
fn fold_debugger_stmt(&mut self, n: DebuggerStmt) -> DebuggerStmt { ... }
fn fold_decl(&mut self, n: Decl) -> Decl { ... }
fn fold_decorator(&mut self, n: Decorator) -> Decorator { ... }
fn fold_decorators(&mut self, n: Vec<Decorator>) -> Vec<Decorator>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
{ ... }
fn fold_default_decl(&mut self, n: DefaultDecl) -> DefaultDecl { ... }
fn fold_do_while_stmt(&mut self, n: DoWhileStmt) -> DoWhileStmt { ... }
fn fold_empty_stmt(&mut self, n: EmptyStmt) -> EmptyStmt { ... }
fn fold_export_all(&mut self, n: ExportAll) -> ExportAll { ... }
fn fold_export_decl(&mut self, n: ExportDecl) -> ExportDecl { ... }
fn fold_export_default_decl(
&mut self,
n: ExportDefaultDecl
) -> ExportDefaultDecl { ... }
fn fold_export_default_expr(
&mut self,
n: ExportDefaultExpr
) -> ExportDefaultExpr { ... }
fn fold_export_default_specifier(
&mut self,
n: ExportDefaultSpecifier
) -> ExportDefaultSpecifier { ... }
fn fold_export_named_specifier(
&mut self,
n: ExportNamedSpecifier
) -> ExportNamedSpecifier { ... }
fn fold_export_namespace_specifier(
&mut self,
n: ExportNamespaceSpecifier
) -> ExportNamespaceSpecifier { ... }
fn fold_export_specifier(&mut self, n: ExportSpecifier) -> ExportSpecifier { ... }
fn fold_export_specifiers(
&mut self,
n: Vec<ExportSpecifier>
) -> Vec<ExportSpecifier>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
{ ... }
fn fold_expr(&mut self, n: Expr) -> Expr { ... }
fn fold_expr_or_spread(&mut self, n: ExprOrSpread) -> ExprOrSpread { ... }
fn fold_expr_or_spreads(&mut self, n: Vec<ExprOrSpread>) -> Vec<ExprOrSpread>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
{ ... }
fn fold_expr_stmt(&mut self, n: ExprStmt) -> ExprStmt { ... }
fn fold_exprs(&mut self, n: Vec<Box<Expr>>) -> Vec<Box<Expr>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
{ ... }
fn fold_fn_decl(&mut self, n: FnDecl) -> FnDecl { ... }
fn fold_fn_expr(&mut self, n: FnExpr) -> FnExpr { ... }
fn fold_for_in_stmt(&mut self, n: ForInStmt) -> ForInStmt { ... }
fn fold_for_of_stmt(&mut self, n: ForOfStmt) -> ForOfStmt { ... }
fn fold_for_stmt(&mut self, n: ForStmt) -> ForStmt { ... }
fn fold_function(&mut self, n: Function) -> Function { ... }
fn fold_getter_prop(&mut self, n: GetterProp) -> GetterProp { ... }
fn fold_ident(&mut self, n: Ident) -> Ident { ... }
fn fold_if_stmt(&mut self, n: IfStmt) -> IfStmt { ... }
fn fold_import(&mut self, n: Import) -> Import { ... }
fn fold_import_decl(&mut self, n: ImportDecl) -> ImportDecl { ... }
fn fold_import_default_specifier(
&mut self,
n: ImportDefaultSpecifier
) -> ImportDefaultSpecifier { ... }
fn fold_import_named_specifier(
&mut self,
n: ImportNamedSpecifier
) -> ImportNamedSpecifier { ... }
fn fold_import_specifier(&mut self, n: ImportSpecifier) -> ImportSpecifier { ... }
fn fold_import_specifiers(
&mut self,
n: Vec<ImportSpecifier>
) -> Vec<ImportSpecifier>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
{ ... }
fn fold_import_star_as_specifier(
&mut self,
n: ImportStarAsSpecifier
) -> ImportStarAsSpecifier { ... }
fn fold_invalid(&mut self, n: Invalid) -> Invalid { ... }
fn fold_js_word(&mut self, n: JsWord) -> JsWord { ... }
fn fold_jsx_attr(&mut self, n: JSXAttr) -> JSXAttr { ... }
fn fold_jsx_attr_name(&mut self, n: JSXAttrName) -> JSXAttrName { ... }
fn fold_jsx_attr_or_spread(&mut self, n: JSXAttrOrSpread) -> JSXAttrOrSpread { ... }
fn fold_jsx_attr_or_spreads(
&mut self,
n: Vec<JSXAttrOrSpread>
) -> Vec<JSXAttrOrSpread>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
{ ... }
fn fold_jsx_attr_value(&mut self, n: JSXAttrValue) -> JSXAttrValue { ... }
fn fold_jsx_closing_element(
&mut self,
n: JSXClosingElement
) -> JSXClosingElement { ... }
fn fold_jsx_closing_fragment(
&mut self,
n: JSXClosingFragment
) -> JSXClosingFragment { ... }
fn fold_jsx_element(&mut self, n: JSXElement) -> JSXElement { ... }
fn fold_jsx_element_child(&mut self, n: JSXElementChild) -> JSXElementChild { ... }
fn fold_jsx_element_children(
&mut self,
n: Vec<JSXElementChild>
) -> Vec<JSXElementChild>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
{ ... }
fn fold_jsx_element_name(&mut self, n: JSXElementName) -> JSXElementName { ... }
fn fold_jsx_empty_expr(&mut self, n: JSXEmptyExpr) -> JSXEmptyExpr { ... }
fn fold_jsx_expr(&mut self, n: JSXExpr) -> JSXExpr { ... }
fn fold_jsx_expr_container(
&mut self,
n: JSXExprContainer
) -> JSXExprContainer { ... }
fn fold_jsx_fragment(&mut self, n: JSXFragment) -> JSXFragment { ... }
fn fold_jsx_member_expr(&mut self, n: JSXMemberExpr) -> JSXMemberExpr { ... }
fn fold_jsx_namespaced_name(
&mut self,
n: JSXNamespacedName
) -> JSXNamespacedName { ... }
fn fold_jsx_object(&mut self, n: JSXObject) -> JSXObject { ... }
fn fold_jsx_opening_element(
&mut self,
n: JSXOpeningElement
) -> JSXOpeningElement { ... }
fn fold_jsx_opening_fragment(
&mut self,
n: JSXOpeningFragment
) -> JSXOpeningFragment { ... }
fn fold_jsx_spread_child(&mut self, n: JSXSpreadChild) -> JSXSpreadChild { ... }
fn fold_jsx_text(&mut self, n: JSXText) -> JSXText { ... }
fn fold_key_value_pat_prop(&mut self, n: KeyValuePatProp) -> KeyValuePatProp { ... }
fn fold_key_value_prop(&mut self, n: KeyValueProp) -> KeyValueProp { ... }
fn fold_labeled_stmt(&mut self, n: LabeledStmt) -> LabeledStmt { ... }
fn fold_lit(&mut self, n: Lit) -> Lit { ... }
fn fold_member_expr(&mut self, n: MemberExpr) -> MemberExpr { ... }
fn fold_member_prop(&mut self, n: MemberProp) -> MemberProp { ... }
fn fold_meta_prop_expr(&mut self, n: MetaPropExpr) -> MetaPropExpr { ... }
fn fold_meta_prop_kind(&mut self, n: MetaPropKind) -> MetaPropKind { ... }
fn fold_method_kind(&mut self, n: MethodKind) -> MethodKind { ... }
fn fold_method_prop(&mut self, n: MethodProp) -> MethodProp { ... }
fn fold_module(&mut self, n: Module) -> Module { ... }
fn fold_module_decl(&mut self, n: ModuleDecl) -> ModuleDecl { ... }
fn fold_module_export_name(
&mut self,
n: ModuleExportName
) -> ModuleExportName { ... }
fn fold_module_item(&mut self, n: ModuleItem) -> ModuleItem { ... }
fn fold_module_items(&mut self, n: Vec<ModuleItem>) -> Vec<ModuleItem>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
{ ... }
fn fold_named_export(&mut self, n: NamedExport) -> NamedExport { ... }
fn fold_new_expr(&mut self, n: NewExpr) -> NewExpr { ... }
fn fold_null(&mut self, n: Null) -> Null { ... }
fn fold_number(&mut self, n: Number) -> Number { ... }
fn fold_object_lit(&mut self, n: ObjectLit) -> ObjectLit { ... }
fn fold_object_pat(&mut self, n: ObjectPat) -> ObjectPat { ... }
fn fold_object_pat_prop(&mut self, n: ObjectPatProp) -> ObjectPatProp { ... }
fn fold_object_pat_props(
&mut self,
n: Vec<ObjectPatProp>
) -> Vec<ObjectPatProp>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
{ ... }
fn fold_opt_accessibility(
&mut self,
n: Option<Accessibility>
) -> Option<Accessibility> { ... }
fn fold_opt_atom(&mut self, n: Option<Atom>) -> Option<Atom> { ... }
fn fold_opt_block_stmt(&mut self, n: Option<BlockStmt>) -> Option<BlockStmt> { ... }
fn fold_opt_call(&mut self, n: OptCall) -> OptCall { ... }
fn fold_opt_catch_clause(
&mut self,
n: Option<CatchClause>
) -> Option<CatchClause> { ... }
fn fold_opt_chain_base(&mut self, n: OptChainBase) -> OptChainBase { ... }
fn fold_opt_chain_expr(&mut self, n: OptChainExpr) -> OptChainExpr { ... }
fn fold_opt_expr(&mut self, n: Option<Box<Expr>>) -> Option<Box<Expr>> { ... }
fn fold_opt_expr_or_spread(
&mut self,
n: Option<ExprOrSpread>
) -> Option<ExprOrSpread> { ... }
fn fold_opt_expr_or_spreads(
&mut self,
n: Option<Vec<ExprOrSpread>>
) -> Option<Vec<ExprOrSpread>> { ... }
fn fold_opt_ident(&mut self, n: Option<Ident>) -> Option<Ident> { ... }
fn fold_opt_jsx_attr_value(
&mut self,
n: Option<JSXAttrValue>
) -> Option<JSXAttrValue> { ... }
fn fold_opt_jsx_closing_element(
&mut self,
n: Option<JSXClosingElement>
) -> Option<JSXClosingElement> { ... }
fn fold_opt_module_export_name(
&mut self,
n: Option<ModuleExportName>
) -> Option<ModuleExportName> { ... }
fn fold_opt_module_items(
&mut self,
n: Option<Vec<ModuleItem>>
) -> Option<Vec<ModuleItem>> { ... }
fn fold_opt_object_lit(
&mut self,
n: Option<Box<ObjectLit>>
) -> Option<Box<ObjectLit>> { ... }
fn fold_opt_pat(&mut self, n: Option<Pat>) -> Option<Pat> { ... }
fn fold_opt_span(&mut self, n: Option<Span>) -> Option<Span> { ... }
fn fold_opt_stmt(&mut self, n: Option<Box<Stmt>>) -> Option<Box<Stmt>> { ... }
fn fold_opt_str(&mut self, n: Option<Box<Str>>) -> Option<Box<Str>> { ... }
fn fold_opt_true_plus_minus(
&mut self,
n: Option<TruePlusMinus>
) -> Option<TruePlusMinus> { ... }
fn fold_opt_ts_entity_name(
&mut self,
n: Option<TsEntityName>
) -> Option<TsEntityName> { ... }
fn fold_opt_ts_namespace_body(
&mut self,
n: Option<TsNamespaceBody>
) -> Option<TsNamespaceBody> { ... }
fn fold_opt_ts_type(&mut self, n: Option<Box<TsType>>) -> Option<Box<TsType>> { ... }
fn fold_opt_ts_type_ann(
&mut self,
n: Option<Box<TsTypeAnn>>
) -> Option<Box<TsTypeAnn>> { ... }
fn fold_opt_ts_type_param_decl(
&mut self,
n: Option<Box<TsTypeParamDecl>>
) -> Option<Box<TsTypeParamDecl>> { ... }
fn fold_opt_ts_type_param_instantiation(
&mut self,
n: Option<Box<TsTypeParamInstantiation>>
) -> Option<Box<TsTypeParamInstantiation>> { ... }
fn fold_opt_var_decl_or_expr(
&mut self,
n: Option<VarDeclOrExpr>
) -> Option<VarDeclOrExpr> { ... }
fn fold_opt_vec_expr_or_spreads(
&mut self,
n: Vec<Option<ExprOrSpread>>
) -> Vec<Option<ExprOrSpread>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
{ ... }
fn fold_opt_vec_pats(&mut self, n: Vec<Option<Pat>>) -> Vec<Option<Pat>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
{ ... }
fn fold_param(&mut self, n: Param) -> Param { ... }
fn fold_param_or_ts_param_prop(
&mut self,
n: ParamOrTsParamProp
) -> ParamOrTsParamProp { ... }
fn fold_param_or_ts_param_props(
&mut self,
n: Vec<ParamOrTsParamProp>
) -> Vec<ParamOrTsParamProp>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
{ ... }
fn fold_params(&mut self, n: Vec<Param>) -> Vec<Param>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
{ ... }
fn fold_paren_expr(&mut self, n: ParenExpr) -> ParenExpr { ... }
fn fold_pat(&mut self, n: Pat) -> Pat { ... }
fn fold_pat_or_expr(&mut self, n: PatOrExpr) -> PatOrExpr { ... }
fn fold_pats(&mut self, n: Vec<Pat>) -> Vec<Pat>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
{ ... }
fn fold_private_method(&mut self, n: PrivateMethod) -> PrivateMethod { ... }
fn fold_private_name(&mut self, n: PrivateName) -> PrivateName { ... }
fn fold_private_prop(&mut self, n: PrivateProp) -> PrivateProp { ... }
fn fold_program(&mut self, n: Program) -> Program { ... }
fn fold_prop(&mut self, n: Prop) -> Prop { ... }
fn fold_prop_name(&mut self, n: PropName) -> PropName { ... }
fn fold_prop_or_spread(&mut self, n: PropOrSpread) -> PropOrSpread { ... }
fn fold_prop_or_spreads(&mut self, n: Vec<PropOrSpread>) -> Vec<PropOrSpread>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
{ ... }
fn fold_regex(&mut self, n: Regex) -> Regex { ... }
fn fold_reserved_unused(&mut self, n: ReservedUnused) -> ReservedUnused { ... }
fn fold_rest_pat(&mut self, n: RestPat) -> RestPat { ... }
fn fold_return_stmt(&mut self, n: ReturnStmt) -> ReturnStmt { ... }
fn fold_script(&mut self, n: Script) -> Script { ... }
fn fold_seq_expr(&mut self, n: SeqExpr) -> SeqExpr { ... }
fn fold_setter_prop(&mut self, n: SetterProp) -> SetterProp { ... }
fn fold_span(&mut self, n: Span) -> Span { ... }
fn fold_spread_element(&mut self, n: SpreadElement) -> SpreadElement { ... }
fn fold_static_block(&mut self, n: StaticBlock) -> StaticBlock { ... }
fn fold_stmt(&mut self, n: Stmt) -> Stmt { ... }
fn fold_stmts(&mut self, n: Vec<Stmt>) -> Vec<Stmt>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
{ ... }
fn fold_str(&mut self, n: Str) -> Str { ... }
fn fold_super(&mut self, n: Super) -> Super { ... }
fn fold_super_prop(&mut self, n: SuperProp) -> SuperProp { ... }
fn fold_super_prop_expr(&mut self, n: SuperPropExpr) -> SuperPropExpr { ... }
fn fold_switch_case(&mut self, n: SwitchCase) -> SwitchCase { ... }
fn fold_switch_cases(&mut self, n: Vec<SwitchCase>) -> Vec<SwitchCase>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
{ ... }
fn fold_switch_stmt(&mut self, n: SwitchStmt) -> SwitchStmt { ... }
fn fold_tagged_tpl(&mut self, n: TaggedTpl) -> TaggedTpl { ... }
fn fold_this_expr(&mut self, n: ThisExpr) -> ThisExpr { ... }
fn fold_throw_stmt(&mut self, n: ThrowStmt) -> ThrowStmt { ... }
fn fold_tpl(&mut self, n: Tpl) -> Tpl { ... }
fn fold_tpl_element(&mut self, n: TplElement) -> TplElement { ... }
fn fold_tpl_elements(&mut self, n: Vec<TplElement>) -> Vec<TplElement>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
{ ... }
fn fold_true_plus_minus(&mut self, n: TruePlusMinus) -> TruePlusMinus { ... }
fn fold_try_stmt(&mut self, n: TryStmt) -> TryStmt { ... }
fn fold_ts_array_type(&mut self, n: TsArrayType) -> TsArrayType { ... }
fn fold_ts_as_expr(&mut self, n: TsAsExpr) -> TsAsExpr { ... }
fn fold_ts_call_signature_decl(
&mut self,
n: TsCallSignatureDecl
) -> TsCallSignatureDecl { ... }
fn fold_ts_conditional_type(
&mut self,
n: TsConditionalType
) -> TsConditionalType { ... }
fn fold_ts_const_assertion(
&mut self,
n: TsConstAssertion
) -> TsConstAssertion { ... }
fn fold_ts_construct_signature_decl(
&mut self,
n: TsConstructSignatureDecl
) -> TsConstructSignatureDecl { ... }
fn fold_ts_constructor_type(
&mut self,
n: TsConstructorType
) -> TsConstructorType { ... }
fn fold_ts_entity_name(&mut self, n: TsEntityName) -> TsEntityName { ... }
fn fold_ts_enum_decl(&mut self, n: TsEnumDecl) -> TsEnumDecl { ... }
fn fold_ts_enum_member(&mut self, n: TsEnumMember) -> TsEnumMember { ... }
fn fold_ts_enum_member_id(&mut self, n: TsEnumMemberId) -> TsEnumMemberId { ... }
fn fold_ts_enum_members(&mut self, n: Vec<TsEnumMember>) -> Vec<TsEnumMember>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
{ ... }
fn fold_ts_export_assignment(
&mut self,
n: TsExportAssignment
) -> TsExportAssignment { ... }
fn fold_ts_expr_with_type_args(
&mut self,
n: TsExprWithTypeArgs
) -> TsExprWithTypeArgs { ... }
fn fold_ts_expr_with_type_args_vec(
&mut self,
n: Vec<TsExprWithTypeArgs>
) -> Vec<TsExprWithTypeArgs>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
{ ... }
fn fold_ts_external_module_ref(
&mut self,
n: TsExternalModuleRef
) -> TsExternalModuleRef { ... }
fn fold_ts_fn_or_constructor_type(
&mut self,
n: TsFnOrConstructorType
) -> TsFnOrConstructorType { ... }
fn fold_ts_fn_param(&mut self, n: TsFnParam) -> TsFnParam { ... }
fn fold_ts_fn_params(&mut self, n: Vec<TsFnParam>) -> Vec<TsFnParam>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
{ ... }
fn fold_ts_fn_type(&mut self, n: TsFnType) -> TsFnType { ... }
fn fold_ts_getter_signature(
&mut self,
n: TsGetterSignature
) -> TsGetterSignature { ... }
fn fold_ts_import_equals_decl(
&mut self,
n: TsImportEqualsDecl
) -> TsImportEqualsDecl { ... }
fn fold_ts_import_type(&mut self, n: TsImportType) -> TsImportType { ... }
fn fold_ts_index_signature(
&mut self,
n: TsIndexSignature
) -> TsIndexSignature { ... }
fn fold_ts_indexed_access_type(
&mut self,
n: TsIndexedAccessType
) -> TsIndexedAccessType { ... }
fn fold_ts_infer_type(&mut self, n: TsInferType) -> TsInferType { ... }
fn fold_ts_instantiation(&mut self, n: TsInstantiation) -> TsInstantiation { ... }
fn fold_ts_interface_body(&mut self, n: TsInterfaceBody) -> TsInterfaceBody { ... }
fn fold_ts_interface_decl(&mut self, n: TsInterfaceDecl) -> TsInterfaceDecl { ... }
fn fold_ts_intersection_type(
&mut self,
n: TsIntersectionType
) -> TsIntersectionType { ... }
fn fold_ts_keyword_type(&mut self, n: TsKeywordType) -> TsKeywordType { ... }
fn fold_ts_keyword_type_kind(
&mut self,
n: TsKeywordTypeKind
) -> TsKeywordTypeKind { ... }
fn fold_ts_lit(&mut self, n: TsLit) -> TsLit { ... }
fn fold_ts_lit_type(&mut self, n: TsLitType) -> TsLitType { ... }
fn fold_ts_mapped_type(&mut self, n: TsMappedType) -> TsMappedType { ... }
fn fold_ts_method_signature(
&mut self,
n: TsMethodSignature
) -> TsMethodSignature { ... }
fn fold_ts_module_block(&mut self, n: TsModuleBlock) -> TsModuleBlock { ... }
fn fold_ts_module_decl(&mut self, n: TsModuleDecl) -> TsModuleDecl { ... }
fn fold_ts_module_name(&mut self, n: TsModuleName) -> TsModuleName { ... }
fn fold_ts_module_ref(&mut self, n: TsModuleRef) -> TsModuleRef { ... }
fn fold_ts_namespace_body(&mut self, n: TsNamespaceBody) -> TsNamespaceBody { ... }
fn fold_ts_namespace_decl(&mut self, n: TsNamespaceDecl) -> TsNamespaceDecl { ... }
fn fold_ts_namespace_export_decl(
&mut self,
n: TsNamespaceExportDecl
) -> TsNamespaceExportDecl { ... }
fn fold_ts_non_null_expr(&mut self, n: TsNonNullExpr) -> TsNonNullExpr { ... }
fn fold_ts_optional_type(&mut self, n: TsOptionalType) -> TsOptionalType { ... }
fn fold_ts_param_prop(&mut self, n: TsParamProp) -> TsParamProp { ... }
fn fold_ts_param_prop_param(
&mut self,
n: TsParamPropParam
) -> TsParamPropParam { ... }
fn fold_ts_parenthesized_type(
&mut self,
n: TsParenthesizedType
) -> TsParenthesizedType { ... }
fn fold_ts_property_signature(
&mut self,
n: TsPropertySignature
) -> TsPropertySignature { ... }
fn fold_ts_qualified_name(&mut self, n: TsQualifiedName) -> TsQualifiedName { ... }
fn fold_ts_rest_type(&mut self, n: TsRestType) -> TsRestType { ... }
fn fold_ts_satisfies_expr(&mut self, n: TsSatisfiesExpr) -> TsSatisfiesExpr { ... }
fn fold_ts_setter_signature(
&mut self,
n: TsSetterSignature
) -> TsSetterSignature { ... }
fn fold_ts_this_type(&mut self, n: TsThisType) -> TsThisType { ... }
fn fold_ts_this_type_or_ident(
&mut self,
n: TsThisTypeOrIdent
) -> TsThisTypeOrIdent { ... }
fn fold_ts_tpl_lit_type(&mut self, n: TsTplLitType) -> TsTplLitType { ... }
fn fold_ts_tuple_element(&mut self, n: TsTupleElement) -> TsTupleElement { ... }
fn fold_ts_tuple_elements(
&mut self,
n: Vec<TsTupleElement>
) -> Vec<TsTupleElement>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
{ ... }
fn fold_ts_tuple_type(&mut self, n: TsTupleType) -> TsTupleType { ... }
fn fold_ts_type(&mut self, n: TsType) -> TsType { ... }
fn fold_ts_type_alias_decl(&mut self, n: TsTypeAliasDecl) -> TsTypeAliasDecl { ... }
fn fold_ts_type_ann(&mut self, n: TsTypeAnn) -> TsTypeAnn { ... }
fn fold_ts_type_assertion(&mut self, n: TsTypeAssertion) -> TsTypeAssertion { ... }
fn fold_ts_type_element(&mut self, n: TsTypeElement) -> TsTypeElement { ... }
fn fold_ts_type_elements(
&mut self,
n: Vec<TsTypeElement>
) -> Vec<TsTypeElement>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
{ ... }
fn fold_ts_type_lit(&mut self, n: TsTypeLit) -> TsTypeLit { ... }
fn fold_ts_type_operator(&mut self, n: TsTypeOperator) -> TsTypeOperator { ... }
fn fold_ts_type_operator_op(
&mut self,
n: TsTypeOperatorOp
) -> TsTypeOperatorOp { ... }
fn fold_ts_type_param(&mut self, n: TsTypeParam) -> TsTypeParam { ... }
fn fold_ts_type_param_decl(&mut self, n: TsTypeParamDecl) -> TsTypeParamDecl { ... }
fn fold_ts_type_param_instantiation(
&mut self,
n: TsTypeParamInstantiation
) -> TsTypeParamInstantiation { ... }
fn fold_ts_type_params(&mut self, n: Vec<TsTypeParam>) -> Vec<TsTypeParam>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
{ ... }
fn fold_ts_type_predicate(&mut self, n: TsTypePredicate) -> TsTypePredicate { ... }
fn fold_ts_type_query(&mut self, n: TsTypeQuery) -> TsTypeQuery { ... }
fn fold_ts_type_query_expr(&mut self, n: TsTypeQueryExpr) -> TsTypeQueryExpr { ... }
fn fold_ts_type_ref(&mut self, n: TsTypeRef) -> TsTypeRef { ... }
fn fold_ts_types(&mut self, n: Vec<Box<TsType>>) -> Vec<Box<TsType>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
{ ... }
fn fold_ts_union_or_intersection_type(
&mut self,
n: TsUnionOrIntersectionType
) -> TsUnionOrIntersectionType { ... }
fn fold_ts_union_type(&mut self, n: TsUnionType) -> TsUnionType { ... }
fn fold_unary_expr(&mut self, n: UnaryExpr) -> UnaryExpr { ... }
fn fold_unary_op(&mut self, n: UnaryOp) -> UnaryOp { ... }
fn fold_update_expr(&mut self, n: UpdateExpr) -> UpdateExpr { ... }
fn fold_update_op(&mut self, n: UpdateOp) -> UpdateOp { ... }
fn fold_var_decl(&mut self, n: VarDecl) -> VarDecl { ... }
fn fold_var_decl_kind(&mut self, n: VarDeclKind) -> VarDeclKind { ... }
fn fold_var_decl_or_expr(&mut self, n: VarDeclOrExpr) -> VarDeclOrExpr { ... }
fn fold_var_decl_or_pat(&mut self, n: VarDeclOrPat) -> VarDeclOrPat { ... }
fn fold_var_declarator(&mut self, n: VarDeclarator) -> VarDeclarator { ... }
fn fold_var_declarators(
&mut self,
n: Vec<VarDeclarator>
) -> Vec<VarDeclarator>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
{ ... }
fn fold_while_stmt(&mut self, n: WhileStmt) -> WhileStmt { ... }
fn fold_with_stmt(&mut self, n: WithStmt) -> WithStmt { ... }
fn fold_yield_expr(&mut self, n: YieldExpr) -> YieldExpr { ... }
}
Provided Methods
sourcefn fold_accessibility(&mut self, n: Accessibility) -> Accessibility
fn fold_accessibility(&mut self, n: Accessibility) -> Accessibility
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_array_lit(&mut self, n: ArrayLit) -> ArrayLit
fn fold_array_lit(&mut self, n: ArrayLit) -> ArrayLit
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_array_pat(&mut self, n: ArrayPat) -> ArrayPat
fn fold_array_pat(&mut self, n: ArrayPat) -> ArrayPat
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_arrow_expr(&mut self, n: ArrowExpr) -> ArrowExpr
fn fold_arrow_expr(&mut self, n: ArrowExpr) -> ArrowExpr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_assign_expr(&mut self, n: AssignExpr) -> AssignExpr
fn fold_assign_expr(&mut self, n: AssignExpr) -> AssignExpr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_assign_op(&mut self, n: AssignOp) -> AssignOp
fn fold_assign_op(&mut self, n: AssignOp) -> AssignOp
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_assign_pat(&mut self, n: AssignPat) -> AssignPat
fn fold_assign_pat(&mut self, n: AssignPat) -> AssignPat
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_assign_pat_prop(&mut self, n: AssignPatProp) -> AssignPatProp
fn fold_assign_pat_prop(&mut self, n: AssignPatProp) -> AssignPatProp
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_assign_prop(&mut self, n: AssignProp) -> AssignProp
fn fold_assign_prop(&mut self, n: AssignProp) -> AssignProp
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_await_expr(&mut self, n: AwaitExpr) -> AwaitExpr
fn fold_await_expr(&mut self, n: AwaitExpr) -> AwaitExpr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_big_int(&mut self, n: BigInt) -> BigInt
fn fold_big_int(&mut self, n: BigInt) -> BigInt
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_big_int_value(&mut self, n: BigIntValue) -> BigIntValue
sourcefn fold_bin_expr(&mut self, n: BinExpr) -> BinExpr
fn fold_bin_expr(&mut self, n: BinExpr) -> BinExpr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_binary_op(&mut self, n: BinaryOp) -> BinaryOp
fn fold_binary_op(&mut self, n: BinaryOp) -> BinaryOp
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_binding_ident(&mut self, n: BindingIdent) -> BindingIdent
fn fold_binding_ident(&mut self, n: BindingIdent) -> BindingIdent
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_block_stmt(&mut self, n: BlockStmt) -> BlockStmt
fn fold_block_stmt(&mut self, n: BlockStmt) -> BlockStmt
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_block_stmt_or_expr(&mut self, n: BlockStmtOrExpr) -> BlockStmtOrExpr
fn fold_block_stmt_or_expr(&mut self, n: BlockStmtOrExpr) -> BlockStmtOrExpr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_break_stmt(&mut self, n: BreakStmt) -> BreakStmt
fn fold_break_stmt(&mut self, n: BreakStmt) -> BreakStmt
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_call_expr(&mut self, n: CallExpr) -> CallExpr
fn fold_call_expr(&mut self, n: CallExpr) -> CallExpr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_callee(&mut self, n: Callee) -> Callee
fn fold_callee(&mut self, n: Callee) -> Callee
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_catch_clause(&mut self, n: CatchClause) -> CatchClause
fn fold_catch_clause(&mut self, n: CatchClause) -> CatchClause
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_class(&mut self, n: Class) -> Class
fn fold_class(&mut self, n: Class) -> Class
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_class_decl(&mut self, n: ClassDecl) -> ClassDecl
fn fold_class_decl(&mut self, n: ClassDecl) -> ClassDecl
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_class_expr(&mut self, n: ClassExpr) -> ClassExpr
fn fold_class_expr(&mut self, n: ClassExpr) -> ClassExpr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_class_member(&mut self, n: ClassMember) -> ClassMember
fn fold_class_member(&mut self, n: ClassMember) -> ClassMember
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_class_members(&mut self, n: Vec<ClassMember>) -> Vec<ClassMember>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
sourcefn fold_class_method(&mut self, n: ClassMethod) -> ClassMethod
fn fold_class_method(&mut self, n: ClassMethod) -> ClassMethod
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_class_prop(&mut self, n: ClassProp) -> ClassProp
fn fold_class_prop(&mut self, n: ClassProp) -> ClassProp
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_computed_prop_name(&mut self, n: ComputedPropName) -> ComputedPropName
fn fold_computed_prop_name(&mut self, n: ComputedPropName) -> ComputedPropName
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_cond_expr(&mut self, n: CondExpr) -> CondExpr
fn fold_cond_expr(&mut self, n: CondExpr) -> CondExpr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_constructor(&mut self, n: Constructor) -> Constructor
fn fold_constructor(&mut self, n: Constructor) -> Constructor
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_continue_stmt(&mut self, n: ContinueStmt) -> ContinueStmt
fn fold_continue_stmt(&mut self, n: ContinueStmt) -> ContinueStmt
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_debugger_stmt(&mut self, n: DebuggerStmt) -> DebuggerStmt
fn fold_debugger_stmt(&mut self, n: DebuggerStmt) -> DebuggerStmt
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_decorator(&mut self, n: Decorator) -> Decorator
fn fold_decorator(&mut self, n: Decorator) -> Decorator
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_decorators(&mut self, n: Vec<Decorator>) -> Vec<Decorator>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
sourcefn fold_default_decl(&mut self, n: DefaultDecl) -> DefaultDecl
fn fold_default_decl(&mut self, n: DefaultDecl) -> DefaultDecl
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_do_while_stmt(&mut self, n: DoWhileStmt) -> DoWhileStmt
fn fold_do_while_stmt(&mut self, n: DoWhileStmt) -> DoWhileStmt
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_empty_stmt(&mut self, n: EmptyStmt) -> EmptyStmt
fn fold_empty_stmt(&mut self, n: EmptyStmt) -> EmptyStmt
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_export_all(&mut self, n: ExportAll) -> ExportAll
fn fold_export_all(&mut self, n: ExportAll) -> ExportAll
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_export_decl(&mut self, n: ExportDecl) -> ExportDecl
fn fold_export_decl(&mut self, n: ExportDecl) -> ExportDecl
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_export_default_decl(&mut self, n: ExportDefaultDecl) -> ExportDefaultDecl
fn fold_export_default_decl(&mut self, n: ExportDefaultDecl) -> ExportDefaultDecl
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_export_default_expr(&mut self, n: ExportDefaultExpr) -> ExportDefaultExpr
fn fold_export_default_expr(&mut self, n: ExportDefaultExpr) -> ExportDefaultExpr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_export_default_specifier(
&mut self,
n: ExportDefaultSpecifier
) -> ExportDefaultSpecifier
fn fold_export_default_specifier(
&mut self,
n: ExportDefaultSpecifier
) -> ExportDefaultSpecifier
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_export_named_specifier(
&mut self,
n: ExportNamedSpecifier
) -> ExportNamedSpecifier
fn fold_export_named_specifier(
&mut self,
n: ExportNamedSpecifier
) -> ExportNamedSpecifier
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_export_namespace_specifier(
&mut self,
n: ExportNamespaceSpecifier
) -> ExportNamespaceSpecifier
fn fold_export_namespace_specifier(
&mut self,
n: ExportNamespaceSpecifier
) -> ExportNamespaceSpecifier
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_export_specifier(&mut self, n: ExportSpecifier) -> ExportSpecifier
fn fold_export_specifier(&mut self, n: ExportSpecifier) -> ExportSpecifier
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_export_specifiers(
&mut self,
n: Vec<ExportSpecifier>
) -> Vec<ExportSpecifier>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_expr_or_spread(&mut self, n: ExprOrSpread) -> ExprOrSpread
fn fold_expr_or_spread(&mut self, n: ExprOrSpread) -> ExprOrSpread
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_expr_or_spreads(&mut self, n: Vec<ExprOrSpread>) -> Vec<ExprOrSpread>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
sourcefn fold_expr_stmt(&mut self, n: ExprStmt) -> ExprStmt
fn fold_expr_stmt(&mut self, n: ExprStmt) -> ExprStmt
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_exprs(&mut self, n: Vec<Box<Expr>>) -> Vec<Box<Expr>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
sourcefn fold_fn_decl(&mut self, n: FnDecl) -> FnDecl
fn fold_fn_decl(&mut self, n: FnDecl) -> FnDecl
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_fn_expr(&mut self, n: FnExpr) -> FnExpr
fn fold_fn_expr(&mut self, n: FnExpr) -> FnExpr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_for_in_stmt(&mut self, n: ForInStmt) -> ForInStmt
fn fold_for_in_stmt(&mut self, n: ForInStmt) -> ForInStmt
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_for_of_stmt(&mut self, n: ForOfStmt) -> ForOfStmt
fn fold_for_of_stmt(&mut self, n: ForOfStmt) -> ForOfStmt
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_for_stmt(&mut self, n: ForStmt) -> ForStmt
fn fold_for_stmt(&mut self, n: ForStmt) -> ForStmt
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_function(&mut self, n: Function) -> Function
fn fold_function(&mut self, n: Function) -> Function
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_getter_prop(&mut self, n: GetterProp) -> GetterProp
fn fold_getter_prop(&mut self, n: GetterProp) -> GetterProp
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ident(&mut self, n: Ident) -> Ident
fn fold_ident(&mut self, n: Ident) -> Ident
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_if_stmt(&mut self, n: IfStmt) -> IfStmt
fn fold_if_stmt(&mut self, n: IfStmt) -> IfStmt
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_import(&mut self, n: Import) -> Import
fn fold_import(&mut self, n: Import) -> Import
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_import_decl(&mut self, n: ImportDecl) -> ImportDecl
fn fold_import_decl(&mut self, n: ImportDecl) -> ImportDecl
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_import_default_specifier(
&mut self,
n: ImportDefaultSpecifier
) -> ImportDefaultSpecifier
fn fold_import_default_specifier(
&mut self,
n: ImportDefaultSpecifier
) -> ImportDefaultSpecifier
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_import_named_specifier(
&mut self,
n: ImportNamedSpecifier
) -> ImportNamedSpecifier
fn fold_import_named_specifier(
&mut self,
n: ImportNamedSpecifier
) -> ImportNamedSpecifier
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_import_specifier(&mut self, n: ImportSpecifier) -> ImportSpecifier
fn fold_import_specifier(&mut self, n: ImportSpecifier) -> ImportSpecifier
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_import_specifiers(
&mut self,
n: Vec<ImportSpecifier>
) -> Vec<ImportSpecifier>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
sourcefn fold_import_star_as_specifier(
&mut self,
n: ImportStarAsSpecifier
) -> ImportStarAsSpecifier
fn fold_import_star_as_specifier(
&mut self,
n: ImportStarAsSpecifier
) -> ImportStarAsSpecifier
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_invalid(&mut self, n: Invalid) -> Invalid
fn fold_invalid(&mut self, n: Invalid) -> Invalid
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_js_word(&mut self, n: JsWord) -> JsWord
sourcefn fold_jsx_attr(&mut self, n: JSXAttr) -> JSXAttr
fn fold_jsx_attr(&mut self, n: JSXAttr) -> JSXAttr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_jsx_attr_name(&mut self, n: JSXAttrName) -> JSXAttrName
fn fold_jsx_attr_name(&mut self, n: JSXAttrName) -> JSXAttrName
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_jsx_attr_or_spread(&mut self, n: JSXAttrOrSpread) -> JSXAttrOrSpread
fn fold_jsx_attr_or_spread(&mut self, n: JSXAttrOrSpread) -> JSXAttrOrSpread
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_jsx_attr_or_spreads(
&mut self,
n: Vec<JSXAttrOrSpread>
) -> Vec<JSXAttrOrSpread>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
sourcefn fold_jsx_attr_value(&mut self, n: JSXAttrValue) -> JSXAttrValue
fn fold_jsx_attr_value(&mut self, n: JSXAttrValue) -> JSXAttrValue
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_jsx_closing_element(&mut self, n: JSXClosingElement) -> JSXClosingElement
fn fold_jsx_closing_element(&mut self, n: JSXClosingElement) -> JSXClosingElement
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_jsx_closing_fragment(
&mut self,
n: JSXClosingFragment
) -> JSXClosingFragment
fn fold_jsx_closing_fragment(
&mut self,
n: JSXClosingFragment
) -> JSXClosingFragment
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_jsx_element(&mut self, n: JSXElement) -> JSXElement
fn fold_jsx_element(&mut self, n: JSXElement) -> JSXElement
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_jsx_element_child(&mut self, n: JSXElementChild) -> JSXElementChild
fn fold_jsx_element_child(&mut self, n: JSXElementChild) -> JSXElementChild
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_jsx_element_children(
&mut self,
n: Vec<JSXElementChild>
) -> Vec<JSXElementChild>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
sourcefn fold_jsx_element_name(&mut self, n: JSXElementName) -> JSXElementName
fn fold_jsx_element_name(&mut self, n: JSXElementName) -> JSXElementName
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_jsx_empty_expr(&mut self, n: JSXEmptyExpr) -> JSXEmptyExpr
fn fold_jsx_empty_expr(&mut self, n: JSXEmptyExpr) -> JSXEmptyExpr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_jsx_expr(&mut self, n: JSXExpr) -> JSXExpr
fn fold_jsx_expr(&mut self, n: JSXExpr) -> JSXExpr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_jsx_expr_container(&mut self, n: JSXExprContainer) -> JSXExprContainer
fn fold_jsx_expr_container(&mut self, n: JSXExprContainer) -> JSXExprContainer
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_jsx_fragment(&mut self, n: JSXFragment) -> JSXFragment
fn fold_jsx_fragment(&mut self, n: JSXFragment) -> JSXFragment
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_jsx_member_expr(&mut self, n: JSXMemberExpr) -> JSXMemberExpr
fn fold_jsx_member_expr(&mut self, n: JSXMemberExpr) -> JSXMemberExpr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_jsx_namespaced_name(&mut self, n: JSXNamespacedName) -> JSXNamespacedName
fn fold_jsx_namespaced_name(&mut self, n: JSXNamespacedName) -> JSXNamespacedName
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_jsx_object(&mut self, n: JSXObject) -> JSXObject
fn fold_jsx_object(&mut self, n: JSXObject) -> JSXObject
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_jsx_opening_element(&mut self, n: JSXOpeningElement) -> JSXOpeningElement
fn fold_jsx_opening_element(&mut self, n: JSXOpeningElement) -> JSXOpeningElement
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_jsx_opening_fragment(
&mut self,
n: JSXOpeningFragment
) -> JSXOpeningFragment
fn fold_jsx_opening_fragment(
&mut self,
n: JSXOpeningFragment
) -> JSXOpeningFragment
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_jsx_spread_child(&mut self, n: JSXSpreadChild) -> JSXSpreadChild
fn fold_jsx_spread_child(&mut self, n: JSXSpreadChild) -> JSXSpreadChild
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_jsx_text(&mut self, n: JSXText) -> JSXText
fn fold_jsx_text(&mut self, n: JSXText) -> JSXText
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_key_value_pat_prop(&mut self, n: KeyValuePatProp) -> KeyValuePatProp
fn fold_key_value_pat_prop(&mut self, n: KeyValuePatProp) -> KeyValuePatProp
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_key_value_prop(&mut self, n: KeyValueProp) -> KeyValueProp
fn fold_key_value_prop(&mut self, n: KeyValueProp) -> KeyValueProp
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_labeled_stmt(&mut self, n: LabeledStmt) -> LabeledStmt
fn fold_labeled_stmt(&mut self, n: LabeledStmt) -> LabeledStmt
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_member_expr(&mut self, n: MemberExpr) -> MemberExpr
fn fold_member_expr(&mut self, n: MemberExpr) -> MemberExpr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_member_prop(&mut self, n: MemberProp) -> MemberProp
fn fold_member_prop(&mut self, n: MemberProp) -> MemberProp
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_meta_prop_expr(&mut self, n: MetaPropExpr) -> MetaPropExpr
fn fold_meta_prop_expr(&mut self, n: MetaPropExpr) -> MetaPropExpr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_meta_prop_kind(&mut self, n: MetaPropKind) -> MetaPropKind
fn fold_meta_prop_kind(&mut self, n: MetaPropKind) -> MetaPropKind
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_method_kind(&mut self, n: MethodKind) -> MethodKind
fn fold_method_kind(&mut self, n: MethodKind) -> MethodKind
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_method_prop(&mut self, n: MethodProp) -> MethodProp
fn fold_method_prop(&mut self, n: MethodProp) -> MethodProp
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_module(&mut self, n: Module) -> Module
fn fold_module(&mut self, n: Module) -> Module
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_module_decl(&mut self, n: ModuleDecl) -> ModuleDecl
fn fold_module_decl(&mut self, n: ModuleDecl) -> ModuleDecl
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_module_export_name(&mut self, n: ModuleExportName) -> ModuleExportName
fn fold_module_export_name(&mut self, n: ModuleExportName) -> ModuleExportName
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_module_item(&mut self, n: ModuleItem) -> ModuleItem
fn fold_module_item(&mut self, n: ModuleItem) -> ModuleItem
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_module_items(&mut self, n: Vec<ModuleItem>) -> Vec<ModuleItem>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
sourcefn fold_named_export(&mut self, n: NamedExport) -> NamedExport
fn fold_named_export(&mut self, n: NamedExport) -> NamedExport
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_new_expr(&mut self, n: NewExpr) -> NewExpr
fn fold_new_expr(&mut self, n: NewExpr) -> NewExpr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_number(&mut self, n: Number) -> Number
fn fold_number(&mut self, n: Number) -> Number
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_object_lit(&mut self, n: ObjectLit) -> ObjectLit
fn fold_object_lit(&mut self, n: ObjectLit) -> ObjectLit
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_object_pat(&mut self, n: ObjectPat) -> ObjectPat
fn fold_object_pat(&mut self, n: ObjectPat) -> ObjectPat
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_object_pat_prop(&mut self, n: ObjectPatProp) -> ObjectPatProp
fn fold_object_pat_prop(&mut self, n: ObjectPatProp) -> ObjectPatProp
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_object_pat_props(&mut self, n: Vec<ObjectPatProp>) -> Vec<ObjectPatProp>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_opt_accessibility(
&mut self,
n: Option<Accessibility>
) -> Option<Accessibility>
sourcefn fold_opt_call(&mut self, n: OptCall) -> OptCall
fn fold_opt_call(&mut self, n: OptCall) -> OptCall
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_opt_catch_clause(
&mut self,
n: Option<CatchClause>
) -> Option<CatchClause>
sourcefn fold_opt_chain_base(&mut self, n: OptChainBase) -> OptChainBase
fn fold_opt_chain_base(&mut self, n: OptChainBase) -> OptChainBase
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_opt_chain_expr(&mut self, n: OptChainExpr) -> OptChainExpr
fn fold_opt_chain_expr(&mut self, n: OptChainExpr) -> OptChainExpr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_opt_expr_or_spread(
&mut self,
n: Option<ExprOrSpread>
) -> Option<ExprOrSpread>
fn fold_opt_expr_or_spreads(
&mut self,
n: Option<Vec<ExprOrSpread>>
) -> Option<Vec<ExprOrSpread>>
fn fold_opt_jsx_attr_value(
&mut self,
n: Option<JSXAttrValue>
) -> Option<JSXAttrValue>
fn fold_opt_jsx_closing_element(
&mut self,
n: Option<JSXClosingElement>
) -> Option<JSXClosingElement>
fn fold_opt_module_export_name(
&mut self,
n: Option<ModuleExportName>
) -> Option<ModuleExportName>
fn fold_opt_module_items(
&mut self,
n: Option<Vec<ModuleItem>>
) -> Option<Vec<ModuleItem>>
fn fold_opt_true_plus_minus(
&mut self,
n: Option<TruePlusMinus>
) -> Option<TruePlusMinus>
fn fold_opt_ts_entity_name(
&mut self,
n: Option<TsEntityName>
) -> Option<TsEntityName>
fn fold_opt_ts_namespace_body(
&mut self,
n: Option<TsNamespaceBody>
) -> Option<TsNamespaceBody>
fn fold_opt_ts_type_param_decl(
&mut self,
n: Option<Box<TsTypeParamDecl>>
) -> Option<Box<TsTypeParamDecl>>
fn fold_opt_ts_type_param_instantiation(
&mut self,
n: Option<Box<TsTypeParamInstantiation>>
) -> Option<Box<TsTypeParamInstantiation>>
fn fold_opt_var_decl_or_expr(
&mut self,
n: Option<VarDeclOrExpr>
) -> Option<VarDeclOrExpr>
fn fold_opt_vec_expr_or_spreads(
&mut self,
n: Vec<Option<ExprOrSpread>>
) -> Vec<Option<ExprOrSpread>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_opt_vec_pats(&mut self, n: Vec<Option<Pat>>) -> Vec<Option<Pat>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
sourcefn fold_param(&mut self, n: Param) -> Param
fn fold_param(&mut self, n: Param) -> Param
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_param_or_ts_param_prop(
&mut self,
n: ParamOrTsParamProp
) -> ParamOrTsParamProp
fn fold_param_or_ts_param_prop(
&mut self,
n: ParamOrTsParamProp
) -> ParamOrTsParamProp
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_param_or_ts_param_props(
&mut self,
n: Vec<ParamOrTsParamProp>
) -> Vec<ParamOrTsParamProp>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_params(&mut self, n: Vec<Param>) -> Vec<Param>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
sourcefn fold_paren_expr(&mut self, n: ParenExpr) -> ParenExpr
fn fold_paren_expr(&mut self, n: ParenExpr) -> ParenExpr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_pat_or_expr(&mut self, n: PatOrExpr) -> PatOrExpr
fn fold_pat_or_expr(&mut self, n: PatOrExpr) -> PatOrExpr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_pats(&mut self, n: Vec<Pat>) -> Vec<Pat>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
sourcefn fold_private_method(&mut self, n: PrivateMethod) -> PrivateMethod
fn fold_private_method(&mut self, n: PrivateMethod) -> PrivateMethod
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_private_name(&mut self, n: PrivateName) -> PrivateName
fn fold_private_name(&mut self, n: PrivateName) -> PrivateName
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_private_prop(&mut self, n: PrivateProp) -> PrivateProp
fn fold_private_prop(&mut self, n: PrivateProp) -> PrivateProp
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_program(&mut self, n: Program) -> Program
fn fold_program(&mut self, n: Program) -> Program
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_prop_name(&mut self, n: PropName) -> PropName
fn fold_prop_name(&mut self, n: PropName) -> PropName
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_prop_or_spread(&mut self, n: PropOrSpread) -> PropOrSpread
fn fold_prop_or_spread(&mut self, n: PropOrSpread) -> PropOrSpread
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_prop_or_spreads(&mut self, n: Vec<PropOrSpread>) -> Vec<PropOrSpread>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
sourcefn fold_regex(&mut self, n: Regex) -> Regex
fn fold_regex(&mut self, n: Regex) -> Regex
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_reserved_unused(&mut self, n: ReservedUnused) -> ReservedUnused
fn fold_reserved_unused(&mut self, n: ReservedUnused) -> ReservedUnused
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_rest_pat(&mut self, n: RestPat) -> RestPat
fn fold_rest_pat(&mut self, n: RestPat) -> RestPat
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_return_stmt(&mut self, n: ReturnStmt) -> ReturnStmt
fn fold_return_stmt(&mut self, n: ReturnStmt) -> ReturnStmt
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_script(&mut self, n: Script) -> Script
fn fold_script(&mut self, n: Script) -> Script
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_seq_expr(&mut self, n: SeqExpr) -> SeqExpr
fn fold_seq_expr(&mut self, n: SeqExpr) -> SeqExpr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_setter_prop(&mut self, n: SetterProp) -> SetterProp
fn fold_setter_prop(&mut self, n: SetterProp) -> SetterProp
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_spread_element(&mut self, n: SpreadElement) -> SpreadElement
fn fold_spread_element(&mut self, n: SpreadElement) -> SpreadElement
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_static_block(&mut self, n: StaticBlock) -> StaticBlock
fn fold_static_block(&mut self, n: StaticBlock) -> StaticBlock
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_stmts(&mut self, n: Vec<Stmt>) -> Vec<Stmt>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_super(&mut self, n: Super) -> Super
fn fold_super(&mut self, n: Super) -> Super
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_super_prop(&mut self, n: SuperProp) -> SuperProp
fn fold_super_prop(&mut self, n: SuperProp) -> SuperProp
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_super_prop_expr(&mut self, n: SuperPropExpr) -> SuperPropExpr
fn fold_super_prop_expr(&mut self, n: SuperPropExpr) -> SuperPropExpr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_switch_case(&mut self, n: SwitchCase) -> SwitchCase
fn fold_switch_case(&mut self, n: SwitchCase) -> SwitchCase
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_switch_cases(&mut self, n: Vec<SwitchCase>) -> Vec<SwitchCase>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
sourcefn fold_switch_stmt(&mut self, n: SwitchStmt) -> SwitchStmt
fn fold_switch_stmt(&mut self, n: SwitchStmt) -> SwitchStmt
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_tagged_tpl(&mut self, n: TaggedTpl) -> TaggedTpl
fn fold_tagged_tpl(&mut self, n: TaggedTpl) -> TaggedTpl
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_this_expr(&mut self, n: ThisExpr) -> ThisExpr
fn fold_this_expr(&mut self, n: ThisExpr) -> ThisExpr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_throw_stmt(&mut self, n: ThrowStmt) -> ThrowStmt
fn fold_throw_stmt(&mut self, n: ThrowStmt) -> ThrowStmt
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_tpl_element(&mut self, n: TplElement) -> TplElement
fn fold_tpl_element(&mut self, n: TplElement) -> TplElement
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_tpl_elements(&mut self, n: Vec<TplElement>) -> Vec<TplElement>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
sourcefn fold_true_plus_minus(&mut self, n: TruePlusMinus) -> TruePlusMinus
fn fold_true_plus_minus(&mut self, n: TruePlusMinus) -> TruePlusMinus
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_try_stmt(&mut self, n: TryStmt) -> TryStmt
fn fold_try_stmt(&mut self, n: TryStmt) -> TryStmt
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_array_type(&mut self, n: TsArrayType) -> TsArrayType
fn fold_ts_array_type(&mut self, n: TsArrayType) -> TsArrayType
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_as_expr(&mut self, n: TsAsExpr) -> TsAsExpr
fn fold_ts_as_expr(&mut self, n: TsAsExpr) -> TsAsExpr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_call_signature_decl(
&mut self,
n: TsCallSignatureDecl
) -> TsCallSignatureDecl
fn fold_ts_call_signature_decl(
&mut self,
n: TsCallSignatureDecl
) -> TsCallSignatureDecl
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_conditional_type(&mut self, n: TsConditionalType) -> TsConditionalType
fn fold_ts_conditional_type(&mut self, n: TsConditionalType) -> TsConditionalType
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_const_assertion(&mut self, n: TsConstAssertion) -> TsConstAssertion
fn fold_ts_const_assertion(&mut self, n: TsConstAssertion) -> TsConstAssertion
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_construct_signature_decl(
&mut self,
n: TsConstructSignatureDecl
) -> TsConstructSignatureDecl
fn fold_ts_construct_signature_decl(
&mut self,
n: TsConstructSignatureDecl
) -> TsConstructSignatureDecl
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_constructor_type(&mut self, n: TsConstructorType) -> TsConstructorType
fn fold_ts_constructor_type(&mut self, n: TsConstructorType) -> TsConstructorType
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_entity_name(&mut self, n: TsEntityName) -> TsEntityName
fn fold_ts_entity_name(&mut self, n: TsEntityName) -> TsEntityName
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_enum_decl(&mut self, n: TsEnumDecl) -> TsEnumDecl
fn fold_ts_enum_decl(&mut self, n: TsEnumDecl) -> TsEnumDecl
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_enum_member(&mut self, n: TsEnumMember) -> TsEnumMember
fn fold_ts_enum_member(&mut self, n: TsEnumMember) -> TsEnumMember
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_enum_member_id(&mut self, n: TsEnumMemberId) -> TsEnumMemberId
fn fold_ts_enum_member_id(&mut self, n: TsEnumMemberId) -> TsEnumMemberId
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_ts_enum_members(&mut self, n: Vec<TsEnumMember>) -> Vec<TsEnumMember>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
sourcefn fold_ts_export_assignment(
&mut self,
n: TsExportAssignment
) -> TsExportAssignment
fn fold_ts_export_assignment(
&mut self,
n: TsExportAssignment
) -> TsExportAssignment
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_expr_with_type_args(
&mut self,
n: TsExprWithTypeArgs
) -> TsExprWithTypeArgs
fn fold_ts_expr_with_type_args(
&mut self,
n: TsExprWithTypeArgs
) -> TsExprWithTypeArgs
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_ts_expr_with_type_args_vec(
&mut self,
n: Vec<TsExprWithTypeArgs>
) -> Vec<TsExprWithTypeArgs>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
sourcefn fold_ts_external_module_ref(
&mut self,
n: TsExternalModuleRef
) -> TsExternalModuleRef
fn fold_ts_external_module_ref(
&mut self,
n: TsExternalModuleRef
) -> TsExternalModuleRef
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_fn_or_constructor_type(
&mut self,
n: TsFnOrConstructorType
) -> TsFnOrConstructorType
fn fold_ts_fn_or_constructor_type(
&mut self,
n: TsFnOrConstructorType
) -> TsFnOrConstructorType
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_fn_param(&mut self, n: TsFnParam) -> TsFnParam
fn fold_ts_fn_param(&mut self, n: TsFnParam) -> TsFnParam
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_ts_fn_params(&mut self, n: Vec<TsFnParam>) -> Vec<TsFnParam>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
sourcefn fold_ts_fn_type(&mut self, n: TsFnType) -> TsFnType
fn fold_ts_fn_type(&mut self, n: TsFnType) -> TsFnType
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_getter_signature(&mut self, n: TsGetterSignature) -> TsGetterSignature
fn fold_ts_getter_signature(&mut self, n: TsGetterSignature) -> TsGetterSignature
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_import_equals_decl(
&mut self,
n: TsImportEqualsDecl
) -> TsImportEqualsDecl
fn fold_ts_import_equals_decl(
&mut self,
n: TsImportEqualsDecl
) -> TsImportEqualsDecl
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_import_type(&mut self, n: TsImportType) -> TsImportType
fn fold_ts_import_type(&mut self, n: TsImportType) -> TsImportType
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_index_signature(&mut self, n: TsIndexSignature) -> TsIndexSignature
fn fold_ts_index_signature(&mut self, n: TsIndexSignature) -> TsIndexSignature
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_indexed_access_type(
&mut self,
n: TsIndexedAccessType
) -> TsIndexedAccessType
fn fold_ts_indexed_access_type(
&mut self,
n: TsIndexedAccessType
) -> TsIndexedAccessType
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_infer_type(&mut self, n: TsInferType) -> TsInferType
fn fold_ts_infer_type(&mut self, n: TsInferType) -> TsInferType
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_instantiation(&mut self, n: TsInstantiation) -> TsInstantiation
fn fold_ts_instantiation(&mut self, n: TsInstantiation) -> TsInstantiation
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_interface_body(&mut self, n: TsInterfaceBody) -> TsInterfaceBody
fn fold_ts_interface_body(&mut self, n: TsInterfaceBody) -> TsInterfaceBody
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_interface_decl(&mut self, n: TsInterfaceDecl) -> TsInterfaceDecl
fn fold_ts_interface_decl(&mut self, n: TsInterfaceDecl) -> TsInterfaceDecl
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_intersection_type(
&mut self,
n: TsIntersectionType
) -> TsIntersectionType
fn fold_ts_intersection_type(
&mut self,
n: TsIntersectionType
) -> TsIntersectionType
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_keyword_type(&mut self, n: TsKeywordType) -> TsKeywordType
fn fold_ts_keyword_type(&mut self, n: TsKeywordType) -> TsKeywordType
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_keyword_type_kind(
&mut self,
n: TsKeywordTypeKind
) -> TsKeywordTypeKind
fn fold_ts_keyword_type_kind(
&mut self,
n: TsKeywordTypeKind
) -> TsKeywordTypeKind
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_lit(&mut self, n: TsLit) -> TsLit
fn fold_ts_lit(&mut self, n: TsLit) -> TsLit
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_lit_type(&mut self, n: TsLitType) -> TsLitType
fn fold_ts_lit_type(&mut self, n: TsLitType) -> TsLitType
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_mapped_type(&mut self, n: TsMappedType) -> TsMappedType
fn fold_ts_mapped_type(&mut self, n: TsMappedType) -> TsMappedType
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_method_signature(&mut self, n: TsMethodSignature) -> TsMethodSignature
fn fold_ts_method_signature(&mut self, n: TsMethodSignature) -> TsMethodSignature
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_module_block(&mut self, n: TsModuleBlock) -> TsModuleBlock
fn fold_ts_module_block(&mut self, n: TsModuleBlock) -> TsModuleBlock
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_module_decl(&mut self, n: TsModuleDecl) -> TsModuleDecl
fn fold_ts_module_decl(&mut self, n: TsModuleDecl) -> TsModuleDecl
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_module_name(&mut self, n: TsModuleName) -> TsModuleName
fn fold_ts_module_name(&mut self, n: TsModuleName) -> TsModuleName
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_module_ref(&mut self, n: TsModuleRef) -> TsModuleRef
fn fold_ts_module_ref(&mut self, n: TsModuleRef) -> TsModuleRef
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_namespace_body(&mut self, n: TsNamespaceBody) -> TsNamespaceBody
fn fold_ts_namespace_body(&mut self, n: TsNamespaceBody) -> TsNamespaceBody
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_namespace_decl(&mut self, n: TsNamespaceDecl) -> TsNamespaceDecl
fn fold_ts_namespace_decl(&mut self, n: TsNamespaceDecl) -> TsNamespaceDecl
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_namespace_export_decl(
&mut self,
n: TsNamespaceExportDecl
) -> TsNamespaceExportDecl
fn fold_ts_namespace_export_decl(
&mut self,
n: TsNamespaceExportDecl
) -> TsNamespaceExportDecl
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_non_null_expr(&mut self, n: TsNonNullExpr) -> TsNonNullExpr
fn fold_ts_non_null_expr(&mut self, n: TsNonNullExpr) -> TsNonNullExpr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_optional_type(&mut self, n: TsOptionalType) -> TsOptionalType
fn fold_ts_optional_type(&mut self, n: TsOptionalType) -> TsOptionalType
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_param_prop(&mut self, n: TsParamProp) -> TsParamProp
fn fold_ts_param_prop(&mut self, n: TsParamProp) -> TsParamProp
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_param_prop_param(&mut self, n: TsParamPropParam) -> TsParamPropParam
fn fold_ts_param_prop_param(&mut self, n: TsParamPropParam) -> TsParamPropParam
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_parenthesized_type(
&mut self,
n: TsParenthesizedType
) -> TsParenthesizedType
fn fold_ts_parenthesized_type(
&mut self,
n: TsParenthesizedType
) -> TsParenthesizedType
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_property_signature(
&mut self,
n: TsPropertySignature
) -> TsPropertySignature
fn fold_ts_property_signature(
&mut self,
n: TsPropertySignature
) -> TsPropertySignature
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_qualified_name(&mut self, n: TsQualifiedName) -> TsQualifiedName
fn fold_ts_qualified_name(&mut self, n: TsQualifiedName) -> TsQualifiedName
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_rest_type(&mut self, n: TsRestType) -> TsRestType
fn fold_ts_rest_type(&mut self, n: TsRestType) -> TsRestType
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_satisfies_expr(&mut self, n: TsSatisfiesExpr) -> TsSatisfiesExpr
fn fold_ts_satisfies_expr(&mut self, n: TsSatisfiesExpr) -> TsSatisfiesExpr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_setter_signature(&mut self, n: TsSetterSignature) -> TsSetterSignature
fn fold_ts_setter_signature(&mut self, n: TsSetterSignature) -> TsSetterSignature
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_this_type(&mut self, n: TsThisType) -> TsThisType
fn fold_ts_this_type(&mut self, n: TsThisType) -> TsThisType
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_this_type_or_ident(
&mut self,
n: TsThisTypeOrIdent
) -> TsThisTypeOrIdent
fn fold_ts_this_type_or_ident(
&mut self,
n: TsThisTypeOrIdent
) -> TsThisTypeOrIdent
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_tpl_lit_type(&mut self, n: TsTplLitType) -> TsTplLitType
fn fold_ts_tpl_lit_type(&mut self, n: TsTplLitType) -> TsTplLitType
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_tuple_element(&mut self, n: TsTupleElement) -> TsTupleElement
fn fold_ts_tuple_element(&mut self, n: TsTupleElement) -> TsTupleElement
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_ts_tuple_elements(
&mut self,
n: Vec<TsTupleElement>
) -> Vec<TsTupleElement>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
sourcefn fold_ts_tuple_type(&mut self, n: TsTupleType) -> TsTupleType
fn fold_ts_tuple_type(&mut self, n: TsTupleType) -> TsTupleType
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_type(&mut self, n: TsType) -> TsType
fn fold_ts_type(&mut self, n: TsType) -> TsType
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_type_alias_decl(&mut self, n: TsTypeAliasDecl) -> TsTypeAliasDecl
fn fold_ts_type_alias_decl(&mut self, n: TsTypeAliasDecl) -> TsTypeAliasDecl
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_type_ann(&mut self, n: TsTypeAnn) -> TsTypeAnn
fn fold_ts_type_ann(&mut self, n: TsTypeAnn) -> TsTypeAnn
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_type_assertion(&mut self, n: TsTypeAssertion) -> TsTypeAssertion
fn fold_ts_type_assertion(&mut self, n: TsTypeAssertion) -> TsTypeAssertion
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_type_element(&mut self, n: TsTypeElement) -> TsTypeElement
fn fold_ts_type_element(&mut self, n: TsTypeElement) -> TsTypeElement
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_ts_type_elements(&mut self, n: Vec<TsTypeElement>) -> Vec<TsTypeElement>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
sourcefn fold_ts_type_lit(&mut self, n: TsTypeLit) -> TsTypeLit
fn fold_ts_type_lit(&mut self, n: TsTypeLit) -> TsTypeLit
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_type_operator(&mut self, n: TsTypeOperator) -> TsTypeOperator
fn fold_ts_type_operator(&mut self, n: TsTypeOperator) -> TsTypeOperator
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_type_operator_op(&mut self, n: TsTypeOperatorOp) -> TsTypeOperatorOp
fn fold_ts_type_operator_op(&mut self, n: TsTypeOperatorOp) -> TsTypeOperatorOp
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_type_param(&mut self, n: TsTypeParam) -> TsTypeParam
fn fold_ts_type_param(&mut self, n: TsTypeParam) -> TsTypeParam
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_type_param_decl(&mut self, n: TsTypeParamDecl) -> TsTypeParamDecl
fn fold_ts_type_param_decl(&mut self, n: TsTypeParamDecl) -> TsTypeParamDecl
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_type_param_instantiation(
&mut self,
n: TsTypeParamInstantiation
) -> TsTypeParamInstantiation
fn fold_ts_type_param_instantiation(
&mut self,
n: TsTypeParamInstantiation
) -> TsTypeParamInstantiation
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_ts_type_params(&mut self, n: Vec<TsTypeParam>) -> Vec<TsTypeParam>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
sourcefn fold_ts_type_predicate(&mut self, n: TsTypePredicate) -> TsTypePredicate
fn fold_ts_type_predicate(&mut self, n: TsTypePredicate) -> TsTypePredicate
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_type_query(&mut self, n: TsTypeQuery) -> TsTypeQuery
fn fold_ts_type_query(&mut self, n: TsTypeQuery) -> TsTypeQuery
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_type_query_expr(&mut self, n: TsTypeQueryExpr) -> TsTypeQueryExpr
fn fold_ts_type_query_expr(&mut self, n: TsTypeQueryExpr) -> TsTypeQueryExpr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_type_ref(&mut self, n: TsTypeRef) -> TsTypeRef
fn fold_ts_type_ref(&mut self, n: TsTypeRef) -> TsTypeRef
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_ts_types(&mut self, n: Vec<Box<TsType>>) -> Vec<Box<TsType>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
sourcefn fold_ts_union_or_intersection_type(
&mut self,
n: TsUnionOrIntersectionType
) -> TsUnionOrIntersectionType
fn fold_ts_union_or_intersection_type(
&mut self,
n: TsUnionOrIntersectionType
) -> TsUnionOrIntersectionType
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ts_union_type(&mut self, n: TsUnionType) -> TsUnionType
fn fold_ts_union_type(&mut self, n: TsUnionType) -> TsUnionType
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_unary_expr(&mut self, n: UnaryExpr) -> UnaryExpr
fn fold_unary_expr(&mut self, n: UnaryExpr) -> UnaryExpr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_unary_op(&mut self, n: UnaryOp) -> UnaryOp
fn fold_unary_op(&mut self, n: UnaryOp) -> UnaryOp
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_update_expr(&mut self, n: UpdateExpr) -> UpdateExpr
fn fold_update_expr(&mut self, n: UpdateExpr) -> UpdateExpr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_update_op(&mut self, n: UpdateOp) -> UpdateOp
fn fold_update_op(&mut self, n: UpdateOp) -> UpdateOp
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_var_decl(&mut self, n: VarDecl) -> VarDecl
fn fold_var_decl(&mut self, n: VarDecl) -> VarDecl
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_var_decl_kind(&mut self, n: VarDeclKind) -> VarDeclKind
fn fold_var_decl_kind(&mut self, n: VarDeclKind) -> VarDeclKind
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_var_decl_or_expr(&mut self, n: VarDeclOrExpr) -> VarDeclOrExpr
fn fold_var_decl_or_expr(&mut self, n: VarDeclOrExpr) -> VarDeclOrExpr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_var_decl_or_pat(&mut self, n: VarDeclOrPat) -> VarDeclOrPat
fn fold_var_decl_or_pat(&mut self, n: VarDeclOrPat) -> VarDeclOrPat
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_var_declarator(&mut self, n: VarDeclarator) -> VarDeclarator
fn fold_var_declarator(&mut self, n: VarDeclarator) -> VarDeclarator
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_var_declarators(&mut self, n: Vec<VarDeclarator>) -> Vec<VarDeclarator>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
sourcefn fold_while_stmt(&mut self, n: WhileStmt) -> WhileStmt
fn fold_while_stmt(&mut self, n: WhileStmt) -> WhileStmt
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_with_stmt(&mut self, n: WithStmt) -> WithStmt
fn fold_with_stmt(&mut self, n: WithStmt) -> WithStmt
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_yield_expr(&mut self, n: YieldExpr) -> YieldExpr
fn fold_yield_expr(&mut self, n: YieldExpr) -> YieldExpr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
Implementations on Foreign Types
sourceimpl<A, B> Fold for AndThen<A, B>where
A: Fold,
B: Fold,
impl<A, B> Fold for AndThen<A, B>where
A: Fold,
B: Fold,
fn fold_module(&mut self, n: Module) -> Module
fn fold_script(&mut self, n: Script) -> Script
sourceimpl<V> Fold for Repeat<V>where
V: Fold + Repeated,
impl<V> Fold for Repeat<V>where
V: Fold + Repeated,
fn fold_module(&mut self, node: Module) -> Module
fn fold_script(&mut self, node: Script) -> Script
sourceimpl<'a, V> Fold for &'a mut Vwhere
V: ?Sized + Fold,
impl<'a, V> Fold for &'a mut Vwhere
V: ?Sized + Fold,
fn fold_accessibility(&mut self, n: Accessibility) -> Accessibility
fn fold_array_lit(&mut self, n: ArrayLit) -> ArrayLit
fn fold_array_pat(&mut self, n: ArrayPat) -> ArrayPat
fn fold_arrow_expr(&mut self, n: ArrowExpr) -> ArrowExpr
fn fold_assign_expr(&mut self, n: AssignExpr) -> AssignExpr
fn fold_assign_op(&mut self, n: AssignOp) -> AssignOp
fn fold_assign_pat(&mut self, n: AssignPat) -> AssignPat
fn fold_assign_pat_prop(&mut self, n: AssignPatProp) -> AssignPatProp
fn fold_assign_prop(&mut self, n: AssignProp) -> AssignProp
fn fold_atom(&mut self, n: Atom) -> Atom
fn fold_await_expr(&mut self, n: AwaitExpr) -> AwaitExpr
fn fold_big_int(&mut self, n: BigInt) -> BigInt
fn fold_big_int_value(&mut self, n: BigIntValue) -> BigIntValue
fn fold_bin_expr(&mut self, n: BinExpr) -> BinExpr
fn fold_binary_op(&mut self, n: BinaryOp) -> BinaryOp
fn fold_binding_ident(&mut self, n: BindingIdent) -> BindingIdent
fn fold_block_stmt(&mut self, n: BlockStmt) -> BlockStmt
fn fold_block_stmt_or_expr(&mut self, n: BlockStmtOrExpr) -> BlockStmtOrExpr
fn fold_bool(&mut self, n: Bool) -> Bool
fn fold_break_stmt(&mut self, n: BreakStmt) -> BreakStmt
fn fold_call_expr(&mut self, n: CallExpr) -> CallExpr
fn fold_callee(&mut self, n: Callee) -> Callee
fn fold_catch_clause(&mut self, n: CatchClause) -> CatchClause
fn fold_class(&mut self, n: Class) -> Class
fn fold_class_decl(&mut self, n: ClassDecl) -> ClassDecl
fn fold_class_expr(&mut self, n: ClassExpr) -> ClassExpr
fn fold_class_member(&mut self, n: ClassMember) -> ClassMember
fn fold_class_members(&mut self, n: Vec<ClassMember>) -> Vec<ClassMember>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_class_method(&mut self, n: ClassMethod) -> ClassMethod
fn fold_class_prop(&mut self, n: ClassProp) -> ClassProp
fn fold_computed_prop_name(&mut self, n: ComputedPropName) -> ComputedPropName
fn fold_cond_expr(&mut self, n: CondExpr) -> CondExpr
fn fold_constructor(&mut self, n: Constructor) -> Constructor
fn fold_continue_stmt(&mut self, n: ContinueStmt) -> ContinueStmt
fn fold_debugger_stmt(&mut self, n: DebuggerStmt) -> DebuggerStmt
fn fold_decl(&mut self, n: Decl) -> Decl
fn fold_decorator(&mut self, n: Decorator) -> Decorator
fn fold_decorators(&mut self, n: Vec<Decorator>) -> Vec<Decorator>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_default_decl(&mut self, n: DefaultDecl) -> DefaultDecl
fn fold_do_while_stmt(&mut self, n: DoWhileStmt) -> DoWhileStmt
fn fold_empty_stmt(&mut self, n: EmptyStmt) -> EmptyStmt
fn fold_export_all(&mut self, n: ExportAll) -> ExportAll
fn fold_export_decl(&mut self, n: ExportDecl) -> ExportDecl
fn fold_export_default_decl(&mut self, n: ExportDefaultDecl) -> ExportDefaultDecl
fn fold_export_default_expr(&mut self, n: ExportDefaultExpr) -> ExportDefaultExpr
fn fold_export_default_specifier(
&mut self,
n: ExportDefaultSpecifier
) -> ExportDefaultSpecifier
fn fold_export_named_specifier(
&mut self,
n: ExportNamedSpecifier
) -> ExportNamedSpecifier
fn fold_export_namespace_specifier(
&mut self,
n: ExportNamespaceSpecifier
) -> ExportNamespaceSpecifier
fn fold_export_specifier(&mut self, n: ExportSpecifier) -> ExportSpecifier
fn fold_export_specifiers(
&mut self,
n: Vec<ExportSpecifier>
) -> Vec<ExportSpecifier>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_expr(&mut self, n: Expr) -> Expr
fn fold_expr_or_spread(&mut self, n: ExprOrSpread) -> ExprOrSpread
fn fold_expr_or_spreads(&mut self, n: Vec<ExprOrSpread>) -> Vec<ExprOrSpread>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_expr_stmt(&mut self, n: ExprStmt) -> ExprStmt
fn fold_exprs(&mut self, n: Vec<Box<Expr>>) -> Vec<Box<Expr>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_fn_decl(&mut self, n: FnDecl) -> FnDecl
fn fold_fn_expr(&mut self, n: FnExpr) -> FnExpr
fn fold_for_in_stmt(&mut self, n: ForInStmt) -> ForInStmt
fn fold_for_of_stmt(&mut self, n: ForOfStmt) -> ForOfStmt
fn fold_for_stmt(&mut self, n: ForStmt) -> ForStmt
fn fold_function(&mut self, n: Function) -> Function
fn fold_getter_prop(&mut self, n: GetterProp) -> GetterProp
fn fold_ident(&mut self, n: Ident) -> Ident
fn fold_if_stmt(&mut self, n: IfStmt) -> IfStmt
fn fold_import(&mut self, n: Import) -> Import
fn fold_import_decl(&mut self, n: ImportDecl) -> ImportDecl
fn fold_import_default_specifier(
&mut self,
n: ImportDefaultSpecifier
) -> ImportDefaultSpecifier
fn fold_import_named_specifier(
&mut self,
n: ImportNamedSpecifier
) -> ImportNamedSpecifier
fn fold_import_specifier(&mut self, n: ImportSpecifier) -> ImportSpecifier
fn fold_import_specifiers(
&mut self,
n: Vec<ImportSpecifier>
) -> Vec<ImportSpecifier>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_import_star_as_specifier(
&mut self,
n: ImportStarAsSpecifier
) -> ImportStarAsSpecifier
fn fold_invalid(&mut self, n: Invalid) -> Invalid
fn fold_js_word(&mut self, n: JsWord) -> JsWord
fn fold_jsx_attr(&mut self, n: JSXAttr) -> JSXAttr
fn fold_jsx_attr_name(&mut self, n: JSXAttrName) -> JSXAttrName
fn fold_jsx_attr_or_spread(&mut self, n: JSXAttrOrSpread) -> JSXAttrOrSpread
fn fold_jsx_attr_or_spreads(
&mut self,
n: Vec<JSXAttrOrSpread>
) -> Vec<JSXAttrOrSpread>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_jsx_attr_value(&mut self, n: JSXAttrValue) -> JSXAttrValue
fn fold_jsx_closing_element(&mut self, n: JSXClosingElement) -> JSXClosingElement
fn fold_jsx_closing_fragment(
&mut self,
n: JSXClosingFragment
) -> JSXClosingFragment
fn fold_jsx_element(&mut self, n: JSXElement) -> JSXElement
fn fold_jsx_element_child(&mut self, n: JSXElementChild) -> JSXElementChild
fn fold_jsx_element_children(
&mut self,
n: Vec<JSXElementChild>
) -> Vec<JSXElementChild>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_jsx_element_name(&mut self, n: JSXElementName) -> JSXElementName
fn fold_jsx_empty_expr(&mut self, n: JSXEmptyExpr) -> JSXEmptyExpr
fn fold_jsx_expr(&mut self, n: JSXExpr) -> JSXExpr
fn fold_jsx_expr_container(&mut self, n: JSXExprContainer) -> JSXExprContainer
fn fold_jsx_fragment(&mut self, n: JSXFragment) -> JSXFragment
fn fold_jsx_member_expr(&mut self, n: JSXMemberExpr) -> JSXMemberExpr
fn fold_jsx_namespaced_name(&mut self, n: JSXNamespacedName) -> JSXNamespacedName
fn fold_jsx_object(&mut self, n: JSXObject) -> JSXObject
fn fold_jsx_opening_element(&mut self, n: JSXOpeningElement) -> JSXOpeningElement
fn fold_jsx_opening_fragment(
&mut self,
n: JSXOpeningFragment
) -> JSXOpeningFragment
fn fold_jsx_spread_child(&mut self, n: JSXSpreadChild) -> JSXSpreadChild
fn fold_jsx_text(&mut self, n: JSXText) -> JSXText
fn fold_key_value_pat_prop(&mut self, n: KeyValuePatProp) -> KeyValuePatProp
fn fold_key_value_prop(&mut self, n: KeyValueProp) -> KeyValueProp
fn fold_labeled_stmt(&mut self, n: LabeledStmt) -> LabeledStmt
fn fold_lit(&mut self, n: Lit) -> Lit
fn fold_member_expr(&mut self, n: MemberExpr) -> MemberExpr
fn fold_member_prop(&mut self, n: MemberProp) -> MemberProp
fn fold_meta_prop_expr(&mut self, n: MetaPropExpr) -> MetaPropExpr
fn fold_meta_prop_kind(&mut self, n: MetaPropKind) -> MetaPropKind
fn fold_method_kind(&mut self, n: MethodKind) -> MethodKind
fn fold_method_prop(&mut self, n: MethodProp) -> MethodProp
fn fold_module(&mut self, n: Module) -> Module
fn fold_module_decl(&mut self, n: ModuleDecl) -> ModuleDecl
fn fold_module_export_name(&mut self, n: ModuleExportName) -> ModuleExportName
fn fold_module_item(&mut self, n: ModuleItem) -> ModuleItem
fn fold_module_items(&mut self, n: Vec<ModuleItem>) -> Vec<ModuleItem>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_named_export(&mut self, n: NamedExport) -> NamedExport
fn fold_new_expr(&mut self, n: NewExpr) -> NewExpr
fn fold_null(&mut self, n: Null) -> Null
fn fold_number(&mut self, n: Number) -> Number
fn fold_object_lit(&mut self, n: ObjectLit) -> ObjectLit
fn fold_object_pat(&mut self, n: ObjectPat) -> ObjectPat
fn fold_object_pat_prop(&mut self, n: ObjectPatProp) -> ObjectPatProp
fn fold_object_pat_props(&mut self, n: Vec<ObjectPatProp>) -> Vec<ObjectPatProp>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_opt_accessibility(
&mut self,
n: Option<Accessibility>
) -> Option<Accessibility>
fn fold_opt_atom(&mut self, n: Option<Atom>) -> Option<Atom>
fn fold_opt_block_stmt(&mut self, n: Option<BlockStmt>) -> Option<BlockStmt>
fn fold_opt_call(&mut self, n: OptCall) -> OptCall
fn fold_opt_catch_clause(
&mut self,
n: Option<CatchClause>
) -> Option<CatchClause>
fn fold_opt_chain_base(&mut self, n: OptChainBase) -> OptChainBase
fn fold_opt_chain_expr(&mut self, n: OptChainExpr) -> OptChainExpr
fn fold_opt_expr(&mut self, n: Option<Box<Expr>>) -> Option<Box<Expr>>
fn fold_opt_expr_or_spread(
&mut self,
n: Option<ExprOrSpread>
) -> Option<ExprOrSpread>
fn fold_opt_expr_or_spreads(
&mut self,
n: Option<Vec<ExprOrSpread>>
) -> Option<Vec<ExprOrSpread>>
fn fold_opt_ident(&mut self, n: Option<Ident>) -> Option<Ident>
fn fold_opt_jsx_attr_value(
&mut self,
n: Option<JSXAttrValue>
) -> Option<JSXAttrValue>
fn fold_opt_jsx_closing_element(
&mut self,
n: Option<JSXClosingElement>
) -> Option<JSXClosingElement>
fn fold_opt_module_export_name(
&mut self,
n: Option<ModuleExportName>
) -> Option<ModuleExportName>
fn fold_opt_module_items(
&mut self,
n: Option<Vec<ModuleItem>>
) -> Option<Vec<ModuleItem>>
fn fold_opt_object_lit(
&mut self,
n: Option<Box<ObjectLit>>
) -> Option<Box<ObjectLit>>
fn fold_opt_pat(&mut self, n: Option<Pat>) -> Option<Pat>
fn fold_opt_span(&mut self, n: Option<Span>) -> Option<Span>
fn fold_opt_stmt(&mut self, n: Option<Box<Stmt>>) -> Option<Box<Stmt>>
fn fold_opt_str(&mut self, n: Option<Box<Str>>) -> Option<Box<Str>>
fn fold_opt_true_plus_minus(
&mut self,
n: Option<TruePlusMinus>
) -> Option<TruePlusMinus>
fn fold_opt_ts_entity_name(
&mut self,
n: Option<TsEntityName>
) -> Option<TsEntityName>
fn fold_opt_ts_namespace_body(
&mut self,
n: Option<TsNamespaceBody>
) -> Option<TsNamespaceBody>
fn fold_opt_ts_type(&mut self, n: Option<Box<TsType>>) -> Option<Box<TsType>>
fn fold_opt_ts_type_ann(
&mut self,
n: Option<Box<TsTypeAnn>>
) -> Option<Box<TsTypeAnn>>
fn fold_opt_ts_type_param_decl(
&mut self,
n: Option<Box<TsTypeParamDecl>>
) -> Option<Box<TsTypeParamDecl>>
fn fold_opt_ts_type_param_instantiation(
&mut self,
n: Option<Box<TsTypeParamInstantiation>>
) -> Option<Box<TsTypeParamInstantiation>>
fn fold_opt_var_decl_or_expr(
&mut self,
n: Option<VarDeclOrExpr>
) -> Option<VarDeclOrExpr>
fn fold_opt_vec_expr_or_spreads(
&mut self,
n: Vec<Option<ExprOrSpread>>
) -> Vec<Option<ExprOrSpread>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_opt_vec_pats(&mut self, n: Vec<Option<Pat>>) -> Vec<Option<Pat>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_param(&mut self, n: Param) -> Param
fn fold_param_or_ts_param_prop(
&mut self,
n: ParamOrTsParamProp
) -> ParamOrTsParamProp
fn fold_param_or_ts_param_props(
&mut self,
n: Vec<ParamOrTsParamProp>
) -> Vec<ParamOrTsParamProp>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_params(&mut self, n: Vec<Param>) -> Vec<Param>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_paren_expr(&mut self, n: ParenExpr) -> ParenExpr
fn fold_pat(&mut self, n: Pat) -> Pat
fn fold_pat_or_expr(&mut self, n: PatOrExpr) -> PatOrExpr
fn fold_pats(&mut self, n: Vec<Pat>) -> Vec<Pat>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_private_method(&mut self, n: PrivateMethod) -> PrivateMethod
fn fold_private_name(&mut self, n: PrivateName) -> PrivateName
fn fold_private_prop(&mut self, n: PrivateProp) -> PrivateProp
fn fold_program(&mut self, n: Program) -> Program
fn fold_prop(&mut self, n: Prop) -> Prop
fn fold_prop_name(&mut self, n: PropName) -> PropName
fn fold_prop_or_spread(&mut self, n: PropOrSpread) -> PropOrSpread
fn fold_prop_or_spreads(&mut self, n: Vec<PropOrSpread>) -> Vec<PropOrSpread>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_regex(&mut self, n: Regex) -> Regex
fn fold_reserved_unused(&mut self, n: ReservedUnused) -> ReservedUnused
fn fold_rest_pat(&mut self, n: RestPat) -> RestPat
fn fold_return_stmt(&mut self, n: ReturnStmt) -> ReturnStmt
fn fold_script(&mut self, n: Script) -> Script
fn fold_seq_expr(&mut self, n: SeqExpr) -> SeqExpr
fn fold_setter_prop(&mut self, n: SetterProp) -> SetterProp
fn fold_span(&mut self, n: Span) -> Span
fn fold_spread_element(&mut self, n: SpreadElement) -> SpreadElement
fn fold_static_block(&mut self, n: StaticBlock) -> StaticBlock
fn fold_stmt(&mut self, n: Stmt) -> Stmt
fn fold_stmts(&mut self, n: Vec<Stmt>) -> Vec<Stmt>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_str(&mut self, n: Str) -> Str
fn fold_super(&mut self, n: Super) -> Super
fn fold_super_prop(&mut self, n: SuperProp) -> SuperProp
fn fold_super_prop_expr(&mut self, n: SuperPropExpr) -> SuperPropExpr
fn fold_switch_case(&mut self, n: SwitchCase) -> SwitchCase
fn fold_switch_cases(&mut self, n: Vec<SwitchCase>) -> Vec<SwitchCase>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_switch_stmt(&mut self, n: SwitchStmt) -> SwitchStmt
fn fold_tagged_tpl(&mut self, n: TaggedTpl) -> TaggedTpl
fn fold_this_expr(&mut self, n: ThisExpr) -> ThisExpr
fn fold_throw_stmt(&mut self, n: ThrowStmt) -> ThrowStmt
fn fold_tpl(&mut self, n: Tpl) -> Tpl
fn fold_tpl_element(&mut self, n: TplElement) -> TplElement
fn fold_tpl_elements(&mut self, n: Vec<TplElement>) -> Vec<TplElement>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_true_plus_minus(&mut self, n: TruePlusMinus) -> TruePlusMinus
fn fold_try_stmt(&mut self, n: TryStmt) -> TryStmt
fn fold_ts_array_type(&mut self, n: TsArrayType) -> TsArrayType
fn fold_ts_as_expr(&mut self, n: TsAsExpr) -> TsAsExpr
fn fold_ts_call_signature_decl(
&mut self,
n: TsCallSignatureDecl
) -> TsCallSignatureDecl
fn fold_ts_conditional_type(&mut self, n: TsConditionalType) -> TsConditionalType
fn fold_ts_const_assertion(&mut self, n: TsConstAssertion) -> TsConstAssertion
fn fold_ts_construct_signature_decl(
&mut self,
n: TsConstructSignatureDecl
) -> TsConstructSignatureDecl
fn fold_ts_constructor_type(&mut self, n: TsConstructorType) -> TsConstructorType
fn fold_ts_entity_name(&mut self, n: TsEntityName) -> TsEntityName
fn fold_ts_enum_decl(&mut self, n: TsEnumDecl) -> TsEnumDecl
fn fold_ts_enum_member(&mut self, n: TsEnumMember) -> TsEnumMember
fn fold_ts_enum_member_id(&mut self, n: TsEnumMemberId) -> TsEnumMemberId
fn fold_ts_enum_members(&mut self, n: Vec<TsEnumMember>) -> Vec<TsEnumMember>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_ts_export_assignment(
&mut self,
n: TsExportAssignment
) -> TsExportAssignment
fn fold_ts_expr_with_type_args(
&mut self,
n: TsExprWithTypeArgs
) -> TsExprWithTypeArgs
fn fold_ts_expr_with_type_args_vec(
&mut self,
n: Vec<TsExprWithTypeArgs>
) -> Vec<TsExprWithTypeArgs>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_ts_external_module_ref(
&mut self,
n: TsExternalModuleRef
) -> TsExternalModuleRef
fn fold_ts_fn_or_constructor_type(
&mut self,
n: TsFnOrConstructorType
) -> TsFnOrConstructorType
fn fold_ts_fn_param(&mut self, n: TsFnParam) -> TsFnParam
fn fold_ts_fn_params(&mut self, n: Vec<TsFnParam>) -> Vec<TsFnParam>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_ts_fn_type(&mut self, n: TsFnType) -> TsFnType
fn fold_ts_getter_signature(&mut self, n: TsGetterSignature) -> TsGetterSignature
fn fold_ts_import_equals_decl(
&mut self,
n: TsImportEqualsDecl
) -> TsImportEqualsDecl
fn fold_ts_import_type(&mut self, n: TsImportType) -> TsImportType
fn fold_ts_index_signature(&mut self, n: TsIndexSignature) -> TsIndexSignature
fn fold_ts_indexed_access_type(
&mut self,
n: TsIndexedAccessType
) -> TsIndexedAccessType
fn fold_ts_infer_type(&mut self, n: TsInferType) -> TsInferType
fn fold_ts_instantiation(&mut self, n: TsInstantiation) -> TsInstantiation
fn fold_ts_interface_body(&mut self, n: TsInterfaceBody) -> TsInterfaceBody
fn fold_ts_interface_decl(&mut self, n: TsInterfaceDecl) -> TsInterfaceDecl
fn fold_ts_intersection_type(
&mut self,
n: TsIntersectionType
) -> TsIntersectionType
fn fold_ts_keyword_type(&mut self, n: TsKeywordType) -> TsKeywordType
fn fold_ts_keyword_type_kind(
&mut self,
n: TsKeywordTypeKind
) -> TsKeywordTypeKind
fn fold_ts_lit(&mut self, n: TsLit) -> TsLit
fn fold_ts_lit_type(&mut self, n: TsLitType) -> TsLitType
fn fold_ts_mapped_type(&mut self, n: TsMappedType) -> TsMappedType
fn fold_ts_method_signature(&mut self, n: TsMethodSignature) -> TsMethodSignature
fn fold_ts_module_block(&mut self, n: TsModuleBlock) -> TsModuleBlock
fn fold_ts_module_decl(&mut self, n: TsModuleDecl) -> TsModuleDecl
fn fold_ts_module_name(&mut self, n: TsModuleName) -> TsModuleName
fn fold_ts_module_ref(&mut self, n: TsModuleRef) -> TsModuleRef
fn fold_ts_namespace_body(&mut self, n: TsNamespaceBody) -> TsNamespaceBody
fn fold_ts_namespace_decl(&mut self, n: TsNamespaceDecl) -> TsNamespaceDecl
fn fold_ts_namespace_export_decl(
&mut self,
n: TsNamespaceExportDecl
) -> TsNamespaceExportDecl
fn fold_ts_non_null_expr(&mut self, n: TsNonNullExpr) -> TsNonNullExpr
fn fold_ts_optional_type(&mut self, n: TsOptionalType) -> TsOptionalType
fn fold_ts_param_prop(&mut self, n: TsParamProp) -> TsParamProp
fn fold_ts_param_prop_param(&mut self, n: TsParamPropParam) -> TsParamPropParam
fn fold_ts_parenthesized_type(
&mut self,
n: TsParenthesizedType
) -> TsParenthesizedType
fn fold_ts_property_signature(
&mut self,
n: TsPropertySignature
) -> TsPropertySignature
fn fold_ts_qualified_name(&mut self, n: TsQualifiedName) -> TsQualifiedName
fn fold_ts_rest_type(&mut self, n: TsRestType) -> TsRestType
fn fold_ts_satisfies_expr(&mut self, n: TsSatisfiesExpr) -> TsSatisfiesExpr
fn fold_ts_setter_signature(&mut self, n: TsSetterSignature) -> TsSetterSignature
fn fold_ts_this_type(&mut self, n: TsThisType) -> TsThisType
fn fold_ts_this_type_or_ident(
&mut self,
n: TsThisTypeOrIdent
) -> TsThisTypeOrIdent
fn fold_ts_tpl_lit_type(&mut self, n: TsTplLitType) -> TsTplLitType
fn fold_ts_tuple_element(&mut self, n: TsTupleElement) -> TsTupleElement
fn fold_ts_tuple_elements(
&mut self,
n: Vec<TsTupleElement>
) -> Vec<TsTupleElement>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_ts_tuple_type(&mut self, n: TsTupleType) -> TsTupleType
fn fold_ts_type(&mut self, n: TsType) -> TsType
fn fold_ts_type_alias_decl(&mut self, n: TsTypeAliasDecl) -> TsTypeAliasDecl
fn fold_ts_type_ann(&mut self, n: TsTypeAnn) -> TsTypeAnn
fn fold_ts_type_assertion(&mut self, n: TsTypeAssertion) -> TsTypeAssertion
fn fold_ts_type_element(&mut self, n: TsTypeElement) -> TsTypeElement
fn fold_ts_type_elements(&mut self, n: Vec<TsTypeElement>) -> Vec<TsTypeElement>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_ts_type_lit(&mut self, n: TsTypeLit) -> TsTypeLit
fn fold_ts_type_operator(&mut self, n: TsTypeOperator) -> TsTypeOperator
fn fold_ts_type_operator_op(&mut self, n: TsTypeOperatorOp) -> TsTypeOperatorOp
fn fold_ts_type_param(&mut self, n: TsTypeParam) -> TsTypeParam
fn fold_ts_type_param_decl(&mut self, n: TsTypeParamDecl) -> TsTypeParamDecl
fn fold_ts_type_param_instantiation(
&mut self,
n: TsTypeParamInstantiation
) -> TsTypeParamInstantiation
fn fold_ts_type_params(&mut self, n: Vec<TsTypeParam>) -> Vec<TsTypeParam>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_ts_type_predicate(&mut self, n: TsTypePredicate) -> TsTypePredicate
fn fold_ts_type_query(&mut self, n: TsTypeQuery) -> TsTypeQuery
fn fold_ts_type_query_expr(&mut self, n: TsTypeQueryExpr) -> TsTypeQueryExpr
fn fold_ts_type_ref(&mut self, n: TsTypeRef) -> TsTypeRef
fn fold_ts_types(&mut self, n: Vec<Box<TsType>>) -> Vec<Box<TsType>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_ts_union_or_intersection_type(
&mut self,
n: TsUnionOrIntersectionType
) -> TsUnionOrIntersectionType
fn fold_ts_union_type(&mut self, n: TsUnionType) -> TsUnionType
fn fold_unary_expr(&mut self, n: UnaryExpr) -> UnaryExpr
fn fold_unary_op(&mut self, n: UnaryOp) -> UnaryOp
fn fold_update_expr(&mut self, n: UpdateExpr) -> UpdateExpr
fn fold_update_op(&mut self, n: UpdateOp) -> UpdateOp
fn fold_var_decl(&mut self, n: VarDecl) -> VarDecl
fn fold_var_decl_kind(&mut self, n: VarDeclKind) -> VarDeclKind
fn fold_var_decl_or_expr(&mut self, n: VarDeclOrExpr) -> VarDeclOrExpr
fn fold_var_decl_or_pat(&mut self, n: VarDeclOrPat) -> VarDeclOrPat
fn fold_var_declarator(&mut self, n: VarDeclarator) -> VarDeclarator
fn fold_var_declarators(&mut self, n: Vec<VarDeclarator>) -> Vec<VarDeclarator>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_while_stmt(&mut self, n: WhileStmt) -> WhileStmt
fn fold_with_stmt(&mut self, n: WithStmt) -> WithStmt
fn fold_yield_expr(&mut self, n: YieldExpr) -> YieldExpr
sourceimpl<V> Fold for Box<V>where
V: ?Sized + Fold,
impl<V> Fold for Box<V>where
V: ?Sized + Fold,
fn fold_accessibility(&mut self, n: Accessibility) -> Accessibility
fn fold_array_lit(&mut self, n: ArrayLit) -> ArrayLit
fn fold_array_pat(&mut self, n: ArrayPat) -> ArrayPat
fn fold_arrow_expr(&mut self, n: ArrowExpr) -> ArrowExpr
fn fold_assign_expr(&mut self, n: AssignExpr) -> AssignExpr
fn fold_assign_op(&mut self, n: AssignOp) -> AssignOp
fn fold_assign_pat(&mut self, n: AssignPat) -> AssignPat
fn fold_assign_pat_prop(&mut self, n: AssignPatProp) -> AssignPatProp
fn fold_assign_prop(&mut self, n: AssignProp) -> AssignProp
fn fold_atom(&mut self, n: Atom) -> Atom
fn fold_await_expr(&mut self, n: AwaitExpr) -> AwaitExpr
fn fold_big_int(&mut self, n: BigInt) -> BigInt
fn fold_big_int_value(&mut self, n: BigIntValue) -> BigIntValue
fn fold_bin_expr(&mut self, n: BinExpr) -> BinExpr
fn fold_binary_op(&mut self, n: BinaryOp) -> BinaryOp
fn fold_binding_ident(&mut self, n: BindingIdent) -> BindingIdent
fn fold_block_stmt(&mut self, n: BlockStmt) -> BlockStmt
fn fold_block_stmt_or_expr(&mut self, n: BlockStmtOrExpr) -> BlockStmtOrExpr
fn fold_bool(&mut self, n: Bool) -> Bool
fn fold_break_stmt(&mut self, n: BreakStmt) -> BreakStmt
fn fold_call_expr(&mut self, n: CallExpr) -> CallExpr
fn fold_callee(&mut self, n: Callee) -> Callee
fn fold_catch_clause(&mut self, n: CatchClause) -> CatchClause
fn fold_class(&mut self, n: Class) -> Class
fn fold_class_decl(&mut self, n: ClassDecl) -> ClassDecl
fn fold_class_expr(&mut self, n: ClassExpr) -> ClassExpr
fn fold_class_member(&mut self, n: ClassMember) -> ClassMember
fn fold_class_members(&mut self, n: Vec<ClassMember>) -> Vec<ClassMember>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_class_method(&mut self, n: ClassMethod) -> ClassMethod
fn fold_class_prop(&mut self, n: ClassProp) -> ClassProp
fn fold_computed_prop_name(&mut self, n: ComputedPropName) -> ComputedPropName
fn fold_cond_expr(&mut self, n: CondExpr) -> CondExpr
fn fold_constructor(&mut self, n: Constructor) -> Constructor
fn fold_continue_stmt(&mut self, n: ContinueStmt) -> ContinueStmt
fn fold_debugger_stmt(&mut self, n: DebuggerStmt) -> DebuggerStmt
fn fold_decl(&mut self, n: Decl) -> Decl
fn fold_decorator(&mut self, n: Decorator) -> Decorator
fn fold_decorators(&mut self, n: Vec<Decorator>) -> Vec<Decorator>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_default_decl(&mut self, n: DefaultDecl) -> DefaultDecl
fn fold_do_while_stmt(&mut self, n: DoWhileStmt) -> DoWhileStmt
fn fold_empty_stmt(&mut self, n: EmptyStmt) -> EmptyStmt
fn fold_export_all(&mut self, n: ExportAll) -> ExportAll
fn fold_export_decl(&mut self, n: ExportDecl) -> ExportDecl
fn fold_export_default_decl(&mut self, n: ExportDefaultDecl) -> ExportDefaultDecl
fn fold_export_default_expr(&mut self, n: ExportDefaultExpr) -> ExportDefaultExpr
fn fold_export_default_specifier(
&mut self,
n: ExportDefaultSpecifier
) -> ExportDefaultSpecifier
fn fold_export_named_specifier(
&mut self,
n: ExportNamedSpecifier
) -> ExportNamedSpecifier
fn fold_export_namespace_specifier(
&mut self,
n: ExportNamespaceSpecifier
) -> ExportNamespaceSpecifier
fn fold_export_specifier(&mut self, n: ExportSpecifier) -> ExportSpecifier
fn fold_export_specifiers(
&mut self,
n: Vec<ExportSpecifier>
) -> Vec<ExportSpecifier>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_expr(&mut self, n: Expr) -> Expr
fn fold_expr_or_spread(&mut self, n: ExprOrSpread) -> ExprOrSpread
fn fold_expr_or_spreads(&mut self, n: Vec<ExprOrSpread>) -> Vec<ExprOrSpread>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_expr_stmt(&mut self, n: ExprStmt) -> ExprStmt
fn fold_exprs(&mut self, n: Vec<Box<Expr>>) -> Vec<Box<Expr>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_fn_decl(&mut self, n: FnDecl) -> FnDecl
fn fold_fn_expr(&mut self, n: FnExpr) -> FnExpr
fn fold_for_in_stmt(&mut self, n: ForInStmt) -> ForInStmt
fn fold_for_of_stmt(&mut self, n: ForOfStmt) -> ForOfStmt
fn fold_for_stmt(&mut self, n: ForStmt) -> ForStmt
fn fold_function(&mut self, n: Function) -> Function
fn fold_getter_prop(&mut self, n: GetterProp) -> GetterProp
fn fold_ident(&mut self, n: Ident) -> Ident
fn fold_if_stmt(&mut self, n: IfStmt) -> IfStmt
fn fold_import(&mut self, n: Import) -> Import
fn fold_import_decl(&mut self, n: ImportDecl) -> ImportDecl
fn fold_import_default_specifier(
&mut self,
n: ImportDefaultSpecifier
) -> ImportDefaultSpecifier
fn fold_import_named_specifier(
&mut self,
n: ImportNamedSpecifier
) -> ImportNamedSpecifier
fn fold_import_specifier(&mut self, n: ImportSpecifier) -> ImportSpecifier
fn fold_import_specifiers(
&mut self,
n: Vec<ImportSpecifier>
) -> Vec<ImportSpecifier>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_import_star_as_specifier(
&mut self,
n: ImportStarAsSpecifier
) -> ImportStarAsSpecifier
fn fold_invalid(&mut self, n: Invalid) -> Invalid
fn fold_js_word(&mut self, n: JsWord) -> JsWord
fn fold_jsx_attr(&mut self, n: JSXAttr) -> JSXAttr
fn fold_jsx_attr_name(&mut self, n: JSXAttrName) -> JSXAttrName
fn fold_jsx_attr_or_spread(&mut self, n: JSXAttrOrSpread) -> JSXAttrOrSpread
fn fold_jsx_attr_or_spreads(
&mut self,
n: Vec<JSXAttrOrSpread>
) -> Vec<JSXAttrOrSpread>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_jsx_attr_value(&mut self, n: JSXAttrValue) -> JSXAttrValue
fn fold_jsx_closing_element(&mut self, n: JSXClosingElement) -> JSXClosingElement
fn fold_jsx_closing_fragment(
&mut self,
n: JSXClosingFragment
) -> JSXClosingFragment
fn fold_jsx_element(&mut self, n: JSXElement) -> JSXElement
fn fold_jsx_element_child(&mut self, n: JSXElementChild) -> JSXElementChild
fn fold_jsx_element_children(
&mut self,
n: Vec<JSXElementChild>
) -> Vec<JSXElementChild>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_jsx_element_name(&mut self, n: JSXElementName) -> JSXElementName
fn fold_jsx_empty_expr(&mut self, n: JSXEmptyExpr) -> JSXEmptyExpr
fn fold_jsx_expr(&mut self, n: JSXExpr) -> JSXExpr
fn fold_jsx_expr_container(&mut self, n: JSXExprContainer) -> JSXExprContainer
fn fold_jsx_fragment(&mut self, n: JSXFragment) -> JSXFragment
fn fold_jsx_member_expr(&mut self, n: JSXMemberExpr) -> JSXMemberExpr
fn fold_jsx_namespaced_name(&mut self, n: JSXNamespacedName) -> JSXNamespacedName
fn fold_jsx_object(&mut self, n: JSXObject) -> JSXObject
fn fold_jsx_opening_element(&mut self, n: JSXOpeningElement) -> JSXOpeningElement
fn fold_jsx_opening_fragment(
&mut self,
n: JSXOpeningFragment
) -> JSXOpeningFragment
fn fold_jsx_spread_child(&mut self, n: JSXSpreadChild) -> JSXSpreadChild
fn fold_jsx_text(&mut self, n: JSXText) -> JSXText
fn fold_key_value_pat_prop(&mut self, n: KeyValuePatProp) -> KeyValuePatProp
fn fold_key_value_prop(&mut self, n: KeyValueProp) -> KeyValueProp
fn fold_labeled_stmt(&mut self, n: LabeledStmt) -> LabeledStmt
fn fold_lit(&mut self, n: Lit) -> Lit
fn fold_member_expr(&mut self, n: MemberExpr) -> MemberExpr
fn fold_member_prop(&mut self, n: MemberProp) -> MemberProp
fn fold_meta_prop_expr(&mut self, n: MetaPropExpr) -> MetaPropExpr
fn fold_meta_prop_kind(&mut self, n: MetaPropKind) -> MetaPropKind
fn fold_method_kind(&mut self, n: MethodKind) -> MethodKind
fn fold_method_prop(&mut self, n: MethodProp) -> MethodProp
fn fold_module(&mut self, n: Module) -> Module
fn fold_module_decl(&mut self, n: ModuleDecl) -> ModuleDecl
fn fold_module_export_name(&mut self, n: ModuleExportName) -> ModuleExportName
fn fold_module_item(&mut self, n: ModuleItem) -> ModuleItem
fn fold_module_items(&mut self, n: Vec<ModuleItem>) -> Vec<ModuleItem>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_named_export(&mut self, n: NamedExport) -> NamedExport
fn fold_new_expr(&mut self, n: NewExpr) -> NewExpr
fn fold_null(&mut self, n: Null) -> Null
fn fold_number(&mut self, n: Number) -> Number
fn fold_object_lit(&mut self, n: ObjectLit) -> ObjectLit
fn fold_object_pat(&mut self, n: ObjectPat) -> ObjectPat
fn fold_object_pat_prop(&mut self, n: ObjectPatProp) -> ObjectPatProp
fn fold_object_pat_props(&mut self, n: Vec<ObjectPatProp>) -> Vec<ObjectPatProp>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_opt_accessibility(
&mut self,
n: Option<Accessibility>
) -> Option<Accessibility>
fn fold_opt_atom(&mut self, n: Option<Atom>) -> Option<Atom>
fn fold_opt_block_stmt(&mut self, n: Option<BlockStmt>) -> Option<BlockStmt>
fn fold_opt_call(&mut self, n: OptCall) -> OptCall
fn fold_opt_catch_clause(
&mut self,
n: Option<CatchClause>
) -> Option<CatchClause>
fn fold_opt_chain_base(&mut self, n: OptChainBase) -> OptChainBase
fn fold_opt_chain_expr(&mut self, n: OptChainExpr) -> OptChainExpr
fn fold_opt_expr(&mut self, n: Option<Box<Expr>>) -> Option<Box<Expr>>
fn fold_opt_expr_or_spread(
&mut self,
n: Option<ExprOrSpread>
) -> Option<ExprOrSpread>
fn fold_opt_expr_or_spreads(
&mut self,
n: Option<Vec<ExprOrSpread>>
) -> Option<Vec<ExprOrSpread>>
fn fold_opt_ident(&mut self, n: Option<Ident>) -> Option<Ident>
fn fold_opt_jsx_attr_value(
&mut self,
n: Option<JSXAttrValue>
) -> Option<JSXAttrValue>
fn fold_opt_jsx_closing_element(
&mut self,
n: Option<JSXClosingElement>
) -> Option<JSXClosingElement>
fn fold_opt_module_export_name(
&mut self,
n: Option<ModuleExportName>
) -> Option<ModuleExportName>
fn fold_opt_module_items(
&mut self,
n: Option<Vec<ModuleItem>>
) -> Option<Vec<ModuleItem>>
fn fold_opt_object_lit(
&mut self,
n: Option<Box<ObjectLit>>
) -> Option<Box<ObjectLit>>
fn fold_opt_pat(&mut self, n: Option<Pat>) -> Option<Pat>
fn fold_opt_span(&mut self, n: Option<Span>) -> Option<Span>
fn fold_opt_stmt(&mut self, n: Option<Box<Stmt>>) -> Option<Box<Stmt>>
fn fold_opt_str(&mut self, n: Option<Box<Str>>) -> Option<Box<Str>>
fn fold_opt_true_plus_minus(
&mut self,
n: Option<TruePlusMinus>
) -> Option<TruePlusMinus>
fn fold_opt_ts_entity_name(
&mut self,
n: Option<TsEntityName>
) -> Option<TsEntityName>
fn fold_opt_ts_namespace_body(
&mut self,
n: Option<TsNamespaceBody>
) -> Option<TsNamespaceBody>
fn fold_opt_ts_type(&mut self, n: Option<Box<TsType>>) -> Option<Box<TsType>>
fn fold_opt_ts_type_ann(
&mut self,
n: Option<Box<TsTypeAnn>>
) -> Option<Box<TsTypeAnn>>
fn fold_opt_ts_type_param_decl(
&mut self,
n: Option<Box<TsTypeParamDecl>>
) -> Option<Box<TsTypeParamDecl>>
fn fold_opt_ts_type_param_instantiation(
&mut self,
n: Option<Box<TsTypeParamInstantiation>>
) -> Option<Box<TsTypeParamInstantiation>>
fn fold_opt_var_decl_or_expr(
&mut self,
n: Option<VarDeclOrExpr>
) -> Option<VarDeclOrExpr>
fn fold_opt_vec_expr_or_spreads(
&mut self,
n: Vec<Option<ExprOrSpread>>
) -> Vec<Option<ExprOrSpread>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_opt_vec_pats(&mut self, n: Vec<Option<Pat>>) -> Vec<Option<Pat>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_param(&mut self, n: Param) -> Param
fn fold_param_or_ts_param_prop(
&mut self,
n: ParamOrTsParamProp
) -> ParamOrTsParamProp
fn fold_param_or_ts_param_props(
&mut self,
n: Vec<ParamOrTsParamProp>
) -> Vec<ParamOrTsParamProp>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_params(&mut self, n: Vec<Param>) -> Vec<Param>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_paren_expr(&mut self, n: ParenExpr) -> ParenExpr
fn fold_pat(&mut self, n: Pat) -> Pat
fn fold_pat_or_expr(&mut self, n: PatOrExpr) -> PatOrExpr
fn fold_pats(&mut self, n: Vec<Pat>) -> Vec<Pat>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_private_method(&mut self, n: PrivateMethod) -> PrivateMethod
fn fold_private_name(&mut self, n: PrivateName) -> PrivateName
fn fold_private_prop(&mut self, n: PrivateProp) -> PrivateProp
fn fold_program(&mut self, n: Program) -> Program
fn fold_prop(&mut self, n: Prop) -> Prop
fn fold_prop_name(&mut self, n: PropName) -> PropName
fn fold_prop_or_spread(&mut self, n: PropOrSpread) -> PropOrSpread
fn fold_prop_or_spreads(&mut self, n: Vec<PropOrSpread>) -> Vec<PropOrSpread>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_regex(&mut self, n: Regex) -> Regex
fn fold_reserved_unused(&mut self, n: ReservedUnused) -> ReservedUnused
fn fold_rest_pat(&mut self, n: RestPat) -> RestPat
fn fold_return_stmt(&mut self, n: ReturnStmt) -> ReturnStmt
fn fold_script(&mut self, n: Script) -> Script
fn fold_seq_expr(&mut self, n: SeqExpr) -> SeqExpr
fn fold_setter_prop(&mut self, n: SetterProp) -> SetterProp
fn fold_span(&mut self, n: Span) -> Span
fn fold_spread_element(&mut self, n: SpreadElement) -> SpreadElement
fn fold_static_block(&mut self, n: StaticBlock) -> StaticBlock
fn fold_stmt(&mut self, n: Stmt) -> Stmt
fn fold_stmts(&mut self, n: Vec<Stmt>) -> Vec<Stmt>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_str(&mut self, n: Str) -> Str
fn fold_super(&mut self, n: Super) -> Super
fn fold_super_prop(&mut self, n: SuperProp) -> SuperProp
fn fold_super_prop_expr(&mut self, n: SuperPropExpr) -> SuperPropExpr
fn fold_switch_case(&mut self, n: SwitchCase) -> SwitchCase
fn fold_switch_cases(&mut self, n: Vec<SwitchCase>) -> Vec<SwitchCase>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_switch_stmt(&mut self, n: SwitchStmt) -> SwitchStmt
fn fold_tagged_tpl(&mut self, n: TaggedTpl) -> TaggedTpl
fn fold_this_expr(&mut self, n: ThisExpr) -> ThisExpr
fn fold_throw_stmt(&mut self, n: ThrowStmt) -> ThrowStmt
fn fold_tpl(&mut self, n: Tpl) -> Tpl
fn fold_tpl_element(&mut self, n: TplElement) -> TplElement
fn fold_tpl_elements(&mut self, n: Vec<TplElement>) -> Vec<TplElement>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_true_plus_minus(&mut self, n: TruePlusMinus) -> TruePlusMinus
fn fold_try_stmt(&mut self, n: TryStmt) -> TryStmt
fn fold_ts_array_type(&mut self, n: TsArrayType) -> TsArrayType
fn fold_ts_as_expr(&mut self, n: TsAsExpr) -> TsAsExpr
fn fold_ts_call_signature_decl(
&mut self,
n: TsCallSignatureDecl
) -> TsCallSignatureDecl
fn fold_ts_conditional_type(&mut self, n: TsConditionalType) -> TsConditionalType
fn fold_ts_const_assertion(&mut self, n: TsConstAssertion) -> TsConstAssertion
fn fold_ts_construct_signature_decl(
&mut self,
n: TsConstructSignatureDecl
) -> TsConstructSignatureDecl
fn fold_ts_constructor_type(&mut self, n: TsConstructorType) -> TsConstructorType
fn fold_ts_entity_name(&mut self, n: TsEntityName) -> TsEntityName
fn fold_ts_enum_decl(&mut self, n: TsEnumDecl) -> TsEnumDecl
fn fold_ts_enum_member(&mut self, n: TsEnumMember) -> TsEnumMember
fn fold_ts_enum_member_id(&mut self, n: TsEnumMemberId) -> TsEnumMemberId
fn fold_ts_enum_members(&mut self, n: Vec<TsEnumMember>) -> Vec<TsEnumMember>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_ts_export_assignment(
&mut self,
n: TsExportAssignment
) -> TsExportAssignment
fn fold_ts_expr_with_type_args(
&mut self,
n: TsExprWithTypeArgs
) -> TsExprWithTypeArgs
fn fold_ts_expr_with_type_args_vec(
&mut self,
n: Vec<TsExprWithTypeArgs>
) -> Vec<TsExprWithTypeArgs>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_ts_external_module_ref(
&mut self,
n: TsExternalModuleRef
) -> TsExternalModuleRef
fn fold_ts_fn_or_constructor_type(
&mut self,
n: TsFnOrConstructorType
) -> TsFnOrConstructorType
fn fold_ts_fn_param(&mut self, n: TsFnParam) -> TsFnParam
fn fold_ts_fn_params(&mut self, n: Vec<TsFnParam>) -> Vec<TsFnParam>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_ts_fn_type(&mut self, n: TsFnType) -> TsFnType
fn fold_ts_getter_signature(&mut self, n: TsGetterSignature) -> TsGetterSignature
fn fold_ts_import_equals_decl(
&mut self,
n: TsImportEqualsDecl
) -> TsImportEqualsDecl
fn fold_ts_import_type(&mut self, n: TsImportType) -> TsImportType
fn fold_ts_index_signature(&mut self, n: TsIndexSignature) -> TsIndexSignature
fn fold_ts_indexed_access_type(
&mut self,
n: TsIndexedAccessType
) -> TsIndexedAccessType
fn fold_ts_infer_type(&mut self, n: TsInferType) -> TsInferType
fn fold_ts_instantiation(&mut self, n: TsInstantiation) -> TsInstantiation
fn fold_ts_interface_body(&mut self, n: TsInterfaceBody) -> TsInterfaceBody
fn fold_ts_interface_decl(&mut self, n: TsInterfaceDecl) -> TsInterfaceDecl
fn fold_ts_intersection_type(
&mut self,
n: TsIntersectionType
) -> TsIntersectionType
fn fold_ts_keyword_type(&mut self, n: TsKeywordType) -> TsKeywordType
fn fold_ts_keyword_type_kind(
&mut self,
n: TsKeywordTypeKind
) -> TsKeywordTypeKind
fn fold_ts_lit(&mut self, n: TsLit) -> TsLit
fn fold_ts_lit_type(&mut self, n: TsLitType) -> TsLitType
fn fold_ts_mapped_type(&mut self, n: TsMappedType) -> TsMappedType
fn fold_ts_method_signature(&mut self, n: TsMethodSignature) -> TsMethodSignature
fn fold_ts_module_block(&mut self, n: TsModuleBlock) -> TsModuleBlock
fn fold_ts_module_decl(&mut self, n: TsModuleDecl) -> TsModuleDecl
fn fold_ts_module_name(&mut self, n: TsModuleName) -> TsModuleName
fn fold_ts_module_ref(&mut self, n: TsModuleRef) -> TsModuleRef
fn fold_ts_namespace_body(&mut self, n: TsNamespaceBody) -> TsNamespaceBody
fn fold_ts_namespace_decl(&mut self, n: TsNamespaceDecl) -> TsNamespaceDecl
fn fold_ts_namespace_export_decl(
&mut self,
n: TsNamespaceExportDecl
) -> TsNamespaceExportDecl
fn fold_ts_non_null_expr(&mut self, n: TsNonNullExpr) -> TsNonNullExpr
fn fold_ts_optional_type(&mut self, n: TsOptionalType) -> TsOptionalType
fn fold_ts_param_prop(&mut self, n: TsParamProp) -> TsParamProp
fn fold_ts_param_prop_param(&mut self, n: TsParamPropParam) -> TsParamPropParam
fn fold_ts_parenthesized_type(
&mut self,
n: TsParenthesizedType
) -> TsParenthesizedType
fn fold_ts_property_signature(
&mut self,
n: TsPropertySignature
) -> TsPropertySignature
fn fold_ts_qualified_name(&mut self, n: TsQualifiedName) -> TsQualifiedName
fn fold_ts_rest_type(&mut self, n: TsRestType) -> TsRestType
fn fold_ts_satisfies_expr(&mut self, n: TsSatisfiesExpr) -> TsSatisfiesExpr
fn fold_ts_setter_signature(&mut self, n: TsSetterSignature) -> TsSetterSignature
fn fold_ts_this_type(&mut self, n: TsThisType) -> TsThisType
fn fold_ts_this_type_or_ident(
&mut self,
n: TsThisTypeOrIdent
) -> TsThisTypeOrIdent
fn fold_ts_tpl_lit_type(&mut self, n: TsTplLitType) -> TsTplLitType
fn fold_ts_tuple_element(&mut self, n: TsTupleElement) -> TsTupleElement
fn fold_ts_tuple_elements(
&mut self,
n: Vec<TsTupleElement>
) -> Vec<TsTupleElement>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_ts_tuple_type(&mut self, n: TsTupleType) -> TsTupleType
fn fold_ts_type(&mut self, n: TsType) -> TsType
fn fold_ts_type_alias_decl(&mut self, n: TsTypeAliasDecl) -> TsTypeAliasDecl
fn fold_ts_type_ann(&mut self, n: TsTypeAnn) -> TsTypeAnn
fn fold_ts_type_assertion(&mut self, n: TsTypeAssertion) -> TsTypeAssertion
fn fold_ts_type_element(&mut self, n: TsTypeElement) -> TsTypeElement
fn fold_ts_type_elements(&mut self, n: Vec<TsTypeElement>) -> Vec<TsTypeElement>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_ts_type_lit(&mut self, n: TsTypeLit) -> TsTypeLit
fn fold_ts_type_operator(&mut self, n: TsTypeOperator) -> TsTypeOperator
fn fold_ts_type_operator_op(&mut self, n: TsTypeOperatorOp) -> TsTypeOperatorOp
fn fold_ts_type_param(&mut self, n: TsTypeParam) -> TsTypeParam
fn fold_ts_type_param_decl(&mut self, n: TsTypeParamDecl) -> TsTypeParamDecl
fn fold_ts_type_param_instantiation(
&mut self,
n: TsTypeParamInstantiation
) -> TsTypeParamInstantiation
fn fold_ts_type_params(&mut self, n: Vec<TsTypeParam>) -> Vec<TsTypeParam>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_ts_type_predicate(&mut self, n: TsTypePredicate) -> TsTypePredicate
fn fold_ts_type_query(&mut self, n: TsTypeQuery) -> TsTypeQuery
fn fold_ts_type_query_expr(&mut self, n: TsTypeQueryExpr) -> TsTypeQueryExpr
fn fold_ts_type_ref(&mut self, n: TsTypeRef) -> TsTypeRef
fn fold_ts_types(&mut self, n: Vec<Box<TsType>>) -> Vec<Box<TsType>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_ts_union_or_intersection_type(
&mut self,
n: TsUnionOrIntersectionType
) -> TsUnionOrIntersectionType
fn fold_ts_union_type(&mut self, n: TsUnionType) -> TsUnionType
fn fold_unary_expr(&mut self, n: UnaryExpr) -> UnaryExpr
fn fold_unary_op(&mut self, n: UnaryOp) -> UnaryOp
fn fold_update_expr(&mut self, n: UpdateExpr) -> UpdateExpr
fn fold_update_op(&mut self, n: UpdateOp) -> UpdateOp
fn fold_var_decl(&mut self, n: VarDecl) -> VarDecl
fn fold_var_decl_kind(&mut self, n: VarDeclKind) -> VarDeclKind
fn fold_var_decl_or_expr(&mut self, n: VarDeclOrExpr) -> VarDeclOrExpr
fn fold_var_decl_or_pat(&mut self, n: VarDeclOrPat) -> VarDeclOrPat
fn fold_var_declarator(&mut self, n: VarDeclarator) -> VarDeclarator
fn fold_var_declarators(&mut self, n: Vec<VarDeclarator>) -> Vec<VarDeclarator>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_while_stmt(&mut self, n: WhileStmt) -> WhileStmt
fn fold_with_stmt(&mut self, n: WithStmt) -> WithStmt
fn fold_yield_expr(&mut self, n: YieldExpr) -> YieldExpr
sourceimpl<V> Fold for Optional<V>where
V: Fold,
impl<V> Fold for Optional<V>where
V: Fold,
fn fold_accessibility(&mut self, n: Accessibility) -> Accessibility
fn fold_array_lit(&mut self, n: ArrayLit) -> ArrayLit
fn fold_array_pat(&mut self, n: ArrayPat) -> ArrayPat
fn fold_arrow_expr(&mut self, n: ArrowExpr) -> ArrowExpr
fn fold_assign_expr(&mut self, n: AssignExpr) -> AssignExpr
fn fold_assign_op(&mut self, n: AssignOp) -> AssignOp
fn fold_assign_pat(&mut self, n: AssignPat) -> AssignPat
fn fold_assign_pat_prop(&mut self, n: AssignPatProp) -> AssignPatProp
fn fold_assign_prop(&mut self, n: AssignProp) -> AssignProp
fn fold_atom(&mut self, n: Atom) -> Atom
fn fold_await_expr(&mut self, n: AwaitExpr) -> AwaitExpr
fn fold_big_int(&mut self, n: BigInt) -> BigInt
fn fold_big_int_value(&mut self, n: BigIntValue) -> BigIntValue
fn fold_bin_expr(&mut self, n: BinExpr) -> BinExpr
fn fold_binary_op(&mut self, n: BinaryOp) -> BinaryOp
fn fold_binding_ident(&mut self, n: BindingIdent) -> BindingIdent
fn fold_block_stmt(&mut self, n: BlockStmt) -> BlockStmt
fn fold_block_stmt_or_expr(&mut self, n: BlockStmtOrExpr) -> BlockStmtOrExpr
fn fold_bool(&mut self, n: Bool) -> Bool
fn fold_break_stmt(&mut self, n: BreakStmt) -> BreakStmt
fn fold_call_expr(&mut self, n: CallExpr) -> CallExpr
fn fold_callee(&mut self, n: Callee) -> Callee
fn fold_catch_clause(&mut self, n: CatchClause) -> CatchClause
fn fold_class(&mut self, n: Class) -> Class
fn fold_class_decl(&mut self, n: ClassDecl) -> ClassDecl
fn fold_class_expr(&mut self, n: ClassExpr) -> ClassExpr
fn fold_class_member(&mut self, n: ClassMember) -> ClassMember
fn fold_class_members(&mut self, n: Vec<ClassMember>) -> Vec<ClassMember>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_class_method(&mut self, n: ClassMethod) -> ClassMethod
fn fold_class_prop(&mut self, n: ClassProp) -> ClassProp
fn fold_computed_prop_name(&mut self, n: ComputedPropName) -> ComputedPropName
fn fold_cond_expr(&mut self, n: CondExpr) -> CondExpr
fn fold_constructor(&mut self, n: Constructor) -> Constructor
fn fold_continue_stmt(&mut self, n: ContinueStmt) -> ContinueStmt
fn fold_debugger_stmt(&mut self, n: DebuggerStmt) -> DebuggerStmt
fn fold_decl(&mut self, n: Decl) -> Decl
fn fold_decorator(&mut self, n: Decorator) -> Decorator
fn fold_decorators(&mut self, n: Vec<Decorator>) -> Vec<Decorator>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_default_decl(&mut self, n: DefaultDecl) -> DefaultDecl
fn fold_do_while_stmt(&mut self, n: DoWhileStmt) -> DoWhileStmt
fn fold_empty_stmt(&mut self, n: EmptyStmt) -> EmptyStmt
fn fold_export_all(&mut self, n: ExportAll) -> ExportAll
fn fold_export_decl(&mut self, n: ExportDecl) -> ExportDecl
fn fold_export_default_decl(&mut self, n: ExportDefaultDecl) -> ExportDefaultDecl
fn fold_export_default_expr(&mut self, n: ExportDefaultExpr) -> ExportDefaultExpr
fn fold_export_default_specifier(
&mut self,
n: ExportDefaultSpecifier
) -> ExportDefaultSpecifier
fn fold_export_named_specifier(
&mut self,
n: ExportNamedSpecifier
) -> ExportNamedSpecifier
fn fold_export_namespace_specifier(
&mut self,
n: ExportNamespaceSpecifier
) -> ExportNamespaceSpecifier
fn fold_export_specifier(&mut self, n: ExportSpecifier) -> ExportSpecifier
fn fold_export_specifiers(
&mut self,
n: Vec<ExportSpecifier>
) -> Vec<ExportSpecifier>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_expr(&mut self, n: Expr) -> Expr
fn fold_expr_or_spread(&mut self, n: ExprOrSpread) -> ExprOrSpread
fn fold_expr_or_spreads(&mut self, n: Vec<ExprOrSpread>) -> Vec<ExprOrSpread>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_expr_stmt(&mut self, n: ExprStmt) -> ExprStmt
fn fold_exprs(&mut self, n: Vec<Box<Expr>>) -> Vec<Box<Expr>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_fn_decl(&mut self, n: FnDecl) -> FnDecl
fn fold_fn_expr(&mut self, n: FnExpr) -> FnExpr
fn fold_for_in_stmt(&mut self, n: ForInStmt) -> ForInStmt
fn fold_for_of_stmt(&mut self, n: ForOfStmt) -> ForOfStmt
fn fold_for_stmt(&mut self, n: ForStmt) -> ForStmt
fn fold_function(&mut self, n: Function) -> Function
fn fold_getter_prop(&mut self, n: GetterProp) -> GetterProp
fn fold_ident(&mut self, n: Ident) -> Ident
fn fold_if_stmt(&mut self, n: IfStmt) -> IfStmt
fn fold_import(&mut self, n: Import) -> Import
fn fold_import_decl(&mut self, n: ImportDecl) -> ImportDecl
fn fold_import_default_specifier(
&mut self,
n: ImportDefaultSpecifier
) -> ImportDefaultSpecifier
fn fold_import_named_specifier(
&mut self,
n: ImportNamedSpecifier
) -> ImportNamedSpecifier
fn fold_import_specifier(&mut self, n: ImportSpecifier) -> ImportSpecifier
fn fold_import_specifiers(
&mut self,
n: Vec<ImportSpecifier>
) -> Vec<ImportSpecifier>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_import_star_as_specifier(
&mut self,
n: ImportStarAsSpecifier
) -> ImportStarAsSpecifier
fn fold_invalid(&mut self, n: Invalid) -> Invalid
fn fold_js_word(&mut self, n: JsWord) -> JsWord
fn fold_jsx_attr(&mut self, n: JSXAttr) -> JSXAttr
fn fold_jsx_attr_name(&mut self, n: JSXAttrName) -> JSXAttrName
fn fold_jsx_attr_or_spread(&mut self, n: JSXAttrOrSpread) -> JSXAttrOrSpread
fn fold_jsx_attr_or_spreads(
&mut self,
n: Vec<JSXAttrOrSpread>
) -> Vec<JSXAttrOrSpread>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_jsx_attr_value(&mut self, n: JSXAttrValue) -> JSXAttrValue
fn fold_jsx_closing_element(&mut self, n: JSXClosingElement) -> JSXClosingElement
fn fold_jsx_closing_fragment(
&mut self,
n: JSXClosingFragment
) -> JSXClosingFragment
fn fold_jsx_element(&mut self, n: JSXElement) -> JSXElement
fn fold_jsx_element_child(&mut self, n: JSXElementChild) -> JSXElementChild
fn fold_jsx_element_children(
&mut self,
n: Vec<JSXElementChild>
) -> Vec<JSXElementChild>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_jsx_element_name(&mut self, n: JSXElementName) -> JSXElementName
fn fold_jsx_empty_expr(&mut self, n: JSXEmptyExpr) -> JSXEmptyExpr
fn fold_jsx_expr(&mut self, n: JSXExpr) -> JSXExpr
fn fold_jsx_expr_container(&mut self, n: JSXExprContainer) -> JSXExprContainer
fn fold_jsx_fragment(&mut self, n: JSXFragment) -> JSXFragment
fn fold_jsx_member_expr(&mut self, n: JSXMemberExpr) -> JSXMemberExpr
fn fold_jsx_namespaced_name(&mut self, n: JSXNamespacedName) -> JSXNamespacedName
fn fold_jsx_object(&mut self, n: JSXObject) -> JSXObject
fn fold_jsx_opening_element(&mut self, n: JSXOpeningElement) -> JSXOpeningElement
fn fold_jsx_opening_fragment(
&mut self,
n: JSXOpeningFragment
) -> JSXOpeningFragment
fn fold_jsx_spread_child(&mut self, n: JSXSpreadChild) -> JSXSpreadChild
fn fold_jsx_text(&mut self, n: JSXText) -> JSXText
fn fold_key_value_pat_prop(&mut self, n: KeyValuePatProp) -> KeyValuePatProp
fn fold_key_value_prop(&mut self, n: KeyValueProp) -> KeyValueProp
fn fold_labeled_stmt(&mut self, n: LabeledStmt) -> LabeledStmt
fn fold_lit(&mut self, n: Lit) -> Lit
fn fold_member_expr(&mut self, n: MemberExpr) -> MemberExpr
fn fold_member_prop(&mut self, n: MemberProp) -> MemberProp
fn fold_meta_prop_expr(&mut self, n: MetaPropExpr) -> MetaPropExpr
fn fold_meta_prop_kind(&mut self, n: MetaPropKind) -> MetaPropKind
fn fold_method_kind(&mut self, n: MethodKind) -> MethodKind
fn fold_method_prop(&mut self, n: MethodProp) -> MethodProp
fn fold_module(&mut self, n: Module) -> Module
fn fold_module_decl(&mut self, n: ModuleDecl) -> ModuleDecl
fn fold_module_export_name(&mut self, n: ModuleExportName) -> ModuleExportName
fn fold_module_item(&mut self, n: ModuleItem) -> ModuleItem
fn fold_module_items(&mut self, n: Vec<ModuleItem>) -> Vec<ModuleItem>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_named_export(&mut self, n: NamedExport) -> NamedExport
fn fold_new_expr(&mut self, n: NewExpr) -> NewExpr
fn fold_null(&mut self, n: Null) -> Null
fn fold_number(&mut self, n: Number) -> Number
fn fold_object_lit(&mut self, n: ObjectLit) -> ObjectLit
fn fold_object_pat(&mut self, n: ObjectPat) -> ObjectPat
fn fold_object_pat_prop(&mut self, n: ObjectPatProp) -> ObjectPatProp
fn fold_object_pat_props(&mut self, n: Vec<ObjectPatProp>) -> Vec<ObjectPatProp>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_opt_accessibility(
&mut self,
n: Option<Accessibility>
) -> Option<Accessibility>
fn fold_opt_atom(&mut self, n: Option<Atom>) -> Option<Atom>
fn fold_opt_block_stmt(&mut self, n: Option<BlockStmt>) -> Option<BlockStmt>
fn fold_opt_call(&mut self, n: OptCall) -> OptCall
fn fold_opt_catch_clause(
&mut self,
n: Option<CatchClause>
) -> Option<CatchClause>
fn fold_opt_chain_base(&mut self, n: OptChainBase) -> OptChainBase
fn fold_opt_chain_expr(&mut self, n: OptChainExpr) -> OptChainExpr
fn fold_opt_expr(&mut self, n: Option<Box<Expr>>) -> Option<Box<Expr>>
fn fold_opt_expr_or_spread(
&mut self,
n: Option<ExprOrSpread>
) -> Option<ExprOrSpread>
fn fold_opt_expr_or_spreads(
&mut self,
n: Option<Vec<ExprOrSpread>>
) -> Option<Vec<ExprOrSpread>>
fn fold_opt_ident(&mut self, n: Option<Ident>) -> Option<Ident>
fn fold_opt_jsx_attr_value(
&mut self,
n: Option<JSXAttrValue>
) -> Option<JSXAttrValue>
fn fold_opt_jsx_closing_element(
&mut self,
n: Option<JSXClosingElement>
) -> Option<JSXClosingElement>
fn fold_opt_module_export_name(
&mut self,
n: Option<ModuleExportName>
) -> Option<ModuleExportName>
fn fold_opt_module_items(
&mut self,
n: Option<Vec<ModuleItem>>
) -> Option<Vec<ModuleItem>>
fn fold_opt_object_lit(
&mut self,
n: Option<Box<ObjectLit>>
) -> Option<Box<ObjectLit>>
fn fold_opt_pat(&mut self, n: Option<Pat>) -> Option<Pat>
fn fold_opt_span(&mut self, n: Option<Span>) -> Option<Span>
fn fold_opt_stmt(&mut self, n: Option<Box<Stmt>>) -> Option<Box<Stmt>>
fn fold_opt_str(&mut self, n: Option<Box<Str>>) -> Option<Box<Str>>
fn fold_opt_true_plus_minus(
&mut self,
n: Option<TruePlusMinus>
) -> Option<TruePlusMinus>
fn fold_opt_ts_entity_name(
&mut self,
n: Option<TsEntityName>
) -> Option<TsEntityName>
fn fold_opt_ts_namespace_body(
&mut self,
n: Option<TsNamespaceBody>
) -> Option<TsNamespaceBody>
fn fold_opt_ts_type(&mut self, n: Option<Box<TsType>>) -> Option<Box<TsType>>
fn fold_opt_ts_type_ann(
&mut self,
n: Option<Box<TsTypeAnn>>
) -> Option<Box<TsTypeAnn>>
fn fold_opt_ts_type_param_decl(
&mut self,
n: Option<Box<TsTypeParamDecl>>
) -> Option<Box<TsTypeParamDecl>>
fn fold_opt_ts_type_param_instantiation(
&mut self,
n: Option<Box<TsTypeParamInstantiation>>
) -> Option<Box<TsTypeParamInstantiation>>
fn fold_opt_var_decl_or_expr(
&mut self,
n: Option<VarDeclOrExpr>
) -> Option<VarDeclOrExpr>
fn fold_opt_vec_expr_or_spreads(
&mut self,
n: Vec<Option<ExprOrSpread>>
) -> Vec<Option<ExprOrSpread>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_opt_vec_pats(&mut self, n: Vec<Option<Pat>>) -> Vec<Option<Pat>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_param(&mut self, n: Param) -> Param
fn fold_param_or_ts_param_prop(
&mut self,
n: ParamOrTsParamProp
) -> ParamOrTsParamProp
fn fold_param_or_ts_param_props(
&mut self,
n: Vec<ParamOrTsParamProp>
) -> Vec<ParamOrTsParamProp>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_params(&mut self, n: Vec<Param>) -> Vec<Param>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_paren_expr(&mut self, n: ParenExpr) -> ParenExpr
fn fold_pat(&mut self, n: Pat) -> Pat
fn fold_pat_or_expr(&mut self, n: PatOrExpr) -> PatOrExpr
fn fold_pats(&mut self, n: Vec<Pat>) -> Vec<Pat>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_private_method(&mut self, n: PrivateMethod) -> PrivateMethod
fn fold_private_name(&mut self, n: PrivateName) -> PrivateName
fn fold_private_prop(&mut self, n: PrivateProp) -> PrivateProp
fn fold_program(&mut self, n: Program) -> Program
fn fold_prop(&mut self, n: Prop) -> Prop
fn fold_prop_name(&mut self, n: PropName) -> PropName
fn fold_prop_or_spread(&mut self, n: PropOrSpread) -> PropOrSpread
fn fold_prop_or_spreads(&mut self, n: Vec<PropOrSpread>) -> Vec<PropOrSpread>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_regex(&mut self, n: Regex) -> Regex
fn fold_reserved_unused(&mut self, n: ReservedUnused) -> ReservedUnused
fn fold_rest_pat(&mut self, n: RestPat) -> RestPat
fn fold_return_stmt(&mut self, n: ReturnStmt) -> ReturnStmt
fn fold_script(&mut self, n: Script) -> Script
fn fold_seq_expr(&mut self, n: SeqExpr) -> SeqExpr
fn fold_setter_prop(&mut self, n: SetterProp) -> SetterProp
fn fold_span(&mut self, n: Span) -> Span
fn fold_spread_element(&mut self, n: SpreadElement) -> SpreadElement
fn fold_static_block(&mut self, n: StaticBlock) -> StaticBlock
fn fold_stmt(&mut self, n: Stmt) -> Stmt
fn fold_stmts(&mut self, n: Vec<Stmt>) -> Vec<Stmt>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_str(&mut self, n: Str) -> Str
fn fold_super(&mut self, n: Super) -> Super
fn fold_super_prop(&mut self, n: SuperProp) -> SuperProp
fn fold_super_prop_expr(&mut self, n: SuperPropExpr) -> SuperPropExpr
fn fold_switch_case(&mut self, n: SwitchCase) -> SwitchCase
fn fold_switch_cases(&mut self, n: Vec<SwitchCase>) -> Vec<SwitchCase>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_switch_stmt(&mut self, n: SwitchStmt) -> SwitchStmt
fn fold_tagged_tpl(&mut self, n: TaggedTpl) -> TaggedTpl
fn fold_this_expr(&mut self, n: ThisExpr) -> ThisExpr
fn fold_throw_stmt(&mut self, n: ThrowStmt) -> ThrowStmt
fn fold_tpl(&mut self, n: Tpl) -> Tpl
fn fold_tpl_element(&mut self, n: TplElement) -> TplElement
fn fold_tpl_elements(&mut self, n: Vec<TplElement>) -> Vec<TplElement>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_true_plus_minus(&mut self, n: TruePlusMinus) -> TruePlusMinus
fn fold_try_stmt(&mut self, n: TryStmt) -> TryStmt
fn fold_ts_array_type(&mut self, n: TsArrayType) -> TsArrayType
fn fold_ts_as_expr(&mut self, n: TsAsExpr) -> TsAsExpr
fn fold_ts_call_signature_decl(
&mut self,
n: TsCallSignatureDecl
) -> TsCallSignatureDecl
fn fold_ts_conditional_type(&mut self, n: TsConditionalType) -> TsConditionalType
fn fold_ts_const_assertion(&mut self, n: TsConstAssertion) -> TsConstAssertion
fn fold_ts_construct_signature_decl(
&mut self,
n: TsConstructSignatureDecl
) -> TsConstructSignatureDecl
fn fold_ts_constructor_type(&mut self, n: TsConstructorType) -> TsConstructorType
fn fold_ts_entity_name(&mut self, n: TsEntityName) -> TsEntityName
fn fold_ts_enum_decl(&mut self, n: TsEnumDecl) -> TsEnumDecl
fn fold_ts_enum_member(&mut self, n: TsEnumMember) -> TsEnumMember
fn fold_ts_enum_member_id(&mut self, n: TsEnumMemberId) -> TsEnumMemberId
fn fold_ts_enum_members(&mut self, n: Vec<TsEnumMember>) -> Vec<TsEnumMember>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_ts_export_assignment(
&mut self,
n: TsExportAssignment
) -> TsExportAssignment
fn fold_ts_expr_with_type_args(
&mut self,
n: TsExprWithTypeArgs
) -> TsExprWithTypeArgs
fn fold_ts_expr_with_type_args_vec(
&mut self,
n: Vec<TsExprWithTypeArgs>
) -> Vec<TsExprWithTypeArgs>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_ts_external_module_ref(
&mut self,
n: TsExternalModuleRef
) -> TsExternalModuleRef
fn fold_ts_fn_or_constructor_type(
&mut self,
n: TsFnOrConstructorType
) -> TsFnOrConstructorType
fn fold_ts_fn_param(&mut self, n: TsFnParam) -> TsFnParam
fn fold_ts_fn_params(&mut self, n: Vec<TsFnParam>) -> Vec<TsFnParam>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_ts_fn_type(&mut self, n: TsFnType) -> TsFnType
fn fold_ts_getter_signature(&mut self, n: TsGetterSignature) -> TsGetterSignature
fn fold_ts_import_equals_decl(
&mut self,
n: TsImportEqualsDecl
) -> TsImportEqualsDecl
fn fold_ts_import_type(&mut self, n: TsImportType) -> TsImportType
fn fold_ts_index_signature(&mut self, n: TsIndexSignature) -> TsIndexSignature
fn fold_ts_indexed_access_type(
&mut self,
n: TsIndexedAccessType
) -> TsIndexedAccessType
fn fold_ts_infer_type(&mut self, n: TsInferType) -> TsInferType
fn fold_ts_instantiation(&mut self, n: TsInstantiation) -> TsInstantiation
fn fold_ts_interface_body(&mut self, n: TsInterfaceBody) -> TsInterfaceBody
fn fold_ts_interface_decl(&mut self, n: TsInterfaceDecl) -> TsInterfaceDecl
fn fold_ts_intersection_type(
&mut self,
n: TsIntersectionType
) -> TsIntersectionType
fn fold_ts_keyword_type(&mut self, n: TsKeywordType) -> TsKeywordType
fn fold_ts_keyword_type_kind(
&mut self,
n: TsKeywordTypeKind
) -> TsKeywordTypeKind
fn fold_ts_lit(&mut self, n: TsLit) -> TsLit
fn fold_ts_lit_type(&mut self, n: TsLitType) -> TsLitType
fn fold_ts_mapped_type(&mut self, n: TsMappedType) -> TsMappedType
fn fold_ts_method_signature(&mut self, n: TsMethodSignature) -> TsMethodSignature
fn fold_ts_module_block(&mut self, n: TsModuleBlock) -> TsModuleBlock
fn fold_ts_module_decl(&mut self, n: TsModuleDecl) -> TsModuleDecl
fn fold_ts_module_name(&mut self, n: TsModuleName) -> TsModuleName
fn fold_ts_module_ref(&mut self, n: TsModuleRef) -> TsModuleRef
fn fold_ts_namespace_body(&mut self, n: TsNamespaceBody) -> TsNamespaceBody
fn fold_ts_namespace_decl(&mut self, n: TsNamespaceDecl) -> TsNamespaceDecl
fn fold_ts_namespace_export_decl(
&mut self,
n: TsNamespaceExportDecl
) -> TsNamespaceExportDecl
fn fold_ts_non_null_expr(&mut self, n: TsNonNullExpr) -> TsNonNullExpr
fn fold_ts_optional_type(&mut self, n: TsOptionalType) -> TsOptionalType
fn fold_ts_param_prop(&mut self, n: TsParamProp) -> TsParamProp
fn fold_ts_param_prop_param(&mut self, n: TsParamPropParam) -> TsParamPropParam
fn fold_ts_parenthesized_type(
&mut self,
n: TsParenthesizedType
) -> TsParenthesizedType
fn fold_ts_property_signature(
&mut self,
n: TsPropertySignature
) -> TsPropertySignature
fn fold_ts_qualified_name(&mut self, n: TsQualifiedName) -> TsQualifiedName
fn fold_ts_rest_type(&mut self, n: TsRestType) -> TsRestType
fn fold_ts_satisfies_expr(&mut self, n: TsSatisfiesExpr) -> TsSatisfiesExpr
fn fold_ts_setter_signature(&mut self, n: TsSetterSignature) -> TsSetterSignature
fn fold_ts_this_type(&mut self, n: TsThisType) -> TsThisType
fn fold_ts_this_type_or_ident(
&mut self,
n: TsThisTypeOrIdent
) -> TsThisTypeOrIdent
fn fold_ts_tpl_lit_type(&mut self, n: TsTplLitType) -> TsTplLitType
fn fold_ts_tuple_element(&mut self, n: TsTupleElement) -> TsTupleElement
fn fold_ts_tuple_elements(
&mut self,
n: Vec<TsTupleElement>
) -> Vec<TsTupleElement>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_ts_tuple_type(&mut self, n: TsTupleType) -> TsTupleType
fn fold_ts_type(&mut self, n: TsType) -> TsType
fn fold_ts_type_alias_decl(&mut self, n: TsTypeAliasDecl) -> TsTypeAliasDecl
fn fold_ts_type_ann(&mut self, n: TsTypeAnn) -> TsTypeAnn
fn fold_ts_type_assertion(&mut self, n: TsTypeAssertion) -> TsTypeAssertion
fn fold_ts_type_element(&mut self, n: TsTypeElement) -> TsTypeElement
fn fold_ts_type_elements(&mut self, n: Vec<TsTypeElement>) -> Vec<TsTypeElement>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_ts_type_lit(&mut self, n: TsTypeLit) -> TsTypeLit
fn fold_ts_type_operator(&mut self, n: TsTypeOperator) -> TsTypeOperator
fn fold_ts_type_operator_op(&mut self, n: TsTypeOperatorOp) -> TsTypeOperatorOp
fn fold_ts_type_param(&mut self, n: TsTypeParam) -> TsTypeParam
fn fold_ts_type_param_decl(&mut self, n: TsTypeParamDecl) -> TsTypeParamDecl
fn fold_ts_type_param_instantiation(
&mut self,
n: TsTypeParamInstantiation
) -> TsTypeParamInstantiation
fn fold_ts_type_params(&mut self, n: Vec<TsTypeParam>) -> Vec<TsTypeParam>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_ts_type_predicate(&mut self, n: TsTypePredicate) -> TsTypePredicate
fn fold_ts_type_query(&mut self, n: TsTypeQuery) -> TsTypeQuery
fn fold_ts_type_query_expr(&mut self, n: TsTypeQueryExpr) -> TsTypeQueryExpr
fn fold_ts_type_ref(&mut self, n: TsTypeRef) -> TsTypeRef
fn fold_ts_types(&mut self, n: Vec<Box<TsType>>) -> Vec<Box<TsType>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_ts_union_or_intersection_type(
&mut self,
n: TsUnionOrIntersectionType
) -> TsUnionOrIntersectionType
fn fold_ts_union_type(&mut self, n: TsUnionType) -> TsUnionType
fn fold_unary_expr(&mut self, n: UnaryExpr) -> UnaryExpr
fn fold_unary_op(&mut self, n: UnaryOp) -> UnaryOp
fn fold_update_expr(&mut self, n: UpdateExpr) -> UpdateExpr
fn fold_update_op(&mut self, n: UpdateOp) -> UpdateOp
fn fold_var_decl(&mut self, n: VarDecl) -> VarDecl
fn fold_var_decl_kind(&mut self, n: VarDeclKind) -> VarDeclKind
fn fold_var_decl_or_expr(&mut self, n: VarDeclOrExpr) -> VarDeclOrExpr
fn fold_var_decl_or_pat(&mut self, n: VarDeclOrPat) -> VarDeclOrPat
fn fold_var_declarator(&mut self, n: VarDeclarator) -> VarDeclarator
fn fold_var_declarators(&mut self, n: Vec<VarDeclarator>) -> Vec<VarDeclarator>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_while_stmt(&mut self, n: WhileStmt) -> WhileStmt
fn fold_with_stmt(&mut self, n: WithStmt) -> WithStmt
fn fold_yield_expr(&mut self, n: YieldExpr) -> YieldExpr
sourceimpl<A, B> Fold for Either<A, B>where
A: Fold,
B: Fold,
impl<A, B> Fold for Either<A, B>where
A: Fold,
B: Fold,
fn fold_accessibility(&mut self, n: Accessibility) -> Accessibility
fn fold_array_lit(&mut self, n: ArrayLit) -> ArrayLit
fn fold_array_pat(&mut self, n: ArrayPat) -> ArrayPat
fn fold_arrow_expr(&mut self, n: ArrowExpr) -> ArrowExpr
fn fold_assign_expr(&mut self, n: AssignExpr) -> AssignExpr
fn fold_assign_op(&mut self, n: AssignOp) -> AssignOp
fn fold_assign_pat(&mut self, n: AssignPat) -> AssignPat
fn fold_assign_pat_prop(&mut self, n: AssignPatProp) -> AssignPatProp
fn fold_assign_prop(&mut self, n: AssignProp) -> AssignProp
fn fold_atom(&mut self, n: Atom) -> Atom
fn fold_await_expr(&mut self, n: AwaitExpr) -> AwaitExpr
fn fold_big_int(&mut self, n: BigInt) -> BigInt
fn fold_big_int_value(&mut self, n: BigIntValue) -> BigIntValue
fn fold_bin_expr(&mut self, n: BinExpr) -> BinExpr
fn fold_binary_op(&mut self, n: BinaryOp) -> BinaryOp
fn fold_binding_ident(&mut self, n: BindingIdent) -> BindingIdent
fn fold_block_stmt(&mut self, n: BlockStmt) -> BlockStmt
fn fold_block_stmt_or_expr(&mut self, n: BlockStmtOrExpr) -> BlockStmtOrExpr
fn fold_bool(&mut self, n: Bool) -> Bool
fn fold_break_stmt(&mut self, n: BreakStmt) -> BreakStmt
fn fold_call_expr(&mut self, n: CallExpr) -> CallExpr
fn fold_callee(&mut self, n: Callee) -> Callee
fn fold_catch_clause(&mut self, n: CatchClause) -> CatchClause
fn fold_class(&mut self, n: Class) -> Class
fn fold_class_decl(&mut self, n: ClassDecl) -> ClassDecl
fn fold_class_expr(&mut self, n: ClassExpr) -> ClassExpr
fn fold_class_member(&mut self, n: ClassMember) -> ClassMember
fn fold_class_members(&mut self, n: Vec<ClassMember>) -> Vec<ClassMember>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_class_method(&mut self, n: ClassMethod) -> ClassMethod
fn fold_class_prop(&mut self, n: ClassProp) -> ClassProp
fn fold_computed_prop_name(&mut self, n: ComputedPropName) -> ComputedPropName
fn fold_cond_expr(&mut self, n: CondExpr) -> CondExpr
fn fold_constructor(&mut self, n: Constructor) -> Constructor
fn fold_continue_stmt(&mut self, n: ContinueStmt) -> ContinueStmt
fn fold_debugger_stmt(&mut self, n: DebuggerStmt) -> DebuggerStmt
fn fold_decl(&mut self, n: Decl) -> Decl
fn fold_decorator(&mut self, n: Decorator) -> Decorator
fn fold_decorators(&mut self, n: Vec<Decorator>) -> Vec<Decorator>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_default_decl(&mut self, n: DefaultDecl) -> DefaultDecl
fn fold_do_while_stmt(&mut self, n: DoWhileStmt) -> DoWhileStmt
fn fold_empty_stmt(&mut self, n: EmptyStmt) -> EmptyStmt
fn fold_export_all(&mut self, n: ExportAll) -> ExportAll
fn fold_export_decl(&mut self, n: ExportDecl) -> ExportDecl
fn fold_export_default_decl(&mut self, n: ExportDefaultDecl) -> ExportDefaultDecl
fn fold_export_default_expr(&mut self, n: ExportDefaultExpr) -> ExportDefaultExpr
fn fold_export_default_specifier(
&mut self,
n: ExportDefaultSpecifier
) -> ExportDefaultSpecifier
fn fold_export_named_specifier(
&mut self,
n: ExportNamedSpecifier
) -> ExportNamedSpecifier
fn fold_export_namespace_specifier(
&mut self,
n: ExportNamespaceSpecifier
) -> ExportNamespaceSpecifier
fn fold_export_specifier(&mut self, n: ExportSpecifier) -> ExportSpecifier
fn fold_export_specifiers(
&mut self,
n: Vec<ExportSpecifier>
) -> Vec<ExportSpecifier>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_expr(&mut self, n: Expr) -> Expr
fn fold_expr_or_spread(&mut self, n: ExprOrSpread) -> ExprOrSpread
fn fold_expr_or_spreads(&mut self, n: Vec<ExprOrSpread>) -> Vec<ExprOrSpread>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_expr_stmt(&mut self, n: ExprStmt) -> ExprStmt
fn fold_exprs(&mut self, n: Vec<Box<Expr>>) -> Vec<Box<Expr>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_fn_decl(&mut self, n: FnDecl) -> FnDecl
fn fold_fn_expr(&mut self, n: FnExpr) -> FnExpr
fn fold_for_in_stmt(&mut self, n: ForInStmt) -> ForInStmt
fn fold_for_of_stmt(&mut self, n: ForOfStmt) -> ForOfStmt
fn fold_for_stmt(&mut self, n: ForStmt) -> ForStmt
fn fold_function(&mut self, n: Function) -> Function
fn fold_getter_prop(&mut self, n: GetterProp) -> GetterProp
fn fold_ident(&mut self, n: Ident) -> Ident
fn fold_if_stmt(&mut self, n: IfStmt) -> IfStmt
fn fold_import(&mut self, n: Import) -> Import
fn fold_import_decl(&mut self, n: ImportDecl) -> ImportDecl
fn fold_import_default_specifier(
&mut self,
n: ImportDefaultSpecifier
) -> ImportDefaultSpecifier
fn fold_import_named_specifier(
&mut self,
n: ImportNamedSpecifier
) -> ImportNamedSpecifier
fn fold_import_specifier(&mut self, n: ImportSpecifier) -> ImportSpecifier
fn fold_import_specifiers(
&mut self,
n: Vec<ImportSpecifier>
) -> Vec<ImportSpecifier>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_import_star_as_specifier(
&mut self,
n: ImportStarAsSpecifier
) -> ImportStarAsSpecifier
fn fold_invalid(&mut self, n: Invalid) -> Invalid
fn fold_js_word(&mut self, n: JsWord) -> JsWord
fn fold_jsx_attr(&mut self, n: JSXAttr) -> JSXAttr
fn fold_jsx_attr_name(&mut self, n: JSXAttrName) -> JSXAttrName
fn fold_jsx_attr_or_spread(&mut self, n: JSXAttrOrSpread) -> JSXAttrOrSpread
fn fold_jsx_attr_or_spreads(
&mut self,
n: Vec<JSXAttrOrSpread>
) -> Vec<JSXAttrOrSpread>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_jsx_attr_value(&mut self, n: JSXAttrValue) -> JSXAttrValue
fn fold_jsx_closing_element(&mut self, n: JSXClosingElement) -> JSXClosingElement
fn fold_jsx_closing_fragment(
&mut self,
n: JSXClosingFragment
) -> JSXClosingFragment
fn fold_jsx_element(&mut self, n: JSXElement) -> JSXElement
fn fold_jsx_element_child(&mut self, n: JSXElementChild) -> JSXElementChild
fn fold_jsx_element_children(
&mut self,
n: Vec<JSXElementChild>
) -> Vec<JSXElementChild>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_jsx_element_name(&mut self, n: JSXElementName) -> JSXElementName
fn fold_jsx_empty_expr(&mut self, n: JSXEmptyExpr) -> JSXEmptyExpr
fn fold_jsx_expr(&mut self, n: JSXExpr) -> JSXExpr
fn fold_jsx_expr_container(&mut self, n: JSXExprContainer) -> JSXExprContainer
fn fold_jsx_fragment(&mut self, n: JSXFragment) -> JSXFragment
fn fold_jsx_member_expr(&mut self, n: JSXMemberExpr) -> JSXMemberExpr
fn fold_jsx_namespaced_name(&mut self, n: JSXNamespacedName) -> JSXNamespacedName
fn fold_jsx_object(&mut self, n: JSXObject) -> JSXObject
fn fold_jsx_opening_element(&mut self, n: JSXOpeningElement) -> JSXOpeningElement
fn fold_jsx_opening_fragment(
&mut self,
n: JSXOpeningFragment
) -> JSXOpeningFragment
fn fold_jsx_spread_child(&mut self, n: JSXSpreadChild) -> JSXSpreadChild
fn fold_jsx_text(&mut self, n: JSXText) -> JSXText
fn fold_key_value_pat_prop(&mut self, n: KeyValuePatProp) -> KeyValuePatProp
fn fold_key_value_prop(&mut self, n: KeyValueProp) -> KeyValueProp
fn fold_labeled_stmt(&mut self, n: LabeledStmt) -> LabeledStmt
fn fold_lit(&mut self, n: Lit) -> Lit
fn fold_member_expr(&mut self, n: MemberExpr) -> MemberExpr
fn fold_member_prop(&mut self, n: MemberProp) -> MemberProp
fn fold_meta_prop_expr(&mut self, n: MetaPropExpr) -> MetaPropExpr
fn fold_meta_prop_kind(&mut self, n: MetaPropKind) -> MetaPropKind
fn fold_method_kind(&mut self, n: MethodKind) -> MethodKind
fn fold_method_prop(&mut self, n: MethodProp) -> MethodProp
fn fold_module(&mut self, n: Module) -> Module
fn fold_module_decl(&mut self, n: ModuleDecl) -> ModuleDecl
fn fold_module_export_name(&mut self, n: ModuleExportName) -> ModuleExportName
fn fold_module_item(&mut self, n: ModuleItem) -> ModuleItem
fn fold_module_items(&mut self, n: Vec<ModuleItem>) -> Vec<ModuleItem>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_named_export(&mut self, n: NamedExport) -> NamedExport
fn fold_new_expr(&mut self, n: NewExpr) -> NewExpr
fn fold_null(&mut self, n: Null) -> Null
fn fold_number(&mut self, n: Number) -> Number
fn fold_object_lit(&mut self, n: ObjectLit) -> ObjectLit
fn fold_object_pat(&mut self, n: ObjectPat) -> ObjectPat
fn fold_object_pat_prop(&mut self, n: ObjectPatProp) -> ObjectPatProp
fn fold_object_pat_props(&mut self, n: Vec<ObjectPatProp>) -> Vec<ObjectPatProp>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_opt_accessibility(
&mut self,
n: Option<Accessibility>
) -> Option<Accessibility>
fn fold_opt_atom(&mut self, n: Option<Atom>) -> Option<Atom>
fn fold_opt_block_stmt(&mut self, n: Option<BlockStmt>) -> Option<BlockStmt>
fn fold_opt_call(&mut self, n: OptCall) -> OptCall
fn fold_opt_catch_clause(
&mut self,
n: Option<CatchClause>
) -> Option<CatchClause>
fn fold_opt_chain_base(&mut self, n: OptChainBase) -> OptChainBase
fn fold_opt_chain_expr(&mut self, n: OptChainExpr) -> OptChainExpr
fn fold_opt_expr(&mut self, n: Option<Box<Expr>>) -> Option<Box<Expr>>
fn fold_opt_expr_or_spread(
&mut self,
n: Option<ExprOrSpread>
) -> Option<ExprOrSpread>
fn fold_opt_expr_or_spreads(
&mut self,
n: Option<Vec<ExprOrSpread>>
) -> Option<Vec<ExprOrSpread>>
fn fold_opt_ident(&mut self, n: Option<Ident>) -> Option<Ident>
fn fold_opt_jsx_attr_value(
&mut self,
n: Option<JSXAttrValue>
) -> Option<JSXAttrValue>
fn fold_opt_jsx_closing_element(
&mut self,
n: Option<JSXClosingElement>
) -> Option<JSXClosingElement>
fn fold_opt_module_export_name(
&mut self,
n: Option<ModuleExportName>
) -> Option<ModuleExportName>
fn fold_opt_module_items(
&mut self,
n: Option<Vec<ModuleItem>>
) -> Option<Vec<ModuleItem>>
fn fold_opt_object_lit(
&mut self,
n: Option<Box<ObjectLit>>
) -> Option<Box<ObjectLit>>
fn fold_opt_pat(&mut self, n: Option<Pat>) -> Option<Pat>
fn fold_opt_span(&mut self, n: Option<Span>) -> Option<Span>
fn fold_opt_stmt(&mut self, n: Option<Box<Stmt>>) -> Option<Box<Stmt>>
fn fold_opt_str(&mut self, n: Option<Box<Str>>) -> Option<Box<Str>>
fn fold_opt_true_plus_minus(
&mut self,
n: Option<TruePlusMinus>
) -> Option<TruePlusMinus>
fn fold_opt_ts_entity_name(
&mut self,
n: Option<TsEntityName>
) -> Option<TsEntityName>
fn fold_opt_ts_namespace_body(
&mut self,
n: Option<TsNamespaceBody>
) -> Option<TsNamespaceBody>
fn fold_opt_ts_type(&mut self, n: Option<Box<TsType>>) -> Option<Box<TsType>>
fn fold_opt_ts_type_ann(
&mut self,
n: Option<Box<TsTypeAnn>>
) -> Option<Box<TsTypeAnn>>
fn fold_opt_ts_type_param_decl(
&mut self,
n: Option<Box<TsTypeParamDecl>>
) -> Option<Box<TsTypeParamDecl>>
fn fold_opt_ts_type_param_instantiation(
&mut self,
n: Option<Box<TsTypeParamInstantiation>>
) -> Option<Box<TsTypeParamInstantiation>>
fn fold_opt_var_decl_or_expr(
&mut self,
n: Option<VarDeclOrExpr>
) -> Option<VarDeclOrExpr>
fn fold_opt_vec_expr_or_spreads(
&mut self,
n: Vec<Option<ExprOrSpread>>
) -> Vec<Option<ExprOrSpread>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_opt_vec_pats(&mut self, n: Vec<Option<Pat>>) -> Vec<Option<Pat>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_param(&mut self, n: Param) -> Param
fn fold_param_or_ts_param_prop(
&mut self,
n: ParamOrTsParamProp
) -> ParamOrTsParamProp
fn fold_param_or_ts_param_props(
&mut self,
n: Vec<ParamOrTsParamProp>
) -> Vec<ParamOrTsParamProp>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_params(&mut self, n: Vec<Param>) -> Vec<Param>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_paren_expr(&mut self, n: ParenExpr) -> ParenExpr
fn fold_pat(&mut self, n: Pat) -> Pat
fn fold_pat_or_expr(&mut self, n: PatOrExpr) -> PatOrExpr
fn fold_pats(&mut self, n: Vec<Pat>) -> Vec<Pat>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_private_method(&mut self, n: PrivateMethod) -> PrivateMethod
fn fold_private_name(&mut self, n: PrivateName) -> PrivateName
fn fold_private_prop(&mut self, n: PrivateProp) -> PrivateProp
fn fold_program(&mut self, n: Program) -> Program
fn fold_prop(&mut self, n: Prop) -> Prop
fn fold_prop_name(&mut self, n: PropName) -> PropName
fn fold_prop_or_spread(&mut self, n: PropOrSpread) -> PropOrSpread
fn fold_prop_or_spreads(&mut self, n: Vec<PropOrSpread>) -> Vec<PropOrSpread>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_regex(&mut self, n: Regex) -> Regex
fn fold_reserved_unused(&mut self, n: ReservedUnused) -> ReservedUnused
fn fold_rest_pat(&mut self, n: RestPat) -> RestPat
fn fold_return_stmt(&mut self, n: ReturnStmt) -> ReturnStmt
fn fold_script(&mut self, n: Script) -> Script
fn fold_seq_expr(&mut self, n: SeqExpr) -> SeqExpr
fn fold_setter_prop(&mut self, n: SetterProp) -> SetterProp
fn fold_span(&mut self, n: Span) -> Span
fn fold_spread_element(&mut self, n: SpreadElement) -> SpreadElement
fn fold_static_block(&mut self, n: StaticBlock) -> StaticBlock
fn fold_stmt(&mut self, n: Stmt) -> Stmt
fn fold_stmts(&mut self, n: Vec<Stmt>) -> Vec<Stmt>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_str(&mut self, n: Str) -> Str
fn fold_super(&mut self, n: Super) -> Super
fn fold_super_prop(&mut self, n: SuperProp) -> SuperProp
fn fold_super_prop_expr(&mut self, n: SuperPropExpr) -> SuperPropExpr
fn fold_switch_case(&mut self, n: SwitchCase) -> SwitchCase
fn fold_switch_cases(&mut self, n: Vec<SwitchCase>) -> Vec<SwitchCase>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_switch_stmt(&mut self, n: SwitchStmt) -> SwitchStmt
fn fold_tagged_tpl(&mut self, n: TaggedTpl) -> TaggedTpl
fn fold_this_expr(&mut self, n: ThisExpr) -> ThisExpr
fn fold_throw_stmt(&mut self, n: ThrowStmt) -> ThrowStmt
fn fold_tpl(&mut self, n: Tpl) -> Tpl
fn fold_tpl_element(&mut self, n: TplElement) -> TplElement
fn fold_tpl_elements(&mut self, n: Vec<TplElement>) -> Vec<TplElement>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_true_plus_minus(&mut self, n: TruePlusMinus) -> TruePlusMinus
fn fold_try_stmt(&mut self, n: TryStmt) -> TryStmt
fn fold_ts_array_type(&mut self, n: TsArrayType) -> TsArrayType
fn fold_ts_as_expr(&mut self, n: TsAsExpr) -> TsAsExpr
fn fold_ts_call_signature_decl(
&mut self,
n: TsCallSignatureDecl
) -> TsCallSignatureDecl
fn fold_ts_conditional_type(&mut self, n: TsConditionalType) -> TsConditionalType
fn fold_ts_const_assertion(&mut self, n: TsConstAssertion) -> TsConstAssertion
fn fold_ts_construct_signature_decl(
&mut self,
n: TsConstructSignatureDecl
) -> TsConstructSignatureDecl
fn fold_ts_constructor_type(&mut self, n: TsConstructorType) -> TsConstructorType
fn fold_ts_entity_name(&mut self, n: TsEntityName) -> TsEntityName
fn fold_ts_enum_decl(&mut self, n: TsEnumDecl) -> TsEnumDecl
fn fold_ts_enum_member(&mut self, n: TsEnumMember) -> TsEnumMember
fn fold_ts_enum_member_id(&mut self, n: TsEnumMemberId) -> TsEnumMemberId
fn fold_ts_enum_members(&mut self, n: Vec<TsEnumMember>) -> Vec<TsEnumMember>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_ts_export_assignment(
&mut self,
n: TsExportAssignment
) -> TsExportAssignment
fn fold_ts_expr_with_type_args(
&mut self,
n: TsExprWithTypeArgs
) -> TsExprWithTypeArgs
fn fold_ts_expr_with_type_args_vec(
&mut self,
n: Vec<TsExprWithTypeArgs>
) -> Vec<TsExprWithTypeArgs>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_ts_external_module_ref(
&mut self,
n: TsExternalModuleRef
) -> TsExternalModuleRef
fn fold_ts_fn_or_constructor_type(
&mut self,
n: TsFnOrConstructorType
) -> TsFnOrConstructorType
fn fold_ts_fn_param(&mut self, n: TsFnParam) -> TsFnParam
fn fold_ts_fn_params(&mut self, n: Vec<TsFnParam>) -> Vec<TsFnParam>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_ts_fn_type(&mut self, n: TsFnType) -> TsFnType
fn fold_ts_getter_signature(&mut self, n: TsGetterSignature) -> TsGetterSignature
fn fold_ts_import_equals_decl(
&mut self,
n: TsImportEqualsDecl
) -> TsImportEqualsDecl
fn fold_ts_import_type(&mut self, n: TsImportType) -> TsImportType
fn fold_ts_index_signature(&mut self, n: TsIndexSignature) -> TsIndexSignature
fn fold_ts_indexed_access_type(
&mut self,
n: TsIndexedAccessType
) -> TsIndexedAccessType
fn fold_ts_infer_type(&mut self, n: TsInferType) -> TsInferType
fn fold_ts_instantiation(&mut self, n: TsInstantiation) -> TsInstantiation
fn fold_ts_interface_body(&mut self, n: TsInterfaceBody) -> TsInterfaceBody
fn fold_ts_interface_decl(&mut self, n: TsInterfaceDecl) -> TsInterfaceDecl
fn fold_ts_intersection_type(
&mut self,
n: TsIntersectionType
) -> TsIntersectionType
fn fold_ts_keyword_type(&mut self, n: TsKeywordType) -> TsKeywordType
fn fold_ts_keyword_type_kind(
&mut self,
n: TsKeywordTypeKind
) -> TsKeywordTypeKind
fn fold_ts_lit(&mut self, n: TsLit) -> TsLit
fn fold_ts_lit_type(&mut self, n: TsLitType) -> TsLitType
fn fold_ts_mapped_type(&mut self, n: TsMappedType) -> TsMappedType
fn fold_ts_method_signature(&mut self, n: TsMethodSignature) -> TsMethodSignature
fn fold_ts_module_block(&mut self, n: TsModuleBlock) -> TsModuleBlock
fn fold_ts_module_decl(&mut self, n: TsModuleDecl) -> TsModuleDecl
fn fold_ts_module_name(&mut self, n: TsModuleName) -> TsModuleName
fn fold_ts_module_ref(&mut self, n: TsModuleRef) -> TsModuleRef
fn fold_ts_namespace_body(&mut self, n: TsNamespaceBody) -> TsNamespaceBody
fn fold_ts_namespace_decl(&mut self, n: TsNamespaceDecl) -> TsNamespaceDecl
fn fold_ts_namespace_export_decl(
&mut self,
n: TsNamespaceExportDecl
) -> TsNamespaceExportDecl
fn fold_ts_non_null_expr(&mut self, n: TsNonNullExpr) -> TsNonNullExpr
fn fold_ts_optional_type(&mut self, n: TsOptionalType) -> TsOptionalType
fn fold_ts_param_prop(&mut self, n: TsParamProp) -> TsParamProp
fn fold_ts_param_prop_param(&mut self, n: TsParamPropParam) -> TsParamPropParam
fn fold_ts_parenthesized_type(
&mut self,
n: TsParenthesizedType
) -> TsParenthesizedType
fn fold_ts_property_signature(
&mut self,
n: TsPropertySignature
) -> TsPropertySignature
fn fold_ts_qualified_name(&mut self, n: TsQualifiedName) -> TsQualifiedName
fn fold_ts_rest_type(&mut self, n: TsRestType) -> TsRestType
fn fold_ts_satisfies_expr(&mut self, n: TsSatisfiesExpr) -> TsSatisfiesExpr
fn fold_ts_setter_signature(&mut self, n: TsSetterSignature) -> TsSetterSignature
fn fold_ts_this_type(&mut self, n: TsThisType) -> TsThisType
fn fold_ts_this_type_or_ident(
&mut self,
n: TsThisTypeOrIdent
) -> TsThisTypeOrIdent
fn fold_ts_tpl_lit_type(&mut self, n: TsTplLitType) -> TsTplLitType
fn fold_ts_tuple_element(&mut self, n: TsTupleElement) -> TsTupleElement
fn fold_ts_tuple_elements(
&mut self,
n: Vec<TsTupleElement>
) -> Vec<TsTupleElement>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_ts_tuple_type(&mut self, n: TsTupleType) -> TsTupleType
fn fold_ts_type(&mut self, n: TsType) -> TsType
fn fold_ts_type_alias_decl(&mut self, n: TsTypeAliasDecl) -> TsTypeAliasDecl
fn fold_ts_type_ann(&mut self, n: TsTypeAnn) -> TsTypeAnn
fn fold_ts_type_assertion(&mut self, n: TsTypeAssertion) -> TsTypeAssertion
fn fold_ts_type_element(&mut self, n: TsTypeElement) -> TsTypeElement
fn fold_ts_type_elements(&mut self, n: Vec<TsTypeElement>) -> Vec<TsTypeElement>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_ts_type_lit(&mut self, n: TsTypeLit) -> TsTypeLit
fn fold_ts_type_operator(&mut self, n: TsTypeOperator) -> TsTypeOperator
fn fold_ts_type_operator_op(&mut self, n: TsTypeOperatorOp) -> TsTypeOperatorOp
fn fold_ts_type_param(&mut self, n: TsTypeParam) -> TsTypeParam
fn fold_ts_type_param_decl(&mut self, n: TsTypeParamDecl) -> TsTypeParamDecl
fn fold_ts_type_param_instantiation(
&mut self,
n: TsTypeParamInstantiation
) -> TsTypeParamInstantiation
fn fold_ts_type_params(&mut self, n: Vec<TsTypeParam>) -> Vec<TsTypeParam>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_ts_type_predicate(&mut self, n: TsTypePredicate) -> TsTypePredicate
fn fold_ts_type_query(&mut self, n: TsTypeQuery) -> TsTypeQuery
fn fold_ts_type_query_expr(&mut self, n: TsTypeQueryExpr) -> TsTypeQueryExpr
fn fold_ts_type_ref(&mut self, n: TsTypeRef) -> TsTypeRef
fn fold_ts_types(&mut self, n: Vec<Box<TsType>>) -> Vec<Box<TsType>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
fn fold_ts_union_or_intersection_type(
&mut self,
n: TsUnionOrIntersectionType
) -> TsUnionOrIntersectionType
fn fold_ts_union_type(&mut self, n: TsUnionType) -> TsUnionType
fn fold_unary_expr(&mut self, n: UnaryExpr) -> UnaryExpr
fn fold_unary_op(&mut self, n: UnaryOp) -> UnaryOp
fn fold_update_expr(&mut self, n: UpdateExpr) -> UpdateExpr
fn fold_update_op(&mut self, n: UpdateOp) -> UpdateOp
fn fold_var_decl(&mut self, n: VarDecl) -> VarDecl
fn fold_var_decl_kind(&mut self, n: VarDeclKind) -> VarDeclKind
fn fold_var_decl_or_expr(&mut self, n: VarDeclOrExpr) -> VarDeclOrExpr
fn fold_var_decl_or_pat(&mut self, n: VarDeclOrPat) -> VarDeclOrPat
fn fold_var_declarator(&mut self, n: VarDeclarator) -> VarDeclarator
fn fold_var_declarators(&mut self, n: Vec<VarDeclarator>) -> Vec<VarDeclarator>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,