[−][src]Struct swc_ecma_visit::Folder
Trait Implementations
impl<V: Clone + VisitMut> Clone for Folder<V>
[src]
impl<V> CompilerPass for Folder<V> where
V: VisitMut + CompilerPass,
[src]
V: VisitMut + CompilerPass,
impl<V: Copy + VisitMut> Copy for Folder<V>
[src]
impl<V: Debug + VisitMut> Debug for Folder<V>
[src]
impl<V> Fold for Folder<V> where
V: VisitMut,
[src]
V: VisitMut,
fn fold_ident(&mut self, n: Ident) -> Ident
[src]
fn fold_span(&mut self, n: Span) -> Span
[src]
fn fold_expr(&mut self, n: Expr) -> Expr
[src]
fn fold_decl(&mut self, n: Decl) -> Decl
[src]
fn fold_stmt(&mut self, n: Stmt) -> Stmt
[src]
fn fold_pat(&mut self, n: Pat) -> Pat
[src]
fn fold_ts_type(&mut self, n: TsType) -> TsType
[src]
fn fold_module(&mut self, n: Module) -> Module
[src]
fn fold_script(&mut self, n: Script) -> Script
[src]
fn fold_program(&mut self, n: Program) -> Program
[src]
fn fold_accessibility(&mut self, n: Accessibility) -> Accessibility
[src]
fn fold_array_lit(&mut self, n: ArrayLit) -> ArrayLit
[src]
fn fold_array_pat(&mut self, n: ArrayPat) -> ArrayPat
[src]
fn fold_arrow_expr(&mut self, n: ArrowExpr) -> ArrowExpr
[src]
fn fold_assign_expr(&mut self, n: AssignExpr) -> AssignExpr
[src]
fn fold_assign_op(&mut self, n: AssignOp) -> AssignOp
[src]
fn fold_assign_pat(&mut self, n: AssignPat) -> AssignPat
[src]
fn fold_assign_pat_prop(&mut self, n: AssignPatProp) -> AssignPatProp
[src]
fn fold_assign_prop(&mut self, n: AssignProp) -> AssignProp
[src]
fn fold_await_expr(&mut self, n: AwaitExpr) -> AwaitExpr
[src]
fn fold_big_int(&mut self, n: BigInt) -> BigInt
[src]
fn fold_bin_expr(&mut self, n: BinExpr) -> BinExpr
[src]
fn fold_binary_op(&mut self, n: BinaryOp) -> BinaryOp
[src]
fn fold_block_stmt(&mut self, n: BlockStmt) -> BlockStmt
[src]
fn fold_block_stmt_or_expr(&mut self, n: BlockStmtOrExpr) -> BlockStmtOrExpr
[src]
fn fold_bool(&mut self, n: Bool) -> Bool
[src]
fn fold_break_stmt(&mut self, n: BreakStmt) -> BreakStmt
[src]
fn fold_call_expr(&mut self, n: CallExpr) -> CallExpr
[src]
fn fold_catch_clause(&mut self, n: CatchClause) -> CatchClause
[src]
fn fold_class(&mut self, n: Class) -> Class
[src]
fn fold_class_decl(&mut self, n: ClassDecl) -> ClassDecl
[src]
fn fold_class_expr(&mut self, n: ClassExpr) -> ClassExpr
[src]
fn fold_class_member(&mut self, n: ClassMember) -> ClassMember
[src]
fn fold_class_method(&mut self, n: ClassMethod) -> ClassMethod
[src]
fn fold_class_prop(&mut self, n: ClassProp) -> ClassProp
[src]
fn fold_computed_prop_name(&mut self, n: ComputedPropName) -> ComputedPropName
[src]
fn fold_cond_expr(&mut self, n: CondExpr) -> CondExpr
[src]
fn fold_constructor(&mut self, n: Constructor) -> Constructor
[src]
fn fold_continue_stmt(&mut self, n: ContinueStmt) -> ContinueStmt
[src]
fn fold_debugger_stmt(&mut self, n: DebuggerStmt) -> DebuggerStmt
[src]
fn fold_decorator(&mut self, n: Decorator) -> Decorator
[src]
fn fold_default_decl(&mut self, n: DefaultDecl) -> DefaultDecl
[src]
fn fold_do_while_stmt(&mut self, n: DoWhileStmt) -> DoWhileStmt
[src]
fn fold_empty_stmt(&mut self, n: EmptyStmt) -> EmptyStmt
[src]
fn fold_export_all(&mut self, n: ExportAll) -> ExportAll
[src]
fn fold_export_decl(&mut self, n: ExportDecl) -> ExportDecl
[src]
fn fold_export_default_decl(
&mut self,
n: ExportDefaultDecl
) -> ExportDefaultDecl
[src]
&mut self,
n: ExportDefaultDecl
) -> ExportDefaultDecl
fn fold_export_default_expr(
&mut self,
n: ExportDefaultExpr
) -> ExportDefaultExpr
[src]
&mut self,
n: ExportDefaultExpr
) -> ExportDefaultExpr
fn fold_export_default_specifier(
&mut self,
n: ExportDefaultSpecifier
) -> ExportDefaultSpecifier
[src]
&mut self,
n: ExportDefaultSpecifier
) -> ExportDefaultSpecifier
fn fold_export_named_specifier(
&mut self,
n: ExportNamedSpecifier
) -> ExportNamedSpecifier
[src]
&mut self,
n: ExportNamedSpecifier
) -> ExportNamedSpecifier
fn fold_export_namespace_specifier(
&mut self,
n: ExportNamespaceSpecifier
) -> ExportNamespaceSpecifier
[src]
&mut self,
n: ExportNamespaceSpecifier
) -> ExportNamespaceSpecifier
fn fold_export_specifier(&mut self, n: ExportSpecifier) -> ExportSpecifier
[src]
fn fold_expr_or_spread(&mut self, n: ExprOrSpread) -> ExprOrSpread
[src]
fn fold_expr_or_super(&mut self, n: ExprOrSuper) -> ExprOrSuper
[src]
fn fold_expr_stmt(&mut self, n: ExprStmt) -> ExprStmt
[src]
fn fold_fn_decl(&mut self, n: FnDecl) -> FnDecl
[src]
fn fold_fn_expr(&mut self, n: FnExpr) -> FnExpr
[src]
fn fold_for_in_stmt(&mut self, n: ForInStmt) -> ForInStmt
[src]
fn fold_for_of_stmt(&mut self, n: ForOfStmt) -> ForOfStmt
[src]
fn fold_for_stmt(&mut self, n: ForStmt) -> ForStmt
[src]
fn fold_function(&mut self, n: Function) -> Function
[src]
fn fold_getter_prop(&mut self, n: GetterProp) -> GetterProp
[src]
fn fold_if_stmt(&mut self, n: IfStmt) -> IfStmt
[src]
fn fold_import_decl(&mut self, n: ImportDecl) -> ImportDecl
[src]
fn fold_import_default_specifier(
&mut self,
n: ImportDefaultSpecifier
) -> ImportDefaultSpecifier
[src]
&mut self,
n: ImportDefaultSpecifier
) -> ImportDefaultSpecifier
fn fold_import_named_specifier(
&mut self,
n: ImportNamedSpecifier
) -> ImportNamedSpecifier
[src]
&mut self,
n: ImportNamedSpecifier
) -> ImportNamedSpecifier
fn fold_import_specifier(&mut self, n: ImportSpecifier) -> ImportSpecifier
[src]
fn fold_import_star_as_specifier(
&mut self,
n: ImportStarAsSpecifier
) -> ImportStarAsSpecifier
[src]
&mut self,
n: ImportStarAsSpecifier
) -> ImportStarAsSpecifier
fn fold_invalid(&mut self, n: Invalid) -> Invalid
[src]
fn fold_jsx_attr(&mut self, n: JSXAttr) -> JSXAttr
[src]
fn fold_jsx_attr_name(&mut self, n: JSXAttrName) -> JSXAttrName
[src]
fn fold_jsx_attr_or_spread(&mut self, n: JSXAttrOrSpread) -> JSXAttrOrSpread
[src]
fn fold_jsx_attr_value(&mut self, n: JSXAttrValue) -> JSXAttrValue
[src]
fn fold_jsx_closing_element(
&mut self,
n: JSXClosingElement
) -> JSXClosingElement
[src]
&mut self,
n: JSXClosingElement
) -> JSXClosingElement
fn fold_jsx_closing_fragment(
&mut self,
n: JSXClosingFragment
) -> JSXClosingFragment
[src]
&mut self,
n: JSXClosingFragment
) -> JSXClosingFragment
fn fold_jsx_element(&mut self, n: JSXElement) -> JSXElement
[src]
fn fold_jsx_element_child(&mut self, n: JSXElementChild) -> JSXElementChild
[src]
fn fold_jsx_element_name(&mut self, n: JSXElementName) -> JSXElementName
[src]
fn fold_jsx_empty_expr(&mut self, n: JSXEmptyExpr) -> JSXEmptyExpr
[src]
fn fold_jsx_expr(&mut self, n: JSXExpr) -> JSXExpr
[src]
fn fold_jsx_expr_container(&mut self, n: JSXExprContainer) -> JSXExprContainer
[src]
fn fold_jsx_fragment(&mut self, n: JSXFragment) -> JSXFragment
[src]
fn fold_jsx_member_expr(&mut self, n: JSXMemberExpr) -> JSXMemberExpr
[src]
fn fold_jsx_namespaced_name(
&mut self,
n: JSXNamespacedName
) -> JSXNamespacedName
[src]
&mut self,
n: JSXNamespacedName
) -> JSXNamespacedName
fn fold_jsx_object(&mut self, n: JSXObject) -> JSXObject
[src]
fn fold_jsx_opening_element(
&mut self,
n: JSXOpeningElement
) -> JSXOpeningElement
[src]
&mut self,
n: JSXOpeningElement
) -> JSXOpeningElement
fn fold_jsx_opening_fragment(
&mut self,
n: JSXOpeningFragment
) -> JSXOpeningFragment
[src]
&mut self,
n: JSXOpeningFragment
) -> JSXOpeningFragment
fn fold_jsx_spread_child(&mut self, n: JSXSpreadChild) -> JSXSpreadChild
[src]
fn fold_jsx_text(&mut self, n: JSXText) -> JSXText
[src]
fn fold_key_value_pat_prop(&mut self, n: KeyValuePatProp) -> KeyValuePatProp
[src]
fn fold_key_value_prop(&mut self, n: KeyValueProp) -> KeyValueProp
[src]
fn fold_labeled_stmt(&mut self, n: LabeledStmt) -> LabeledStmt
[src]
fn fold_lit(&mut self, n: Lit) -> Lit
[src]
fn fold_member_expr(&mut self, n: MemberExpr) -> MemberExpr
[src]
fn fold_meta_prop_expr(&mut self, n: MetaPropExpr) -> MetaPropExpr
[src]
fn fold_method_kind(&mut self, n: MethodKind) -> MethodKind
[src]
fn fold_method_prop(&mut self, n: MethodProp) -> MethodProp
[src]
fn fold_module_decl(&mut self, n: ModuleDecl) -> ModuleDecl
[src]
fn fold_module_item(&mut self, n: ModuleItem) -> ModuleItem
[src]
fn fold_named_export(&mut self, n: NamedExport) -> NamedExport
[src]
fn fold_new_expr(&mut self, n: NewExpr) -> NewExpr
[src]
fn fold_null(&mut self, n: Null) -> Null
[src]
fn fold_number(&mut self, n: Number) -> Number
[src]
fn fold_object_lit(&mut self, n: ObjectLit) -> ObjectLit
[src]
fn fold_object_pat(&mut self, n: ObjectPat) -> ObjectPat
[src]
fn fold_object_pat_prop(&mut self, n: ObjectPatProp) -> ObjectPatProp
[src]
fn fold_opt_chain_expr(&mut self, n: OptChainExpr) -> OptChainExpr
[src]
fn fold_param(&mut self, n: Param) -> Param
[src]
fn fold_param_or_ts_param_prop(
&mut self,
n: ParamOrTsParamProp
) -> ParamOrTsParamProp
[src]
&mut self,
n: ParamOrTsParamProp
) -> ParamOrTsParamProp
fn fold_paren_expr(&mut self, n: ParenExpr) -> ParenExpr
[src]
fn fold_pat_or_expr(&mut self, n: PatOrExpr) -> PatOrExpr
[src]
fn fold_private_method(&mut self, n: PrivateMethod) -> PrivateMethod
[src]
fn fold_private_name(&mut self, n: PrivateName) -> PrivateName
[src]
fn fold_private_prop(&mut self, n: PrivateProp) -> PrivateProp
[src]
fn fold_prop(&mut self, n: Prop) -> Prop
[src]
fn fold_prop_name(&mut self, n: PropName) -> PropName
[src]
fn fold_prop_or_spread(&mut self, n: PropOrSpread) -> PropOrSpread
[src]
fn fold_regex(&mut self, n: Regex) -> Regex
[src]
fn fold_rest_pat(&mut self, n: RestPat) -> RestPat
[src]
fn fold_return_stmt(&mut self, n: ReturnStmt) -> ReturnStmt
[src]
fn fold_seq_expr(&mut self, n: SeqExpr) -> SeqExpr
[src]
fn fold_setter_prop(&mut self, n: SetterProp) -> SetterProp
[src]
fn fold_spread_element(&mut self, n: SpreadElement) -> SpreadElement
[src]
fn fold_str(&mut self, n: Str) -> Str
[src]
fn fold_super(&mut self, n: Super) -> Super
[src]
fn fold_switch_case(&mut self, n: SwitchCase) -> SwitchCase
[src]
fn fold_switch_stmt(&mut self, n: SwitchStmt) -> SwitchStmt
[src]
fn fold_tagged_tpl(&mut self, n: TaggedTpl) -> TaggedTpl
[src]
fn fold_this_expr(&mut self, n: ThisExpr) -> ThisExpr
[src]
fn fold_throw_stmt(&mut self, n: ThrowStmt) -> ThrowStmt
[src]
fn fold_tpl(&mut self, n: Tpl) -> Tpl
[src]
fn fold_tpl_element(&mut self, n: TplElement) -> TplElement
[src]
fn fold_true_plus_minus(&mut self, n: TruePlusMinus) -> TruePlusMinus
[src]
fn fold_try_stmt(&mut self, n: TryStmt) -> TryStmt
[src]
fn fold_ts_array_type(&mut self, n: TsArrayType) -> TsArrayType
[src]
fn fold_ts_as_expr(&mut self, n: TsAsExpr) -> TsAsExpr
[src]
fn fold_ts_call_signature_decl(
&mut self,
n: TsCallSignatureDecl
) -> TsCallSignatureDecl
[src]
&mut self,
n: TsCallSignatureDecl
) -> TsCallSignatureDecl
fn fold_ts_conditional_type(
&mut self,
n: TsConditionalType
) -> TsConditionalType
[src]
&mut self,
n: TsConditionalType
) -> TsConditionalType
fn fold_ts_const_assertion(&mut self, n: TsConstAssertion) -> TsConstAssertion
[src]
fn fold_ts_construct_signature_decl(
&mut self,
n: TsConstructSignatureDecl
) -> TsConstructSignatureDecl
[src]
&mut self,
n: TsConstructSignatureDecl
) -> TsConstructSignatureDecl
fn fold_ts_constructor_type(
&mut self,
n: TsConstructorType
) -> TsConstructorType
[src]
&mut self,
n: TsConstructorType
) -> TsConstructorType
fn fold_ts_entity_name(&mut self, n: TsEntityName) -> TsEntityName
[src]
fn fold_ts_enum_decl(&mut self, n: TsEnumDecl) -> TsEnumDecl
[src]
fn fold_ts_enum_member(&mut self, n: TsEnumMember) -> TsEnumMember
[src]
fn fold_ts_enum_member_id(&mut self, n: TsEnumMemberId) -> TsEnumMemberId
[src]
fn fold_ts_export_assignment(
&mut self,
n: TsExportAssignment
) -> TsExportAssignment
[src]
&mut self,
n: TsExportAssignment
) -> TsExportAssignment
fn fold_ts_expr_with_type_args(
&mut self,
n: TsExprWithTypeArgs
) -> TsExprWithTypeArgs
[src]
&mut self,
n: TsExprWithTypeArgs
) -> TsExprWithTypeArgs
fn fold_ts_external_module_ref(
&mut self,
n: TsExternalModuleRef
) -> TsExternalModuleRef
[src]
&mut self,
n: TsExternalModuleRef
) -> TsExternalModuleRef
fn fold_ts_fn_or_constructor_type(
&mut self,
n: TsFnOrConstructorType
) -> TsFnOrConstructorType
[src]
&mut self,
n: TsFnOrConstructorType
) -> TsFnOrConstructorType
fn fold_ts_fn_param(&mut self, n: TsFnParam) -> TsFnParam
[src]
fn fold_ts_fn_type(&mut self, n: TsFnType) -> TsFnType
[src]
fn fold_ts_import_equals_decl(
&mut self,
n: TsImportEqualsDecl
) -> TsImportEqualsDecl
[src]
&mut self,
n: TsImportEqualsDecl
) -> TsImportEqualsDecl
fn fold_ts_import_type(&mut self, n: TsImportType) -> TsImportType
[src]
fn fold_ts_index_signature(&mut self, n: TsIndexSignature) -> TsIndexSignature
[src]
fn fold_ts_indexed_access_type(
&mut self,
n: TsIndexedAccessType
) -> TsIndexedAccessType
[src]
&mut self,
n: TsIndexedAccessType
) -> TsIndexedAccessType
fn fold_ts_infer_type(&mut self, n: TsInferType) -> TsInferType
[src]
fn fold_ts_interface_body(&mut self, n: TsInterfaceBody) -> TsInterfaceBody
[src]
fn fold_ts_interface_decl(&mut self, n: TsInterfaceDecl) -> TsInterfaceDecl
[src]
fn fold_ts_intersection_type(
&mut self,
n: TsIntersectionType
) -> TsIntersectionType
[src]
&mut self,
n: TsIntersectionType
) -> TsIntersectionType
fn fold_ts_keyword_type(&mut self, n: TsKeywordType) -> TsKeywordType
[src]
fn fold_ts_keyword_type_kind(
&mut self,
n: TsKeywordTypeKind
) -> TsKeywordTypeKind
[src]
&mut self,
n: TsKeywordTypeKind
) -> TsKeywordTypeKind
fn fold_ts_lit(&mut self, n: TsLit) -> TsLit
[src]
fn fold_ts_lit_type(&mut self, n: TsLitType) -> TsLitType
[src]
fn fold_ts_mapped_type(&mut self, n: TsMappedType) -> TsMappedType
[src]
fn fold_ts_method_signature(
&mut self,
n: TsMethodSignature
) -> TsMethodSignature
[src]
&mut self,
n: TsMethodSignature
) -> TsMethodSignature
fn fold_ts_module_block(&mut self, n: TsModuleBlock) -> TsModuleBlock
[src]
fn fold_ts_module_decl(&mut self, n: TsModuleDecl) -> TsModuleDecl
[src]
fn fold_ts_module_name(&mut self, n: TsModuleName) -> TsModuleName
[src]
fn fold_ts_module_ref(&mut self, n: TsModuleRef) -> TsModuleRef
[src]
fn fold_ts_namespace_body(&mut self, n: TsNamespaceBody) -> TsNamespaceBody
[src]
fn fold_ts_namespace_decl(&mut self, n: TsNamespaceDecl) -> TsNamespaceDecl
[src]
fn fold_ts_namespace_export_decl(
&mut self,
n: TsNamespaceExportDecl
) -> TsNamespaceExportDecl
[src]
&mut self,
n: TsNamespaceExportDecl
) -> TsNamespaceExportDecl
fn fold_ts_non_null_expr(&mut self, n: TsNonNullExpr) -> TsNonNullExpr
[src]
fn fold_ts_optional_type(&mut self, n: TsOptionalType) -> TsOptionalType
[src]
fn fold_ts_param_prop(&mut self, n: TsParamProp) -> TsParamProp
[src]
fn fold_ts_param_prop_param(&mut self, n: TsParamPropParam) -> TsParamPropParam
[src]
fn fold_ts_parenthesized_type(
&mut self,
n: TsParenthesizedType
) -> TsParenthesizedType
[src]
&mut self,
n: TsParenthesizedType
) -> TsParenthesizedType
fn fold_ts_property_signature(
&mut self,
n: TsPropertySignature
) -> TsPropertySignature
[src]
&mut self,
n: TsPropertySignature
) -> TsPropertySignature
fn fold_ts_qualified_name(&mut self, n: TsQualifiedName) -> TsQualifiedName
[src]
fn fold_ts_rest_type(&mut self, n: TsRestType) -> TsRestType
[src]
fn fold_ts_signature_decl(&mut self, n: TsSignatureDecl) -> TsSignatureDecl
[src]
fn fold_ts_this_type(&mut self, n: TsThisType) -> TsThisType
[src]
fn fold_ts_this_type_or_ident(
&mut self,
n: TsThisTypeOrIdent
) -> TsThisTypeOrIdent
[src]
&mut self,
n: TsThisTypeOrIdent
) -> TsThisTypeOrIdent
fn fold_ts_tuple_element(&mut self, n: TsTupleElement) -> TsTupleElement
[src]
fn fold_ts_tuple_type(&mut self, n: TsTupleType) -> TsTupleType
[src]
fn fold_ts_type_alias_decl(&mut self, n: TsTypeAliasDecl) -> TsTypeAliasDecl
[src]
fn fold_ts_type_ann(&mut self, n: TsTypeAnn) -> TsTypeAnn
[src]
fn fold_ts_type_assertion(&mut self, n: TsTypeAssertion) -> TsTypeAssertion
[src]
fn fold_ts_type_cast_expr(&mut self, n: TsTypeCastExpr) -> TsTypeCastExpr
[src]
fn fold_ts_type_element(&mut self, n: TsTypeElement) -> TsTypeElement
[src]
fn fold_ts_type_lit(&mut self, n: TsTypeLit) -> TsTypeLit
[src]
fn fold_ts_type_operator(&mut self, n: TsTypeOperator) -> TsTypeOperator
[src]
fn fold_ts_type_operator_op(&mut self, n: TsTypeOperatorOp) -> TsTypeOperatorOp
[src]
fn fold_ts_type_param(&mut self, n: TsTypeParam) -> TsTypeParam
[src]
fn fold_ts_type_param_decl(&mut self, n: TsTypeParamDecl) -> TsTypeParamDecl
[src]
fn fold_ts_type_param_instantiation(
&mut self,
n: TsTypeParamInstantiation
) -> TsTypeParamInstantiation
[src]
&mut self,
n: TsTypeParamInstantiation
) -> TsTypeParamInstantiation
fn fold_ts_type_predicate(&mut self, n: TsTypePredicate) -> TsTypePredicate
[src]
fn fold_ts_type_query(&mut self, n: TsTypeQuery) -> TsTypeQuery
[src]
fn fold_ts_type_query_expr(&mut self, n: TsTypeQueryExpr) -> TsTypeQueryExpr
[src]
fn fold_ts_type_ref(&mut self, n: TsTypeRef) -> TsTypeRef
[src]
fn fold_ts_union_or_intersection_type(
&mut self,
n: TsUnionOrIntersectionType
) -> TsUnionOrIntersectionType
[src]
&mut self,
n: TsUnionOrIntersectionType
) -> TsUnionOrIntersectionType
fn fold_ts_union_type(&mut self, n: TsUnionType) -> TsUnionType
[src]
fn fold_unary_expr(&mut self, n: UnaryExpr) -> UnaryExpr
[src]
fn fold_unary_op(&mut self, n: UnaryOp) -> UnaryOp
[src]
fn fold_update_expr(&mut self, n: UpdateExpr) -> UpdateExpr
[src]
fn fold_update_op(&mut self, n: UpdateOp) -> UpdateOp
[src]
fn fold_var_decl(&mut self, n: VarDecl) -> VarDecl
[src]
fn fold_var_decl_kind(&mut self, n: VarDeclKind) -> VarDeclKind
[src]
fn fold_var_decl_or_expr(&mut self, n: VarDeclOrExpr) -> VarDeclOrExpr
[src]
fn fold_var_decl_or_pat(&mut self, n: VarDeclOrPat) -> VarDeclOrPat
[src]
fn fold_var_declarator(&mut self, n: VarDeclarator) -> VarDeclarator
[src]
fn fold_while_stmt(&mut self, n: WhileStmt) -> WhileStmt
[src]
fn fold_with_stmt(&mut self, n: WithStmt) -> WithStmt
[src]
fn fold_yield_expr(&mut self, n: YieldExpr) -> YieldExpr
[src]
fn fold_decorators(&mut self, n: Vec<Decorator>) -> Vec<Decorator>
[src]
fn fold_class_members(&mut self, n: Vec<ClassMember>) -> Vec<ClassMember>
[src]
fn fold_opt_expr(&mut self, n: Option<Box<Expr>>) -> Option<Box<Expr>>
[src]
fn fold_opt_ts_type_param_decl(
&mut self,
n: Option<TsTypeParamDecl>
) -> Option<TsTypeParamDecl>
[src]
&mut self,
n: Option<TsTypeParamDecl>
) -> Option<TsTypeParamDecl>
fn fold_opt_ts_type_param_instantiation(
&mut self,
n: Option<TsTypeParamInstantiation>
) -> Option<TsTypeParamInstantiation>
[src]
&mut self,
n: Option<TsTypeParamInstantiation>
) -> Option<TsTypeParamInstantiation>
fn fold_ts_expr_with_type_args_vec(
&mut self,
n: Vec<TsExprWithTypeArgs>
) -> Vec<TsExprWithTypeArgs>
[src]
&mut self,
n: Vec<TsExprWithTypeArgs>
) -> Vec<TsExprWithTypeArgs>
fn fold_opt_ts_type_ann(&mut self, n: Option<TsTypeAnn>) -> Option<TsTypeAnn>
[src]
fn fold_opt_accessibility(
&mut self,
n: Option<Accessibility>
) -> Option<Accessibility>
[src]
&mut self,
n: Option<Accessibility>
) -> Option<Accessibility>
fn fold_param_or_ts_param_props(
&mut self,
n: Vec<ParamOrTsParamProp>
) -> Vec<ParamOrTsParamProp>
[src]
&mut self,
n: Vec<ParamOrTsParamProp>
) -> Vec<ParamOrTsParamProp>
fn fold_opt_block_stmt(&mut self, n: Option<BlockStmt>) -> Option<BlockStmt>
[src]
fn fold_var_declarators(&mut self, n: Vec<VarDeclarator>) -> Vec<VarDeclarator>
[src]
fn fold_opt_vec_expr_or_spreads(
&mut self,
n: Vec<Option<ExprOrSpread>>
) -> Vec<Option<ExprOrSpread>>
[src]
&mut self,
n: Vec<Option<ExprOrSpread>>
) -> Vec<Option<ExprOrSpread>>
fn fold_prop_or_spreads(&mut self, n: Vec<PropOrSpread>) -> Vec<PropOrSpread>
[src]
fn fold_opt_ident(&mut self, n: Option<Ident>) -> Option<Ident>
[src]
fn fold_expr_or_spreads(&mut self, n: Vec<ExprOrSpread>) -> Vec<ExprOrSpread>
[src]
fn fold_opt_expr_or_spreads(
&mut self,
n: Option<Vec<ExprOrSpread>>
) -> Option<Vec<ExprOrSpread>>
[src]
&mut self,
n: Option<Vec<ExprOrSpread>>
) -> Option<Vec<ExprOrSpread>>
fn fold_exprs(&mut self, n: Vec<Box<Expr>>) -> Vec<Box<Expr>>
[src]
fn fold_pats(&mut self, n: Vec<Pat>) -> Vec<Pat>
[src]
fn fold_tpl_elements(&mut self, n: Vec<TplElement>) -> Vec<TplElement>
[src]
fn fold_opt_str(&mut self, n: Option<Str>) -> Option<Str>
[src]
fn fold_opt_span(&mut self, n: Option<Span>) -> Option<Span>
[src]
fn fold_params(&mut self, n: Vec<Param>) -> Vec<Param>
[src]
fn fold_js_word(&mut self, n: JsWord) -> JsWord
[src]
fn fold_jsx_attr_or_spreads(
&mut self,
n: Vec<JSXAttrOrSpread>
) -> Vec<JSXAttrOrSpread>
[src]
&mut self,
n: Vec<JSXAttrOrSpread>
) -> Vec<JSXAttrOrSpread>
fn fold_opt_jsx_attr_value(
&mut self,
n: Option<JSXAttrValue>
) -> Option<JSXAttrValue>
[src]
&mut self,
n: Option<JSXAttrValue>
) -> Option<JSXAttrValue>
fn fold_jsx_element_children(
&mut self,
n: Vec<JSXElementChild>
) -> Vec<JSXElementChild>
[src]
&mut self,
n: Vec<JSXElementChild>
) -> Vec<JSXElementChild>
fn fold_opt_jsx_closing_element(
&mut self,
n: Option<JSXClosingElement>
) -> Option<JSXClosingElement>
[src]
&mut self,
n: Option<JSXClosingElement>
) -> Option<JSXClosingElement>
fn fold_big_int_value(&mut self, n: BigIntValue) -> BigIntValue
[src]
fn fold_module_items(&mut self, n: Vec<ModuleItem>) -> Vec<ModuleItem>
[src]
fn fold_opt_js_word(&mut self, n: Option<JsWord>) -> Option<JsWord>
[src]
fn fold_stmts(&mut self, n: Vec<Stmt>) -> Vec<Stmt>
[src]
fn fold_import_specifiers(
&mut self,
n: Vec<ImportSpecifier>
) -> Vec<ImportSpecifier>
[src]
&mut self,
n: Vec<ImportSpecifier>
) -> Vec<ImportSpecifier>
fn fold_opt_object_lit(&mut self, n: Option<ObjectLit>) -> Option<ObjectLit>
[src]
fn fold_export_specifiers(
&mut self,
n: Vec<ExportSpecifier>
) -> Vec<ExportSpecifier>
[src]
&mut self,
n: Vec<ExportSpecifier>
) -> Vec<ExportSpecifier>
fn fold_opt_vec_pats(&mut self, n: Vec<Option<Pat>>) -> Vec<Option<Pat>>
[src]
fn fold_object_pat_props(&mut self, n: Vec<ObjectPatProp>) -> Vec<ObjectPatProp>
[src]
fn fold_opt_stmt(&mut self, n: Option<Box<Stmt>>) -> Option<Box<Stmt>>
[src]
fn fold_switch_cases(&mut self, n: Vec<SwitchCase>) -> Vec<SwitchCase>
[src]
fn fold_opt_catch_clause(
&mut self,
n: Option<CatchClause>
) -> Option<CatchClause>
[src]
&mut self,
n: Option<CatchClause>
) -> Option<CatchClause>
fn fold_opt_var_decl_or_expr(
&mut self,
n: Option<VarDeclOrExpr>
) -> Option<VarDeclOrExpr>
[src]
&mut self,
n: Option<VarDeclOrExpr>
) -> Option<VarDeclOrExpr>
fn fold_opt_pat(&mut self, n: Option<Pat>) -> Option<Pat>
[src]
fn fold_ts_type_params(&mut self, n: Vec<TsTypeParam>) -> Vec<TsTypeParam>
[src]
fn fold_opt_ts_type(&mut self, n: Option<Box<TsType>>) -> Option<Box<TsType>>
[src]
fn fold_ts_types(&mut self, n: Vec<Box<TsType>>) -> Vec<Box<TsType>>
[src]
fn fold_ts_fn_params(&mut self, n: Vec<TsFnParam>) -> Vec<TsFnParam>
[src]
fn fold_opt_ts_entity_name(
&mut self,
n: Option<TsEntityName>
) -> Option<TsEntityName>
[src]
&mut self,
n: Option<TsEntityName>
) -> Option<TsEntityName>
fn fold_ts_type_elements(&mut self, n: Vec<TsTypeElement>) -> Vec<TsTypeElement>
[src]
fn fold_ts_tuple_elements(
&mut self,
n: Vec<TsTupleElement>
) -> Vec<TsTupleElement>
[src]
&mut self,
n: Vec<TsTupleElement>
) -> Vec<TsTupleElement>
fn fold_opt_true_plus_minus(
&mut self,
n: Option<TruePlusMinus>
) -> Option<TruePlusMinus>
[src]
&mut self,
n: Option<TruePlusMinus>
) -> Option<TruePlusMinus>
fn fold_ts_enum_members(&mut self, n: Vec<TsEnumMember>) -> Vec<TsEnumMember>
[src]
fn fold_opt_ts_namespace_body(
&mut self,
n: Option<TsNamespaceBody>
) -> Option<TsNamespaceBody>
[src]
&mut self,
n: Option<TsNamespaceBody>
) -> Option<TsNamespaceBody>
fn fold_opt_expr_or_spread(
&mut self,
n: Option<ExprOrSpread>
) -> Option<ExprOrSpread>
[src]
&mut self,
n: Option<ExprOrSpread>
) -> Option<ExprOrSpread>
impl<V> Repeated for Folder<V> where
V: Repeated + VisitMut,
[src]
V: Repeated + VisitMut,
Auto Trait Implementations
impl<V> RefUnwindSafe for Folder<V> where
V: RefUnwindSafe,
V: RefUnwindSafe,
impl<V> Send for Folder<V> where
V: Send,
V: Send,
impl<V> Sync for Folder<V> where
V: Sync,
V: Sync,
impl<V> Unpin for Folder<V> where
V: Unpin,
V: Unpin,
impl<V> UnwindSafe for Folder<V> where
V: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Node for T where
T: Any + ?Sized,
[src]
T: Any + ?Sized,
impl<T> Send for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Sync for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,