pub trait Visit {
Show 295 methods
// Provided methods
fn visit_accessibility(&mut self, node: &Accessibility) { ... }
fn visit_array_lit(&mut self, node: &ArrayLit) { ... }
fn visit_array_pat(&mut self, node: &ArrayPat) { ... }
fn visit_arrow_expr(&mut self, node: &ArrowExpr) { ... }
fn visit_assign_expr(&mut self, node: &AssignExpr) { ... }
fn visit_assign_op(&mut self, node: &AssignOp) { ... }
fn visit_assign_pat(&mut self, node: &AssignPat) { ... }
fn visit_assign_pat_prop(&mut self, node: &AssignPatProp) { ... }
fn visit_assign_prop(&mut self, node: &AssignProp) { ... }
fn visit_assign_target(&mut self, node: &AssignTarget) { ... }
fn visit_assign_target_pat(&mut self, node: &AssignTargetPat) { ... }
fn visit_atom(&mut self, node: &Atom) { ... }
fn visit_auto_accessor(&mut self, node: &AutoAccessor) { ... }
fn visit_await_expr(&mut self, node: &AwaitExpr) { ... }
fn visit_big_int(&mut self, node: &BigInt) { ... }
fn visit_big_int_value(&mut self, node: &BigIntValue) { ... }
fn visit_bin_expr(&mut self, node: &BinExpr) { ... }
fn visit_binary_op(&mut self, node: &BinaryOp) { ... }
fn visit_binding_ident(&mut self, node: &BindingIdent) { ... }
fn visit_block_stmt(&mut self, node: &BlockStmt) { ... }
fn visit_block_stmt_or_expr(&mut self, node: &BlockStmtOrExpr) { ... }
fn visit_bool(&mut self, node: &Bool) { ... }
fn visit_break_stmt(&mut self, node: &BreakStmt) { ... }
fn visit_call_expr(&mut self, node: &CallExpr) { ... }
fn visit_callee(&mut self, node: &Callee) { ... }
fn visit_catch_clause(&mut self, node: &CatchClause) { ... }
fn visit_class(&mut self, node: &Class) { ... }
fn visit_class_decl(&mut self, node: &ClassDecl) { ... }
fn visit_class_expr(&mut self, node: &ClassExpr) { ... }
fn visit_class_member(&mut self, node: &ClassMember) { ... }
fn visit_class_members(&mut self, node: &[ClassMember]) { ... }
fn visit_class_method(&mut self, node: &ClassMethod) { ... }
fn visit_class_prop(&mut self, node: &ClassProp) { ... }
fn visit_computed_prop_name(&mut self, node: &ComputedPropName) { ... }
fn visit_cond_expr(&mut self, node: &CondExpr) { ... }
fn visit_constructor(&mut self, node: &Constructor) { ... }
fn visit_continue_stmt(&mut self, node: &ContinueStmt) { ... }
fn visit_debugger_stmt(&mut self, node: &DebuggerStmt) { ... }
fn visit_decl(&mut self, node: &Decl) { ... }
fn visit_decorator(&mut self, node: &Decorator) { ... }
fn visit_decorators(&mut self, node: &[Decorator]) { ... }
fn visit_default_decl(&mut self, node: &DefaultDecl) { ... }
fn visit_do_while_stmt(&mut self, node: &DoWhileStmt) { ... }
fn visit_empty_stmt(&mut self, node: &EmptyStmt) { ... }
fn visit_export_all(&mut self, node: &ExportAll) { ... }
fn visit_export_decl(&mut self, node: &ExportDecl) { ... }
fn visit_export_default_decl(&mut self, node: &ExportDefaultDecl) { ... }
fn visit_export_default_expr(&mut self, node: &ExportDefaultExpr) { ... }
fn visit_export_default_specifier(&mut self, node: &ExportDefaultSpecifier) { ... }
fn visit_export_named_specifier(&mut self, node: &ExportNamedSpecifier) { ... }
fn visit_export_namespace_specifier(
&mut self,
node: &ExportNamespaceSpecifier,
) { ... }
fn visit_export_specifier(&mut self, node: &ExportSpecifier) { ... }
fn visit_export_specifiers(&mut self, node: &[ExportSpecifier]) { ... }
fn visit_expr(&mut self, node: &Expr) { ... }
fn visit_expr_or_spread(&mut self, node: &ExprOrSpread) { ... }
fn visit_expr_or_spreads(&mut self, node: &[ExprOrSpread]) { ... }
fn visit_expr_stmt(&mut self, node: &ExprStmt) { ... }
fn visit_exprs(&mut self, node: &[Box<Expr>]) { ... }
fn visit_fn_decl(&mut self, node: &FnDecl) { ... }
fn visit_fn_expr(&mut self, node: &FnExpr) { ... }
fn visit_for_head(&mut self, node: &ForHead) { ... }
fn visit_for_in_stmt(&mut self, node: &ForInStmt) { ... }
fn visit_for_of_stmt(&mut self, node: &ForOfStmt) { ... }
fn visit_for_stmt(&mut self, node: &ForStmt) { ... }
fn visit_function(&mut self, node: &Function) { ... }
fn visit_getter_prop(&mut self, node: &GetterProp) { ... }
fn visit_ident(&mut self, node: &Ident) { ... }
fn visit_ident_name(&mut self, node: &IdentName) { ... }
fn visit_if_stmt(&mut self, node: &IfStmt) { ... }
fn visit_import(&mut self, node: &Import) { ... }
fn visit_import_decl(&mut self, node: &ImportDecl) { ... }
fn visit_import_default_specifier(&mut self, node: &ImportDefaultSpecifier) { ... }
fn visit_import_named_specifier(&mut self, node: &ImportNamedSpecifier) { ... }
fn visit_import_phase(&mut self, node: &ImportPhase) { ... }
fn visit_import_specifier(&mut self, node: &ImportSpecifier) { ... }
fn visit_import_specifiers(&mut self, node: &[ImportSpecifier]) { ... }
fn visit_import_star_as_specifier(&mut self, node: &ImportStarAsSpecifier) { ... }
fn visit_import_with(&mut self, node: &ImportWith) { ... }
fn visit_import_with_item(&mut self, node: &ImportWithItem) { ... }
fn visit_import_with_items(&mut self, node: &[ImportWithItem]) { ... }
fn visit_invalid(&mut self, node: &Invalid) { ... }
fn visit_jsx_attr(&mut self, node: &JSXAttr) { ... }
fn visit_jsx_attr_name(&mut self, node: &JSXAttrName) { ... }
fn visit_jsx_attr_or_spread(&mut self, node: &JSXAttrOrSpread) { ... }
fn visit_jsx_attr_or_spreads(&mut self, node: &[JSXAttrOrSpread]) { ... }
fn visit_jsx_attr_value(&mut self, node: &JSXAttrValue) { ... }
fn visit_jsx_closing_element(&mut self, node: &JSXClosingElement) { ... }
fn visit_jsx_closing_fragment(&mut self, node: &JSXClosingFragment) { ... }
fn visit_jsx_element(&mut self, node: &JSXElement) { ... }
fn visit_jsx_element_child(&mut self, node: &JSXElementChild) { ... }
fn visit_jsx_element_childs(&mut self, node: &[JSXElementChild]) { ... }
fn visit_jsx_element_name(&mut self, node: &JSXElementName) { ... }
fn visit_jsx_empty_expr(&mut self, node: &JSXEmptyExpr) { ... }
fn visit_jsx_expr(&mut self, node: &JSXExpr) { ... }
fn visit_jsx_expr_container(&mut self, node: &JSXExprContainer) { ... }
fn visit_jsx_fragment(&mut self, node: &JSXFragment) { ... }
fn visit_jsx_member_expr(&mut self, node: &JSXMemberExpr) { ... }
fn visit_jsx_namespaced_name(&mut self, node: &JSXNamespacedName) { ... }
fn visit_jsx_object(&mut self, node: &JSXObject) { ... }
fn visit_jsx_opening_element(&mut self, node: &JSXOpeningElement) { ... }
fn visit_jsx_opening_fragment(&mut self, node: &JSXOpeningFragment) { ... }
fn visit_jsx_spread_child(&mut self, node: &JSXSpreadChild) { ... }
fn visit_jsx_text(&mut self, node: &JSXText) { ... }
fn visit_key(&mut self, node: &Key) { ... }
fn visit_key_value_pat_prop(&mut self, node: &KeyValuePatProp) { ... }
fn visit_key_value_prop(&mut self, node: &KeyValueProp) { ... }
fn visit_labeled_stmt(&mut self, node: &LabeledStmt) { ... }
fn visit_lit(&mut self, node: &Lit) { ... }
fn visit_member_expr(&mut self, node: &MemberExpr) { ... }
fn visit_member_prop(&mut self, node: &MemberProp) { ... }
fn visit_meta_prop_expr(&mut self, node: &MetaPropExpr) { ... }
fn visit_meta_prop_kind(&mut self, node: &MetaPropKind) { ... }
fn visit_method_kind(&mut self, node: &MethodKind) { ... }
fn visit_method_prop(&mut self, node: &MethodProp) { ... }
fn visit_module(&mut self, node: &Module) { ... }
fn visit_module_decl(&mut self, node: &ModuleDecl) { ... }
fn visit_module_export_name(&mut self, node: &ModuleExportName) { ... }
fn visit_module_item(&mut self, node: &ModuleItem) { ... }
fn visit_module_items(&mut self, node: &[ModuleItem]) { ... }
fn visit_named_export(&mut self, node: &NamedExport) { ... }
fn visit_new_expr(&mut self, node: &NewExpr) { ... }
fn visit_null(&mut self, node: &Null) { ... }
fn visit_number(&mut self, node: &Number) { ... }
fn visit_object_lit(&mut self, node: &ObjectLit) { ... }
fn visit_object_pat(&mut self, node: &ObjectPat) { ... }
fn visit_object_pat_prop(&mut self, node: &ObjectPatProp) { ... }
fn visit_object_pat_props(&mut self, node: &[ObjectPatProp]) { ... }
fn visit_opt_accessibility(&mut self, node: &Option<Accessibility>) { ... }
fn visit_opt_atom(&mut self, node: &Option<Atom>) { ... }
fn visit_opt_block_stmt(&mut self, node: &Option<BlockStmt>) { ... }
fn visit_opt_call(&mut self, node: &OptCall) { ... }
fn visit_opt_catch_clause(&mut self, node: &Option<CatchClause>) { ... }
fn visit_opt_chain_base(&mut self, node: &OptChainBase) { ... }
fn visit_opt_chain_expr(&mut self, node: &OptChainExpr) { ... }
fn visit_opt_expr(&mut self, node: &Option<Box<Expr>>) { ... }
fn visit_opt_expr_or_spread(&mut self, node: &Option<ExprOrSpread>) { ... }
fn visit_opt_expr_or_spreads(&mut self, node: &Option<Vec<ExprOrSpread>>) { ... }
fn visit_opt_ident(&mut self, node: &Option<Ident>) { ... }
fn visit_opt_jsx_attr_value(&mut self, node: &Option<JSXAttrValue>) { ... }
fn visit_opt_jsx_closing_element(
&mut self,
node: &Option<JSXClosingElement>,
) { ... }
fn visit_opt_module_export_name(&mut self, node: &Option<ModuleExportName>) { ... }
fn visit_opt_object_lit(&mut self, node: &Option<Box<ObjectLit>>) { ... }
fn visit_opt_pat(&mut self, node: &Option<Pat>) { ... }
fn visit_opt_span(&mut self, node: &Option<Span>) { ... }
fn visit_opt_stmt(&mut self, node: &Option<Box<Stmt>>) { ... }
fn visit_opt_str(&mut self, node: &Option<Box<Str>>) { ... }
fn visit_opt_true_plus_minus(&mut self, node: &Option<TruePlusMinus>) { ... }
fn visit_opt_ts_entity_name(&mut self, node: &Option<TsEntityName>) { ... }
fn visit_opt_ts_import_call_options(
&mut self,
node: &Option<TsImportCallOptions>,
) { ... }
fn visit_opt_ts_namespace_body(&mut self, node: &Option<TsNamespaceBody>) { ... }
fn visit_opt_ts_type(&mut self, node: &Option<Box<TsType>>) { ... }
fn visit_opt_ts_type_ann(&mut self, node: &Option<Box<TsTypeAnn>>) { ... }
fn visit_opt_ts_type_param_decl(
&mut self,
node: &Option<Box<TsTypeParamDecl>>,
) { ... }
fn visit_opt_ts_type_param_instantiation(
&mut self,
node: &Option<Box<TsTypeParamInstantiation>>,
) { ... }
fn visit_opt_var_decl_or_expr(&mut self, node: &Option<VarDeclOrExpr>) { ... }
fn visit_opt_vec_expr_or_spreads(&mut self, node: &[Option<ExprOrSpread>]) { ... }
fn visit_opt_vec_pats(&mut self, node: &[Option<Pat>]) { ... }
fn visit_opt_wtf_8_atom(&mut self, node: &Option<Wtf8Atom>) { ... }
fn visit_param(&mut self, node: &Param) { ... }
fn visit_param_or_ts_param_prop(&mut self, node: &ParamOrTsParamProp) { ... }
fn visit_param_or_ts_param_props(&mut self, node: &[ParamOrTsParamProp]) { ... }
fn visit_params(&mut self, node: &[Param]) { ... }
fn visit_paren_expr(&mut self, node: &ParenExpr) { ... }
fn visit_pat(&mut self, node: &Pat) { ... }
fn visit_pats(&mut self, node: &[Pat]) { ... }
fn visit_private_method(&mut self, node: &PrivateMethod) { ... }
fn visit_private_name(&mut self, node: &PrivateName) { ... }
fn visit_private_prop(&mut self, node: &PrivateProp) { ... }
fn visit_program(&mut self, node: &Program) { ... }
fn visit_prop(&mut self, node: &Prop) { ... }
fn visit_prop_name(&mut self, node: &PropName) { ... }
fn visit_prop_or_spread(&mut self, node: &PropOrSpread) { ... }
fn visit_prop_or_spreads(&mut self, node: &[PropOrSpread]) { ... }
fn visit_regex(&mut self, node: &Regex) { ... }
fn visit_rest_pat(&mut self, node: &RestPat) { ... }
fn visit_return_stmt(&mut self, node: &ReturnStmt) { ... }
fn visit_script(&mut self, node: &Script) { ... }
fn visit_seq_expr(&mut self, node: &SeqExpr) { ... }
fn visit_setter_prop(&mut self, node: &SetterProp) { ... }
fn visit_simple_assign_target(&mut self, node: &SimpleAssignTarget) { ... }
fn visit_span(&mut self, node: &Span) { ... }
fn visit_spread_element(&mut self, node: &SpreadElement) { ... }
fn visit_static_block(&mut self, node: &StaticBlock) { ... }
fn visit_stmt(&mut self, node: &Stmt) { ... }
fn visit_stmts(&mut self, node: &[Stmt]) { ... }
fn visit_str(&mut self, node: &Str) { ... }
fn visit_super(&mut self, node: &Super) { ... }
fn visit_super_prop(&mut self, node: &SuperProp) { ... }
fn visit_super_prop_expr(&mut self, node: &SuperPropExpr) { ... }
fn visit_switch_case(&mut self, node: &SwitchCase) { ... }
fn visit_switch_cases(&mut self, node: &[SwitchCase]) { ... }
fn visit_switch_stmt(&mut self, node: &SwitchStmt) { ... }
fn visit_syntax_context(&mut self, node: &SyntaxContext) { ... }
fn visit_tagged_tpl(&mut self, node: &TaggedTpl) { ... }
fn visit_this_expr(&mut self, node: &ThisExpr) { ... }
fn visit_throw_stmt(&mut self, node: &ThrowStmt) { ... }
fn visit_tpl(&mut self, node: &Tpl) { ... }
fn visit_tpl_element(&mut self, node: &TplElement) { ... }
fn visit_tpl_elements(&mut self, node: &[TplElement]) { ... }
fn visit_true_plus_minus(&mut self, node: &TruePlusMinus) { ... }
fn visit_try_stmt(&mut self, node: &TryStmt) { ... }
fn visit_ts_array_type(&mut self, node: &TsArrayType) { ... }
fn visit_ts_as_expr(&mut self, node: &TsAsExpr) { ... }
fn visit_ts_call_signature_decl(&mut self, node: &TsCallSignatureDecl) { ... }
fn visit_ts_conditional_type(&mut self, node: &TsConditionalType) { ... }
fn visit_ts_const_assertion(&mut self, node: &TsConstAssertion) { ... }
fn visit_ts_construct_signature_decl(
&mut self,
node: &TsConstructSignatureDecl,
) { ... }
fn visit_ts_constructor_type(&mut self, node: &TsConstructorType) { ... }
fn visit_ts_entity_name(&mut self, node: &TsEntityName) { ... }
fn visit_ts_enum_decl(&mut self, node: &TsEnumDecl) { ... }
fn visit_ts_enum_member(&mut self, node: &TsEnumMember) { ... }
fn visit_ts_enum_member_id(&mut self, node: &TsEnumMemberId) { ... }
fn visit_ts_enum_members(&mut self, node: &[TsEnumMember]) { ... }
fn visit_ts_export_assignment(&mut self, node: &TsExportAssignment) { ... }
fn visit_ts_expr_with_type_args(&mut self, node: &TsExprWithTypeArgs) { ... }
fn visit_ts_expr_with_type_argss(&mut self, node: &[TsExprWithTypeArgs]) { ... }
fn visit_ts_external_module_ref(&mut self, node: &TsExternalModuleRef) { ... }
fn visit_ts_fn_or_constructor_type(&mut self, node: &TsFnOrConstructorType) { ... }
fn visit_ts_fn_param(&mut self, node: &TsFnParam) { ... }
fn visit_ts_fn_params(&mut self, node: &[TsFnParam]) { ... }
fn visit_ts_fn_type(&mut self, node: &TsFnType) { ... }
fn visit_ts_getter_signature(&mut self, node: &TsGetterSignature) { ... }
fn visit_ts_import_call_options(&mut self, node: &TsImportCallOptions) { ... }
fn visit_ts_import_equals_decl(&mut self, node: &TsImportEqualsDecl) { ... }
fn visit_ts_import_type(&mut self, node: &TsImportType) { ... }
fn visit_ts_index_signature(&mut self, node: &TsIndexSignature) { ... }
fn visit_ts_indexed_access_type(&mut self, node: &TsIndexedAccessType) { ... }
fn visit_ts_infer_type(&mut self, node: &TsInferType) { ... }
fn visit_ts_instantiation(&mut self, node: &TsInstantiation) { ... }
fn visit_ts_interface_body(&mut self, node: &TsInterfaceBody) { ... }
fn visit_ts_interface_decl(&mut self, node: &TsInterfaceDecl) { ... }
fn visit_ts_intersection_type(&mut self, node: &TsIntersectionType) { ... }
fn visit_ts_keyword_type(&mut self, node: &TsKeywordType) { ... }
fn visit_ts_keyword_type_kind(&mut self, node: &TsKeywordTypeKind) { ... }
fn visit_ts_lit(&mut self, node: &TsLit) { ... }
fn visit_ts_lit_type(&mut self, node: &TsLitType) { ... }
fn visit_ts_mapped_type(&mut self, node: &TsMappedType) { ... }
fn visit_ts_method_signature(&mut self, node: &TsMethodSignature) { ... }
fn visit_ts_module_block(&mut self, node: &TsModuleBlock) { ... }
fn visit_ts_module_decl(&mut self, node: &TsModuleDecl) { ... }
fn visit_ts_module_name(&mut self, node: &TsModuleName) { ... }
fn visit_ts_module_ref(&mut self, node: &TsModuleRef) { ... }
fn visit_ts_namespace_body(&mut self, node: &TsNamespaceBody) { ... }
fn visit_ts_namespace_decl(&mut self, node: &TsNamespaceDecl) { ... }
fn visit_ts_namespace_export_decl(&mut self, node: &TsNamespaceExportDecl) { ... }
fn visit_ts_non_null_expr(&mut self, node: &TsNonNullExpr) { ... }
fn visit_ts_optional_type(&mut self, node: &TsOptionalType) { ... }
fn visit_ts_param_prop(&mut self, node: &TsParamProp) { ... }
fn visit_ts_param_prop_param(&mut self, node: &TsParamPropParam) { ... }
fn visit_ts_parenthesized_type(&mut self, node: &TsParenthesizedType) { ... }
fn visit_ts_property_signature(&mut self, node: &TsPropertySignature) { ... }
fn visit_ts_qualified_name(&mut self, node: &TsQualifiedName) { ... }
fn visit_ts_rest_type(&mut self, node: &TsRestType) { ... }
fn visit_ts_satisfies_expr(&mut self, node: &TsSatisfiesExpr) { ... }
fn visit_ts_setter_signature(&mut self, node: &TsSetterSignature) { ... }
fn visit_ts_this_type(&mut self, node: &TsThisType) { ... }
fn visit_ts_this_type_or_ident(&mut self, node: &TsThisTypeOrIdent) { ... }
fn visit_ts_tpl_lit_type(&mut self, node: &TsTplLitType) { ... }
fn visit_ts_tuple_element(&mut self, node: &TsTupleElement) { ... }
fn visit_ts_tuple_elements(&mut self, node: &[TsTupleElement]) { ... }
fn visit_ts_tuple_type(&mut self, node: &TsTupleType) { ... }
fn visit_ts_type(&mut self, node: &TsType) { ... }
fn visit_ts_type_alias_decl(&mut self, node: &TsTypeAliasDecl) { ... }
fn visit_ts_type_ann(&mut self, node: &TsTypeAnn) { ... }
fn visit_ts_type_assertion(&mut self, node: &TsTypeAssertion) { ... }
fn visit_ts_type_element(&mut self, node: &TsTypeElement) { ... }
fn visit_ts_type_elements(&mut self, node: &[TsTypeElement]) { ... }
fn visit_ts_type_lit(&mut self, node: &TsTypeLit) { ... }
fn visit_ts_type_operator(&mut self, node: &TsTypeOperator) { ... }
fn visit_ts_type_operator_op(&mut self, node: &TsTypeOperatorOp) { ... }
fn visit_ts_type_param(&mut self, node: &TsTypeParam) { ... }
fn visit_ts_type_param_decl(&mut self, node: &TsTypeParamDecl) { ... }
fn visit_ts_type_param_instantiation(
&mut self,
node: &TsTypeParamInstantiation,
) { ... }
fn visit_ts_type_params(&mut self, node: &[TsTypeParam]) { ... }
fn visit_ts_type_predicate(&mut self, node: &TsTypePredicate) { ... }
fn visit_ts_type_query(&mut self, node: &TsTypeQuery) { ... }
fn visit_ts_type_query_expr(&mut self, node: &TsTypeQueryExpr) { ... }
fn visit_ts_type_ref(&mut self, node: &TsTypeRef) { ... }
fn visit_ts_types(&mut self, node: &[Box<TsType>]) { ... }
fn visit_ts_union_or_intersection_type(
&mut self,
node: &TsUnionOrIntersectionType,
) { ... }
fn visit_ts_union_type(&mut self, node: &TsUnionType) { ... }
fn visit_unary_expr(&mut self, node: &UnaryExpr) { ... }
fn visit_unary_op(&mut self, node: &UnaryOp) { ... }
fn visit_update_expr(&mut self, node: &UpdateExpr) { ... }
fn visit_update_op(&mut self, node: &UpdateOp) { ... }
fn visit_using_decl(&mut self, node: &UsingDecl) { ... }
fn visit_var_decl(&mut self, node: &VarDecl) { ... }
fn visit_var_decl_kind(&mut self, node: &VarDeclKind) { ... }
fn visit_var_decl_or_expr(&mut self, node: &VarDeclOrExpr) { ... }
fn visit_var_declarator(&mut self, node: &VarDeclarator) { ... }
fn visit_var_declarators(&mut self, node: &[VarDeclarator]) { ... }
fn visit_while_stmt(&mut self, node: &WhileStmt) { ... }
fn visit_with_stmt(&mut self, node: &WithStmt) { ... }
fn visit_wtf_8_atom(&mut self, node: &Wtf8Atom) { ... }
fn visit_yield_expr(&mut self, node: &YieldExpr) { ... }
}Expand description
A visitor trait for traversing the AST.
Provided Methods§
Sourcefn visit_accessibility(&mut self, node: &Accessibility)
fn visit_accessibility(&mut self, node: &Accessibility)
Visit a node of type Accessibility.
By default, this method calls [Accessibility::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_array_lit(&mut self, node: &ArrayLit)
fn visit_array_lit(&mut self, node: &ArrayLit)
Visit a node of type ArrayLit.
By default, this method calls [ArrayLit::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_array_pat(&mut self, node: &ArrayPat)
fn visit_array_pat(&mut self, node: &ArrayPat)
Visit a node of type ArrayPat.
By default, this method calls [ArrayPat::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_arrow_expr(&mut self, node: &ArrowExpr)
fn visit_arrow_expr(&mut self, node: &ArrowExpr)
Visit a node of type ArrowExpr.
By default, this method calls [ArrowExpr::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_assign_expr(&mut self, node: &AssignExpr)
fn visit_assign_expr(&mut self, node: &AssignExpr)
Visit a node of type AssignExpr.
By default, this method calls [AssignExpr::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_assign_op(&mut self, node: &AssignOp)
fn visit_assign_op(&mut self, node: &AssignOp)
Visit a node of type AssignOp.
By default, this method calls [AssignOp::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_assign_pat(&mut self, node: &AssignPat)
fn visit_assign_pat(&mut self, node: &AssignPat)
Visit a node of type AssignPat.
By default, this method calls [AssignPat::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_assign_pat_prop(&mut self, node: &AssignPatProp)
fn visit_assign_pat_prop(&mut self, node: &AssignPatProp)
Visit a node of type AssignPatProp.
By default, this method calls [AssignPatProp::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_assign_prop(&mut self, node: &AssignProp)
fn visit_assign_prop(&mut self, node: &AssignProp)
Visit a node of type AssignProp.
By default, this method calls [AssignProp::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_assign_target(&mut self, node: &AssignTarget)
fn visit_assign_target(&mut self, node: &AssignTarget)
Visit a node of type AssignTarget.
By default, this method calls [AssignTarget::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_assign_target_pat(&mut self, node: &AssignTargetPat)
fn visit_assign_target_pat(&mut self, node: &AssignTargetPat)
Visit a node of type AssignTargetPat.
By default, this method calls [AssignTargetPat::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_atom(&mut self, node: &Atom)
fn visit_atom(&mut self, node: &Atom)
Visit a node of type swc_atoms :: Atom.
By default, this method calls [swc_atoms :: Atom::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_auto_accessor(&mut self, node: &AutoAccessor)
fn visit_auto_accessor(&mut self, node: &AutoAccessor)
Visit a node of type AutoAccessor.
By default, this method calls [AutoAccessor::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_await_expr(&mut self, node: &AwaitExpr)
fn visit_await_expr(&mut self, node: &AwaitExpr)
Visit a node of type AwaitExpr.
By default, this method calls [AwaitExpr::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_big_int(&mut self, node: &BigInt)
fn visit_big_int(&mut self, node: &BigInt)
Visit a node of type BigInt.
By default, this method calls [BigInt::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_big_int_value(&mut self, node: &BigIntValue)
fn visit_big_int_value(&mut self, node: &BigIntValue)
Visit a node of type BigIntValue.
By default, this method calls BigIntValue::visit_children_with. If you want to recurse, you need to call it manually.
Sourcefn visit_bin_expr(&mut self, node: &BinExpr)
fn visit_bin_expr(&mut self, node: &BinExpr)
Visit a node of type BinExpr.
By default, this method calls [BinExpr::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_binary_op(&mut self, node: &BinaryOp)
fn visit_binary_op(&mut self, node: &BinaryOp)
Visit a node of type BinaryOp.
By default, this method calls [BinaryOp::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_binding_ident(&mut self, node: &BindingIdent)
fn visit_binding_ident(&mut self, node: &BindingIdent)
Visit a node of type BindingIdent.
By default, this method calls [BindingIdent::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_block_stmt(&mut self, node: &BlockStmt)
fn visit_block_stmt(&mut self, node: &BlockStmt)
Visit a node of type BlockStmt.
By default, this method calls [BlockStmt::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_block_stmt_or_expr(&mut self, node: &BlockStmtOrExpr)
fn visit_block_stmt_or_expr(&mut self, node: &BlockStmtOrExpr)
Visit a node of type BlockStmtOrExpr.
By default, this method calls [BlockStmtOrExpr::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_bool(&mut self, node: &Bool)
fn visit_bool(&mut self, node: &Bool)
Visit a node of type Bool.
By default, this method calls [Bool::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_break_stmt(&mut self, node: &BreakStmt)
fn visit_break_stmt(&mut self, node: &BreakStmt)
Visit a node of type BreakStmt.
By default, this method calls [BreakStmt::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_call_expr(&mut self, node: &CallExpr)
fn visit_call_expr(&mut self, node: &CallExpr)
Visit a node of type CallExpr.
By default, this method calls [CallExpr::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_callee(&mut self, node: &Callee)
fn visit_callee(&mut self, node: &Callee)
Visit a node of type Callee.
By default, this method calls [Callee::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_catch_clause(&mut self, node: &CatchClause)
fn visit_catch_clause(&mut self, node: &CatchClause)
Visit a node of type CatchClause.
By default, this method calls [CatchClause::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_class(&mut self, node: &Class)
fn visit_class(&mut self, node: &Class)
Visit a node of type Class.
By default, this method calls [Class::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_class_decl(&mut self, node: &ClassDecl)
fn visit_class_decl(&mut self, node: &ClassDecl)
Visit a node of type ClassDecl.
By default, this method calls [ClassDecl::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_class_expr(&mut self, node: &ClassExpr)
fn visit_class_expr(&mut self, node: &ClassExpr)
Visit a node of type ClassExpr.
By default, this method calls [ClassExpr::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_class_member(&mut self, node: &ClassMember)
fn visit_class_member(&mut self, node: &ClassMember)
Visit a node of type ClassMember.
By default, this method calls [ClassMember::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_class_members(&mut self, node: &[ClassMember])
fn visit_class_members(&mut self, node: &[ClassMember])
Visit a node of type Vec < ClassMember >.
By default, this method calls [Vec < ClassMember >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_class_method(&mut self, node: &ClassMethod)
fn visit_class_method(&mut self, node: &ClassMethod)
Visit a node of type ClassMethod.
By default, this method calls [ClassMethod::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_class_prop(&mut self, node: &ClassProp)
fn visit_class_prop(&mut self, node: &ClassProp)
Visit a node of type ClassProp.
By default, this method calls [ClassProp::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_computed_prop_name(&mut self, node: &ComputedPropName)
fn visit_computed_prop_name(&mut self, node: &ComputedPropName)
Visit a node of type ComputedPropName.
By default, this method calls [ComputedPropName::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_cond_expr(&mut self, node: &CondExpr)
fn visit_cond_expr(&mut self, node: &CondExpr)
Visit a node of type CondExpr.
By default, this method calls [CondExpr::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_constructor(&mut self, node: &Constructor)
fn visit_constructor(&mut self, node: &Constructor)
Visit a node of type Constructor.
By default, this method calls [Constructor::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_continue_stmt(&mut self, node: &ContinueStmt)
fn visit_continue_stmt(&mut self, node: &ContinueStmt)
Visit a node of type ContinueStmt.
By default, this method calls [ContinueStmt::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_debugger_stmt(&mut self, node: &DebuggerStmt)
fn visit_debugger_stmt(&mut self, node: &DebuggerStmt)
Visit a node of type DebuggerStmt.
By default, this method calls [DebuggerStmt::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_decl(&mut self, node: &Decl)
fn visit_decl(&mut self, node: &Decl)
Visit a node of type Decl.
By default, this method calls [Decl::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_decorator(&mut self, node: &Decorator)
fn visit_decorator(&mut self, node: &Decorator)
Visit a node of type Decorator.
By default, this method calls [Decorator::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_decorators(&mut self, node: &[Decorator])
fn visit_decorators(&mut self, node: &[Decorator])
Visit a node of type Vec < Decorator >.
By default, this method calls [Vec < Decorator >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_default_decl(&mut self, node: &DefaultDecl)
fn visit_default_decl(&mut self, node: &DefaultDecl)
Visit a node of type DefaultDecl.
By default, this method calls [DefaultDecl::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_do_while_stmt(&mut self, node: &DoWhileStmt)
fn visit_do_while_stmt(&mut self, node: &DoWhileStmt)
Visit a node of type DoWhileStmt.
By default, this method calls [DoWhileStmt::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_empty_stmt(&mut self, node: &EmptyStmt)
fn visit_empty_stmt(&mut self, node: &EmptyStmt)
Visit a node of type EmptyStmt.
By default, this method calls [EmptyStmt::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_export_all(&mut self, node: &ExportAll)
fn visit_export_all(&mut self, node: &ExportAll)
Visit a node of type ExportAll.
By default, this method calls [ExportAll::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_export_decl(&mut self, node: &ExportDecl)
fn visit_export_decl(&mut self, node: &ExportDecl)
Visit a node of type ExportDecl.
By default, this method calls [ExportDecl::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_export_default_decl(&mut self, node: &ExportDefaultDecl)
fn visit_export_default_decl(&mut self, node: &ExportDefaultDecl)
Visit a node of type ExportDefaultDecl.
By default, this method calls [ExportDefaultDecl::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_export_default_expr(&mut self, node: &ExportDefaultExpr)
fn visit_export_default_expr(&mut self, node: &ExportDefaultExpr)
Visit a node of type ExportDefaultExpr.
By default, this method calls [ExportDefaultExpr::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_export_default_specifier(&mut self, node: &ExportDefaultSpecifier)
fn visit_export_default_specifier(&mut self, node: &ExportDefaultSpecifier)
Visit a node of type ExportDefaultSpecifier.
By default, this method calls [ExportDefaultSpecifier::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_export_named_specifier(&mut self, node: &ExportNamedSpecifier)
fn visit_export_named_specifier(&mut self, node: &ExportNamedSpecifier)
Visit a node of type ExportNamedSpecifier.
By default, this method calls [ExportNamedSpecifier::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_export_namespace_specifier(&mut self, node: &ExportNamespaceSpecifier)
fn visit_export_namespace_specifier(&mut self, node: &ExportNamespaceSpecifier)
Visit a node of type ExportNamespaceSpecifier.
By default, this method calls [ExportNamespaceSpecifier::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_export_specifier(&mut self, node: &ExportSpecifier)
fn visit_export_specifier(&mut self, node: &ExportSpecifier)
Visit a node of type ExportSpecifier.
By default, this method calls [ExportSpecifier::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_export_specifiers(&mut self, node: &[ExportSpecifier])
fn visit_export_specifiers(&mut self, node: &[ExportSpecifier])
Visit a node of type Vec < ExportSpecifier >.
By default, this method calls [Vec < ExportSpecifier >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_expr(&mut self, node: &Expr)
fn visit_expr(&mut self, node: &Expr)
Visit a node of type Expr.
By default, this method calls [Expr::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_expr_or_spread(&mut self, node: &ExprOrSpread)
fn visit_expr_or_spread(&mut self, node: &ExprOrSpread)
Visit a node of type ExprOrSpread.
By default, this method calls [ExprOrSpread::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_expr_or_spreads(&mut self, node: &[ExprOrSpread])
fn visit_expr_or_spreads(&mut self, node: &[ExprOrSpread])
Visit a node of type Vec < ExprOrSpread >.
By default, this method calls [Vec < ExprOrSpread >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_expr_stmt(&mut self, node: &ExprStmt)
fn visit_expr_stmt(&mut self, node: &ExprStmt)
Visit a node of type ExprStmt.
By default, this method calls [ExprStmt::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_exprs(&mut self, node: &[Box<Expr>])
fn visit_exprs(&mut self, node: &[Box<Expr>])
Visit a node of type Vec < Box < Expr > >.
By default, this method calls [Vec < Box < Expr > >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_fn_decl(&mut self, node: &FnDecl)
fn visit_fn_decl(&mut self, node: &FnDecl)
Visit a node of type FnDecl.
By default, this method calls [FnDecl::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_fn_expr(&mut self, node: &FnExpr)
fn visit_fn_expr(&mut self, node: &FnExpr)
Visit a node of type FnExpr.
By default, this method calls [FnExpr::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_for_head(&mut self, node: &ForHead)
fn visit_for_head(&mut self, node: &ForHead)
Visit a node of type ForHead.
By default, this method calls [ForHead::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_for_in_stmt(&mut self, node: &ForInStmt)
fn visit_for_in_stmt(&mut self, node: &ForInStmt)
Visit a node of type ForInStmt.
By default, this method calls [ForInStmt::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_for_of_stmt(&mut self, node: &ForOfStmt)
fn visit_for_of_stmt(&mut self, node: &ForOfStmt)
Visit a node of type ForOfStmt.
By default, this method calls [ForOfStmt::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_for_stmt(&mut self, node: &ForStmt)
fn visit_for_stmt(&mut self, node: &ForStmt)
Visit a node of type ForStmt.
By default, this method calls [ForStmt::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_function(&mut self, node: &Function)
fn visit_function(&mut self, node: &Function)
Visit a node of type Function.
By default, this method calls [Function::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_getter_prop(&mut self, node: &GetterProp)
fn visit_getter_prop(&mut self, node: &GetterProp)
Visit a node of type GetterProp.
By default, this method calls [GetterProp::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ident(&mut self, node: &Ident)
fn visit_ident(&mut self, node: &Ident)
Visit a node of type Ident.
By default, this method calls [Ident::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ident_name(&mut self, node: &IdentName)
fn visit_ident_name(&mut self, node: &IdentName)
Visit a node of type IdentName.
By default, this method calls [IdentName::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_if_stmt(&mut self, node: &IfStmt)
fn visit_if_stmt(&mut self, node: &IfStmt)
Visit a node of type IfStmt.
By default, this method calls [IfStmt::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_import(&mut self, node: &Import)
fn visit_import(&mut self, node: &Import)
Visit a node of type Import.
By default, this method calls [Import::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_import_decl(&mut self, node: &ImportDecl)
fn visit_import_decl(&mut self, node: &ImportDecl)
Visit a node of type ImportDecl.
By default, this method calls [ImportDecl::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_import_default_specifier(&mut self, node: &ImportDefaultSpecifier)
fn visit_import_default_specifier(&mut self, node: &ImportDefaultSpecifier)
Visit a node of type ImportDefaultSpecifier.
By default, this method calls [ImportDefaultSpecifier::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_import_named_specifier(&mut self, node: &ImportNamedSpecifier)
fn visit_import_named_specifier(&mut self, node: &ImportNamedSpecifier)
Visit a node of type ImportNamedSpecifier.
By default, this method calls [ImportNamedSpecifier::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_import_phase(&mut self, node: &ImportPhase)
fn visit_import_phase(&mut self, node: &ImportPhase)
Visit a node of type ImportPhase.
By default, this method calls [ImportPhase::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_import_specifier(&mut self, node: &ImportSpecifier)
fn visit_import_specifier(&mut self, node: &ImportSpecifier)
Visit a node of type ImportSpecifier.
By default, this method calls [ImportSpecifier::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_import_specifiers(&mut self, node: &[ImportSpecifier])
fn visit_import_specifiers(&mut self, node: &[ImportSpecifier])
Visit a node of type Vec < ImportSpecifier >.
By default, this method calls [Vec < ImportSpecifier >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_import_star_as_specifier(&mut self, node: &ImportStarAsSpecifier)
fn visit_import_star_as_specifier(&mut self, node: &ImportStarAsSpecifier)
Visit a node of type ImportStarAsSpecifier.
By default, this method calls [ImportStarAsSpecifier::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_import_with(&mut self, node: &ImportWith)
fn visit_import_with(&mut self, node: &ImportWith)
Visit a node of type ImportWith.
By default, this method calls [ImportWith::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_import_with_item(&mut self, node: &ImportWithItem)
fn visit_import_with_item(&mut self, node: &ImportWithItem)
Visit a node of type ImportWithItem.
By default, this method calls [ImportWithItem::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_import_with_items(&mut self, node: &[ImportWithItem])
fn visit_import_with_items(&mut self, node: &[ImportWithItem])
Visit a node of type Vec < ImportWithItem >.
By default, this method calls [Vec < ImportWithItem >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_invalid(&mut self, node: &Invalid)
fn visit_invalid(&mut self, node: &Invalid)
Visit a node of type Invalid.
By default, this method calls [Invalid::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_jsx_attr(&mut self, node: &JSXAttr)
fn visit_jsx_attr(&mut self, node: &JSXAttr)
Visit a node of type JSXAttr.
By default, this method calls [JSXAttr::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_jsx_attr_name(&mut self, node: &JSXAttrName)
fn visit_jsx_attr_name(&mut self, node: &JSXAttrName)
Visit a node of type JSXAttrName.
By default, this method calls [JSXAttrName::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_jsx_attr_or_spread(&mut self, node: &JSXAttrOrSpread)
fn visit_jsx_attr_or_spread(&mut self, node: &JSXAttrOrSpread)
Visit a node of type JSXAttrOrSpread.
By default, this method calls [JSXAttrOrSpread::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_jsx_attr_or_spreads(&mut self, node: &[JSXAttrOrSpread])
fn visit_jsx_attr_or_spreads(&mut self, node: &[JSXAttrOrSpread])
Visit a node of type Vec < JSXAttrOrSpread >.
By default, this method calls [Vec < JSXAttrOrSpread >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_jsx_attr_value(&mut self, node: &JSXAttrValue)
fn visit_jsx_attr_value(&mut self, node: &JSXAttrValue)
Visit a node of type JSXAttrValue.
By default, this method calls [JSXAttrValue::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_jsx_closing_element(&mut self, node: &JSXClosingElement)
fn visit_jsx_closing_element(&mut self, node: &JSXClosingElement)
Visit a node of type JSXClosingElement.
By default, this method calls [JSXClosingElement::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_jsx_closing_fragment(&mut self, node: &JSXClosingFragment)
fn visit_jsx_closing_fragment(&mut self, node: &JSXClosingFragment)
Visit a node of type JSXClosingFragment.
By default, this method calls [JSXClosingFragment::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_jsx_element(&mut self, node: &JSXElement)
fn visit_jsx_element(&mut self, node: &JSXElement)
Visit a node of type JSXElement.
By default, this method calls [JSXElement::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_jsx_element_child(&mut self, node: &JSXElementChild)
fn visit_jsx_element_child(&mut self, node: &JSXElementChild)
Visit a node of type JSXElementChild.
By default, this method calls [JSXElementChild::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_jsx_element_childs(&mut self, node: &[JSXElementChild])
fn visit_jsx_element_childs(&mut self, node: &[JSXElementChild])
Visit a node of type Vec < JSXElementChild >.
By default, this method calls [Vec < JSXElementChild >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_jsx_element_name(&mut self, node: &JSXElementName)
fn visit_jsx_element_name(&mut self, node: &JSXElementName)
Visit a node of type JSXElementName.
By default, this method calls [JSXElementName::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_jsx_empty_expr(&mut self, node: &JSXEmptyExpr)
fn visit_jsx_empty_expr(&mut self, node: &JSXEmptyExpr)
Visit a node of type JSXEmptyExpr.
By default, this method calls [JSXEmptyExpr::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_jsx_expr(&mut self, node: &JSXExpr)
fn visit_jsx_expr(&mut self, node: &JSXExpr)
Visit a node of type JSXExpr.
By default, this method calls [JSXExpr::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_jsx_expr_container(&mut self, node: &JSXExprContainer)
fn visit_jsx_expr_container(&mut self, node: &JSXExprContainer)
Visit a node of type JSXExprContainer.
By default, this method calls [JSXExprContainer::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_jsx_fragment(&mut self, node: &JSXFragment)
fn visit_jsx_fragment(&mut self, node: &JSXFragment)
Visit a node of type JSXFragment.
By default, this method calls [JSXFragment::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_jsx_member_expr(&mut self, node: &JSXMemberExpr)
fn visit_jsx_member_expr(&mut self, node: &JSXMemberExpr)
Visit a node of type JSXMemberExpr.
By default, this method calls [JSXMemberExpr::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_jsx_namespaced_name(&mut self, node: &JSXNamespacedName)
fn visit_jsx_namespaced_name(&mut self, node: &JSXNamespacedName)
Visit a node of type JSXNamespacedName.
By default, this method calls [JSXNamespacedName::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_jsx_object(&mut self, node: &JSXObject)
fn visit_jsx_object(&mut self, node: &JSXObject)
Visit a node of type JSXObject.
By default, this method calls [JSXObject::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_jsx_opening_element(&mut self, node: &JSXOpeningElement)
fn visit_jsx_opening_element(&mut self, node: &JSXOpeningElement)
Visit a node of type JSXOpeningElement.
By default, this method calls [JSXOpeningElement::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_jsx_opening_fragment(&mut self, node: &JSXOpeningFragment)
fn visit_jsx_opening_fragment(&mut self, node: &JSXOpeningFragment)
Visit a node of type JSXOpeningFragment.
By default, this method calls [JSXOpeningFragment::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_jsx_spread_child(&mut self, node: &JSXSpreadChild)
fn visit_jsx_spread_child(&mut self, node: &JSXSpreadChild)
Visit a node of type JSXSpreadChild.
By default, this method calls [JSXSpreadChild::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_jsx_text(&mut self, node: &JSXText)
fn visit_jsx_text(&mut self, node: &JSXText)
Visit a node of type JSXText.
By default, this method calls [JSXText::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_key(&mut self, node: &Key)
fn visit_key(&mut self, node: &Key)
Visit a node of type Key.
By default, this method calls [Key::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_key_value_pat_prop(&mut self, node: &KeyValuePatProp)
fn visit_key_value_pat_prop(&mut self, node: &KeyValuePatProp)
Visit a node of type KeyValuePatProp.
By default, this method calls [KeyValuePatProp::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_key_value_prop(&mut self, node: &KeyValueProp)
fn visit_key_value_prop(&mut self, node: &KeyValueProp)
Visit a node of type KeyValueProp.
By default, this method calls [KeyValueProp::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_labeled_stmt(&mut self, node: &LabeledStmt)
fn visit_labeled_stmt(&mut self, node: &LabeledStmt)
Visit a node of type LabeledStmt.
By default, this method calls [LabeledStmt::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_lit(&mut self, node: &Lit)
fn visit_lit(&mut self, node: &Lit)
Visit a node of type Lit.
By default, this method calls [Lit::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_member_expr(&mut self, node: &MemberExpr)
fn visit_member_expr(&mut self, node: &MemberExpr)
Visit a node of type MemberExpr.
By default, this method calls [MemberExpr::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_member_prop(&mut self, node: &MemberProp)
fn visit_member_prop(&mut self, node: &MemberProp)
Visit a node of type MemberProp.
By default, this method calls [MemberProp::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_meta_prop_expr(&mut self, node: &MetaPropExpr)
fn visit_meta_prop_expr(&mut self, node: &MetaPropExpr)
Visit a node of type MetaPropExpr.
By default, this method calls [MetaPropExpr::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_meta_prop_kind(&mut self, node: &MetaPropKind)
fn visit_meta_prop_kind(&mut self, node: &MetaPropKind)
Visit a node of type MetaPropKind.
By default, this method calls [MetaPropKind::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_method_kind(&mut self, node: &MethodKind)
fn visit_method_kind(&mut self, node: &MethodKind)
Visit a node of type MethodKind.
By default, this method calls [MethodKind::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_method_prop(&mut self, node: &MethodProp)
fn visit_method_prop(&mut self, node: &MethodProp)
Visit a node of type MethodProp.
By default, this method calls [MethodProp::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_module(&mut self, node: &Module)
fn visit_module(&mut self, node: &Module)
Visit a node of type Module.
By default, this method calls [Module::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_module_decl(&mut self, node: &ModuleDecl)
fn visit_module_decl(&mut self, node: &ModuleDecl)
Visit a node of type ModuleDecl.
By default, this method calls [ModuleDecl::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_module_export_name(&mut self, node: &ModuleExportName)
fn visit_module_export_name(&mut self, node: &ModuleExportName)
Visit a node of type ModuleExportName.
By default, this method calls [ModuleExportName::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_module_item(&mut self, node: &ModuleItem)
fn visit_module_item(&mut self, node: &ModuleItem)
Visit a node of type ModuleItem.
By default, this method calls [ModuleItem::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_module_items(&mut self, node: &[ModuleItem])
fn visit_module_items(&mut self, node: &[ModuleItem])
Visit a node of type Vec < ModuleItem >.
By default, this method calls [Vec < ModuleItem >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_named_export(&mut self, node: &NamedExport)
fn visit_named_export(&mut self, node: &NamedExport)
Visit a node of type NamedExport.
By default, this method calls [NamedExport::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_new_expr(&mut self, node: &NewExpr)
fn visit_new_expr(&mut self, node: &NewExpr)
Visit a node of type NewExpr.
By default, this method calls [NewExpr::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_null(&mut self, node: &Null)
fn visit_null(&mut self, node: &Null)
Visit a node of type Null.
By default, this method calls [Null::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_number(&mut self, node: &Number)
fn visit_number(&mut self, node: &Number)
Visit a node of type Number.
By default, this method calls [Number::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_object_lit(&mut self, node: &ObjectLit)
fn visit_object_lit(&mut self, node: &ObjectLit)
Visit a node of type ObjectLit.
By default, this method calls [ObjectLit::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_object_pat(&mut self, node: &ObjectPat)
fn visit_object_pat(&mut self, node: &ObjectPat)
Visit a node of type ObjectPat.
By default, this method calls [ObjectPat::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_object_pat_prop(&mut self, node: &ObjectPatProp)
fn visit_object_pat_prop(&mut self, node: &ObjectPatProp)
Visit a node of type ObjectPatProp.
By default, this method calls [ObjectPatProp::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_object_pat_props(&mut self, node: &[ObjectPatProp])
fn visit_object_pat_props(&mut self, node: &[ObjectPatProp])
Visit a node of type Vec < ObjectPatProp >.
By default, this method calls [Vec < ObjectPatProp >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_opt_accessibility(&mut self, node: &Option<Accessibility>)
fn visit_opt_accessibility(&mut self, node: &Option<Accessibility>)
Visit a node of type Option < Accessibility >.
By default, this method calls [Option < Accessibility >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_opt_atom(&mut self, node: &Option<Atom>)
fn visit_opt_atom(&mut self, node: &Option<Atom>)
Visit a node of type Option < swc_atoms :: Atom >.
By default, this method calls [Option < swc_atoms :: Atom >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_opt_block_stmt(&mut self, node: &Option<BlockStmt>)
fn visit_opt_block_stmt(&mut self, node: &Option<BlockStmt>)
Visit a node of type Option < BlockStmt >.
By default, this method calls [Option < BlockStmt >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_opt_call(&mut self, node: &OptCall)
fn visit_opt_call(&mut self, node: &OptCall)
Visit a node of type OptCall.
By default, this method calls [OptCall::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_opt_catch_clause(&mut self, node: &Option<CatchClause>)
fn visit_opt_catch_clause(&mut self, node: &Option<CatchClause>)
Visit a node of type Option < CatchClause >.
By default, this method calls [Option < CatchClause >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_opt_chain_base(&mut self, node: &OptChainBase)
fn visit_opt_chain_base(&mut self, node: &OptChainBase)
Visit a node of type OptChainBase.
By default, this method calls [OptChainBase::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_opt_chain_expr(&mut self, node: &OptChainExpr)
fn visit_opt_chain_expr(&mut self, node: &OptChainExpr)
Visit a node of type OptChainExpr.
By default, this method calls [OptChainExpr::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_opt_expr(&mut self, node: &Option<Box<Expr>>)
fn visit_opt_expr(&mut self, node: &Option<Box<Expr>>)
Visit a node of type Option < Box < Expr > >.
By default, this method calls [Option < Box < Expr > >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_opt_expr_or_spread(&mut self, node: &Option<ExprOrSpread>)
fn visit_opt_expr_or_spread(&mut self, node: &Option<ExprOrSpread>)
Visit a node of type Option < ExprOrSpread >.
By default, this method calls [Option < ExprOrSpread >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_opt_expr_or_spreads(&mut self, node: &Option<Vec<ExprOrSpread>>)
fn visit_opt_expr_or_spreads(&mut self, node: &Option<Vec<ExprOrSpread>>)
Visit a node of type Option < Vec < ExprOrSpread > >.
By default, this method calls [Option < Vec < ExprOrSpread > >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_opt_ident(&mut self, node: &Option<Ident>)
fn visit_opt_ident(&mut self, node: &Option<Ident>)
Visit a node of type Option < Ident >.
By default, this method calls [Option < Ident >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_opt_jsx_attr_value(&mut self, node: &Option<JSXAttrValue>)
fn visit_opt_jsx_attr_value(&mut self, node: &Option<JSXAttrValue>)
Visit a node of type Option < JSXAttrValue >.
By default, this method calls [Option < JSXAttrValue >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_opt_jsx_closing_element(&mut self, node: &Option<JSXClosingElement>)
fn visit_opt_jsx_closing_element(&mut self, node: &Option<JSXClosingElement>)
Visit a node of type Option < JSXClosingElement >.
By default, this method calls [Option < JSXClosingElement >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_opt_module_export_name(&mut self, node: &Option<ModuleExportName>)
fn visit_opt_module_export_name(&mut self, node: &Option<ModuleExportName>)
Visit a node of type Option < ModuleExportName >.
By default, this method calls [Option < ModuleExportName >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_opt_object_lit(&mut self, node: &Option<Box<ObjectLit>>)
fn visit_opt_object_lit(&mut self, node: &Option<Box<ObjectLit>>)
Visit a node of type Option < Box < ObjectLit > >.
By default, this method calls [Option < Box < ObjectLit > >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_opt_pat(&mut self, node: &Option<Pat>)
fn visit_opt_pat(&mut self, node: &Option<Pat>)
Visit a node of type Option < Pat >.
By default, this method calls [Option < Pat >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_opt_span(&mut self, node: &Option<Span>)
fn visit_opt_span(&mut self, node: &Option<Span>)
Visit a node of type Option < swc_common :: Span >.
By default, this method calls [Option < swc_common :: Span >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_opt_stmt(&mut self, node: &Option<Box<Stmt>>)
fn visit_opt_stmt(&mut self, node: &Option<Box<Stmt>>)
Visit a node of type Option < Box < Stmt > >.
By default, this method calls [Option < Box < Stmt > >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_opt_str(&mut self, node: &Option<Box<Str>>)
fn visit_opt_str(&mut self, node: &Option<Box<Str>>)
Visit a node of type Option < Box < Str > >.
By default, this method calls [Option < Box < Str > >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_opt_true_plus_minus(&mut self, node: &Option<TruePlusMinus>)
fn visit_opt_true_plus_minus(&mut self, node: &Option<TruePlusMinus>)
Visit a node of type Option < TruePlusMinus >.
By default, this method calls [Option < TruePlusMinus >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_opt_ts_entity_name(&mut self, node: &Option<TsEntityName>)
fn visit_opt_ts_entity_name(&mut self, node: &Option<TsEntityName>)
Visit a node of type Option < TsEntityName >.
By default, this method calls [Option < TsEntityName >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_opt_ts_import_call_options(
&mut self,
node: &Option<TsImportCallOptions>,
)
fn visit_opt_ts_import_call_options( &mut self, node: &Option<TsImportCallOptions>, )
Visit a node of type Option < TsImportCallOptions >.
By default, this method calls [Option < TsImportCallOptions >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_opt_ts_namespace_body(&mut self, node: &Option<TsNamespaceBody>)
fn visit_opt_ts_namespace_body(&mut self, node: &Option<TsNamespaceBody>)
Visit a node of type Option < TsNamespaceBody >.
By default, this method calls [Option < TsNamespaceBody >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_opt_ts_type(&mut self, node: &Option<Box<TsType>>)
fn visit_opt_ts_type(&mut self, node: &Option<Box<TsType>>)
Visit a node of type Option < Box < TsType > >.
By default, this method calls [Option < Box < TsType > >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_opt_ts_type_ann(&mut self, node: &Option<Box<TsTypeAnn>>)
fn visit_opt_ts_type_ann(&mut self, node: &Option<Box<TsTypeAnn>>)
Visit a node of type Option < Box < TsTypeAnn > >.
By default, this method calls [Option < Box < TsTypeAnn > >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_opt_ts_type_param_decl(&mut self, node: &Option<Box<TsTypeParamDecl>>)
fn visit_opt_ts_type_param_decl(&mut self, node: &Option<Box<TsTypeParamDecl>>)
Visit a node of type Option < Box < TsTypeParamDecl > >.
By default, this method calls [Option < Box < TsTypeParamDecl > >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_opt_ts_type_param_instantiation(
&mut self,
node: &Option<Box<TsTypeParamInstantiation>>,
)
fn visit_opt_ts_type_param_instantiation( &mut self, node: &Option<Box<TsTypeParamInstantiation>>, )
Visit a node of type Option < Box < TsTypeParamInstantiation > >.
By default, this method calls [Option < Box < TsTypeParamInstantiation > >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_opt_var_decl_or_expr(&mut self, node: &Option<VarDeclOrExpr>)
fn visit_opt_var_decl_or_expr(&mut self, node: &Option<VarDeclOrExpr>)
Visit a node of type Option < VarDeclOrExpr >.
By default, this method calls [Option < VarDeclOrExpr >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_opt_vec_expr_or_spreads(&mut self, node: &[Option<ExprOrSpread>])
fn visit_opt_vec_expr_or_spreads(&mut self, node: &[Option<ExprOrSpread>])
Visit a node of type Vec < Option < ExprOrSpread > >.
By default, this method calls [Vec < Option < ExprOrSpread > >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_opt_vec_pats(&mut self, node: &[Option<Pat>])
fn visit_opt_vec_pats(&mut self, node: &[Option<Pat>])
Visit a node of type Vec < Option < Pat > >.
By default, this method calls [Vec < Option < Pat > >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_opt_wtf_8_atom(&mut self, node: &Option<Wtf8Atom>)
fn visit_opt_wtf_8_atom(&mut self, node: &Option<Wtf8Atom>)
Visit a node of type Option < swc_atoms :: Wtf8Atom >.
By default, this method calls [Option < swc_atoms :: Wtf8Atom >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_param(&mut self, node: &Param)
fn visit_param(&mut self, node: &Param)
Visit a node of type Param.
By default, this method calls [Param::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_param_or_ts_param_prop(&mut self, node: &ParamOrTsParamProp)
fn visit_param_or_ts_param_prop(&mut self, node: &ParamOrTsParamProp)
Visit a node of type ParamOrTsParamProp.
By default, this method calls [ParamOrTsParamProp::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_param_or_ts_param_props(&mut self, node: &[ParamOrTsParamProp])
fn visit_param_or_ts_param_props(&mut self, node: &[ParamOrTsParamProp])
Visit a node of type Vec < ParamOrTsParamProp >.
By default, this method calls [Vec < ParamOrTsParamProp >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_params(&mut self, node: &[Param])
fn visit_params(&mut self, node: &[Param])
Visit a node of type Vec < Param >.
By default, this method calls [Vec < Param >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_paren_expr(&mut self, node: &ParenExpr)
fn visit_paren_expr(&mut self, node: &ParenExpr)
Visit a node of type ParenExpr.
By default, this method calls [ParenExpr::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_pat(&mut self, node: &Pat)
fn visit_pat(&mut self, node: &Pat)
Visit a node of type Pat.
By default, this method calls [Pat::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_pats(&mut self, node: &[Pat])
fn visit_pats(&mut self, node: &[Pat])
Visit a node of type Vec < Pat >.
By default, this method calls [Vec < Pat >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_private_method(&mut self, node: &PrivateMethod)
fn visit_private_method(&mut self, node: &PrivateMethod)
Visit a node of type PrivateMethod.
By default, this method calls [PrivateMethod::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_private_name(&mut self, node: &PrivateName)
fn visit_private_name(&mut self, node: &PrivateName)
Visit a node of type PrivateName.
By default, this method calls [PrivateName::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_private_prop(&mut self, node: &PrivateProp)
fn visit_private_prop(&mut self, node: &PrivateProp)
Visit a node of type PrivateProp.
By default, this method calls [PrivateProp::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_program(&mut self, node: &Program)
fn visit_program(&mut self, node: &Program)
Visit a node of type Program.
By default, this method calls [Program::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_prop(&mut self, node: &Prop)
fn visit_prop(&mut self, node: &Prop)
Visit a node of type Prop.
By default, this method calls [Prop::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_prop_name(&mut self, node: &PropName)
fn visit_prop_name(&mut self, node: &PropName)
Visit a node of type PropName.
By default, this method calls [PropName::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_prop_or_spread(&mut self, node: &PropOrSpread)
fn visit_prop_or_spread(&mut self, node: &PropOrSpread)
Visit a node of type PropOrSpread.
By default, this method calls [PropOrSpread::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_prop_or_spreads(&mut self, node: &[PropOrSpread])
fn visit_prop_or_spreads(&mut self, node: &[PropOrSpread])
Visit a node of type Vec < PropOrSpread >.
By default, this method calls [Vec < PropOrSpread >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_regex(&mut self, node: &Regex)
fn visit_regex(&mut self, node: &Regex)
Visit a node of type Regex.
By default, this method calls [Regex::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_rest_pat(&mut self, node: &RestPat)
fn visit_rest_pat(&mut self, node: &RestPat)
Visit a node of type RestPat.
By default, this method calls [RestPat::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_return_stmt(&mut self, node: &ReturnStmt)
fn visit_return_stmt(&mut self, node: &ReturnStmt)
Visit a node of type ReturnStmt.
By default, this method calls [ReturnStmt::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_script(&mut self, node: &Script)
fn visit_script(&mut self, node: &Script)
Visit a node of type Script.
By default, this method calls [Script::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_seq_expr(&mut self, node: &SeqExpr)
fn visit_seq_expr(&mut self, node: &SeqExpr)
Visit a node of type SeqExpr.
By default, this method calls [SeqExpr::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_setter_prop(&mut self, node: &SetterProp)
fn visit_setter_prop(&mut self, node: &SetterProp)
Visit a node of type SetterProp.
By default, this method calls [SetterProp::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_simple_assign_target(&mut self, node: &SimpleAssignTarget)
fn visit_simple_assign_target(&mut self, node: &SimpleAssignTarget)
Visit a node of type SimpleAssignTarget.
By default, this method calls [SimpleAssignTarget::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_span(&mut self, node: &Span)
fn visit_span(&mut self, node: &Span)
Visit a node of type swc_common :: Span.
By default, this method calls [swc_common :: Span::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_spread_element(&mut self, node: &SpreadElement)
fn visit_spread_element(&mut self, node: &SpreadElement)
Visit a node of type SpreadElement.
By default, this method calls [SpreadElement::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_static_block(&mut self, node: &StaticBlock)
fn visit_static_block(&mut self, node: &StaticBlock)
Visit a node of type StaticBlock.
By default, this method calls [StaticBlock::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_stmt(&mut self, node: &Stmt)
fn visit_stmt(&mut self, node: &Stmt)
Visit a node of type Stmt.
By default, this method calls [Stmt::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_stmts(&mut self, node: &[Stmt])
fn visit_stmts(&mut self, node: &[Stmt])
Visit a node of type Vec < Stmt >.
By default, this method calls [Vec < Stmt >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_str(&mut self, node: &Str)
fn visit_str(&mut self, node: &Str)
Visit a node of type Str.
By default, this method calls [Str::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_super(&mut self, node: &Super)
fn visit_super(&mut self, node: &Super)
Visit a node of type Super.
By default, this method calls [Super::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_super_prop(&mut self, node: &SuperProp)
fn visit_super_prop(&mut self, node: &SuperProp)
Visit a node of type SuperProp.
By default, this method calls [SuperProp::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_super_prop_expr(&mut self, node: &SuperPropExpr)
fn visit_super_prop_expr(&mut self, node: &SuperPropExpr)
Visit a node of type SuperPropExpr.
By default, this method calls [SuperPropExpr::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_switch_case(&mut self, node: &SwitchCase)
fn visit_switch_case(&mut self, node: &SwitchCase)
Visit a node of type SwitchCase.
By default, this method calls [SwitchCase::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_switch_cases(&mut self, node: &[SwitchCase])
fn visit_switch_cases(&mut self, node: &[SwitchCase])
Visit a node of type Vec < SwitchCase >.
By default, this method calls [Vec < SwitchCase >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_switch_stmt(&mut self, node: &SwitchStmt)
fn visit_switch_stmt(&mut self, node: &SwitchStmt)
Visit a node of type SwitchStmt.
By default, this method calls [SwitchStmt::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_syntax_context(&mut self, node: &SyntaxContext)
fn visit_syntax_context(&mut self, node: &SyntaxContext)
Visit a node of type swc_common :: SyntaxContext.
By default, this method calls [swc_common :: SyntaxContext::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_tagged_tpl(&mut self, node: &TaggedTpl)
fn visit_tagged_tpl(&mut self, node: &TaggedTpl)
Visit a node of type TaggedTpl.
By default, this method calls [TaggedTpl::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_this_expr(&mut self, node: &ThisExpr)
fn visit_this_expr(&mut self, node: &ThisExpr)
Visit a node of type ThisExpr.
By default, this method calls [ThisExpr::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_throw_stmt(&mut self, node: &ThrowStmt)
fn visit_throw_stmt(&mut self, node: &ThrowStmt)
Visit a node of type ThrowStmt.
By default, this method calls [ThrowStmt::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_tpl(&mut self, node: &Tpl)
fn visit_tpl(&mut self, node: &Tpl)
Visit a node of type Tpl.
By default, this method calls [Tpl::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_tpl_element(&mut self, node: &TplElement)
fn visit_tpl_element(&mut self, node: &TplElement)
Visit a node of type TplElement.
By default, this method calls [TplElement::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_tpl_elements(&mut self, node: &[TplElement])
fn visit_tpl_elements(&mut self, node: &[TplElement])
Visit a node of type Vec < TplElement >.
By default, this method calls [Vec < TplElement >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_true_plus_minus(&mut self, node: &TruePlusMinus)
fn visit_true_plus_minus(&mut self, node: &TruePlusMinus)
Visit a node of type TruePlusMinus.
By default, this method calls [TruePlusMinus::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_try_stmt(&mut self, node: &TryStmt)
fn visit_try_stmt(&mut self, node: &TryStmt)
Visit a node of type TryStmt.
By default, this method calls [TryStmt::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_array_type(&mut self, node: &TsArrayType)
fn visit_ts_array_type(&mut self, node: &TsArrayType)
Visit a node of type TsArrayType.
By default, this method calls [TsArrayType::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_as_expr(&mut self, node: &TsAsExpr)
fn visit_ts_as_expr(&mut self, node: &TsAsExpr)
Visit a node of type TsAsExpr.
By default, this method calls [TsAsExpr::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_call_signature_decl(&mut self, node: &TsCallSignatureDecl)
fn visit_ts_call_signature_decl(&mut self, node: &TsCallSignatureDecl)
Visit a node of type TsCallSignatureDecl.
By default, this method calls [TsCallSignatureDecl::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_conditional_type(&mut self, node: &TsConditionalType)
fn visit_ts_conditional_type(&mut self, node: &TsConditionalType)
Visit a node of type TsConditionalType.
By default, this method calls [TsConditionalType::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_const_assertion(&mut self, node: &TsConstAssertion)
fn visit_ts_const_assertion(&mut self, node: &TsConstAssertion)
Visit a node of type TsConstAssertion.
By default, this method calls [TsConstAssertion::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_construct_signature_decl(&mut self, node: &TsConstructSignatureDecl)
fn visit_ts_construct_signature_decl(&mut self, node: &TsConstructSignatureDecl)
Visit a node of type TsConstructSignatureDecl.
By default, this method calls [TsConstructSignatureDecl::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_constructor_type(&mut self, node: &TsConstructorType)
fn visit_ts_constructor_type(&mut self, node: &TsConstructorType)
Visit a node of type TsConstructorType.
By default, this method calls [TsConstructorType::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_entity_name(&mut self, node: &TsEntityName)
fn visit_ts_entity_name(&mut self, node: &TsEntityName)
Visit a node of type TsEntityName.
By default, this method calls [TsEntityName::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_enum_decl(&mut self, node: &TsEnumDecl)
fn visit_ts_enum_decl(&mut self, node: &TsEnumDecl)
Visit a node of type TsEnumDecl.
By default, this method calls [TsEnumDecl::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_enum_member(&mut self, node: &TsEnumMember)
fn visit_ts_enum_member(&mut self, node: &TsEnumMember)
Visit a node of type TsEnumMember.
By default, this method calls [TsEnumMember::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_enum_member_id(&mut self, node: &TsEnumMemberId)
fn visit_ts_enum_member_id(&mut self, node: &TsEnumMemberId)
Visit a node of type TsEnumMemberId.
By default, this method calls [TsEnumMemberId::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_enum_members(&mut self, node: &[TsEnumMember])
fn visit_ts_enum_members(&mut self, node: &[TsEnumMember])
Visit a node of type Vec < TsEnumMember >.
By default, this method calls [Vec < TsEnumMember >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_export_assignment(&mut self, node: &TsExportAssignment)
fn visit_ts_export_assignment(&mut self, node: &TsExportAssignment)
Visit a node of type TsExportAssignment.
By default, this method calls [TsExportAssignment::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_expr_with_type_args(&mut self, node: &TsExprWithTypeArgs)
fn visit_ts_expr_with_type_args(&mut self, node: &TsExprWithTypeArgs)
Visit a node of type TsExprWithTypeArgs.
By default, this method calls [TsExprWithTypeArgs::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_expr_with_type_argss(&mut self, node: &[TsExprWithTypeArgs])
fn visit_ts_expr_with_type_argss(&mut self, node: &[TsExprWithTypeArgs])
Visit a node of type Vec < TsExprWithTypeArgs >.
By default, this method calls [Vec < TsExprWithTypeArgs >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_external_module_ref(&mut self, node: &TsExternalModuleRef)
fn visit_ts_external_module_ref(&mut self, node: &TsExternalModuleRef)
Visit a node of type TsExternalModuleRef.
By default, this method calls [TsExternalModuleRef::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_fn_or_constructor_type(&mut self, node: &TsFnOrConstructorType)
fn visit_ts_fn_or_constructor_type(&mut self, node: &TsFnOrConstructorType)
Visit a node of type TsFnOrConstructorType.
By default, this method calls [TsFnOrConstructorType::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_fn_param(&mut self, node: &TsFnParam)
fn visit_ts_fn_param(&mut self, node: &TsFnParam)
Visit a node of type TsFnParam.
By default, this method calls [TsFnParam::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_fn_params(&mut self, node: &[TsFnParam])
fn visit_ts_fn_params(&mut self, node: &[TsFnParam])
Visit a node of type Vec < TsFnParam >.
By default, this method calls [Vec < TsFnParam >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_fn_type(&mut self, node: &TsFnType)
fn visit_ts_fn_type(&mut self, node: &TsFnType)
Visit a node of type TsFnType.
By default, this method calls [TsFnType::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_getter_signature(&mut self, node: &TsGetterSignature)
fn visit_ts_getter_signature(&mut self, node: &TsGetterSignature)
Visit a node of type TsGetterSignature.
By default, this method calls [TsGetterSignature::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_import_call_options(&mut self, node: &TsImportCallOptions)
fn visit_ts_import_call_options(&mut self, node: &TsImportCallOptions)
Visit a node of type TsImportCallOptions.
By default, this method calls [TsImportCallOptions::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_import_equals_decl(&mut self, node: &TsImportEqualsDecl)
fn visit_ts_import_equals_decl(&mut self, node: &TsImportEqualsDecl)
Visit a node of type TsImportEqualsDecl.
By default, this method calls [TsImportEqualsDecl::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_import_type(&mut self, node: &TsImportType)
fn visit_ts_import_type(&mut self, node: &TsImportType)
Visit a node of type TsImportType.
By default, this method calls [TsImportType::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_index_signature(&mut self, node: &TsIndexSignature)
fn visit_ts_index_signature(&mut self, node: &TsIndexSignature)
Visit a node of type TsIndexSignature.
By default, this method calls [TsIndexSignature::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_indexed_access_type(&mut self, node: &TsIndexedAccessType)
fn visit_ts_indexed_access_type(&mut self, node: &TsIndexedAccessType)
Visit a node of type TsIndexedAccessType.
By default, this method calls [TsIndexedAccessType::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_infer_type(&mut self, node: &TsInferType)
fn visit_ts_infer_type(&mut self, node: &TsInferType)
Visit a node of type TsInferType.
By default, this method calls [TsInferType::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_instantiation(&mut self, node: &TsInstantiation)
fn visit_ts_instantiation(&mut self, node: &TsInstantiation)
Visit a node of type TsInstantiation.
By default, this method calls [TsInstantiation::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_interface_body(&mut self, node: &TsInterfaceBody)
fn visit_ts_interface_body(&mut self, node: &TsInterfaceBody)
Visit a node of type TsInterfaceBody.
By default, this method calls [TsInterfaceBody::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_interface_decl(&mut self, node: &TsInterfaceDecl)
fn visit_ts_interface_decl(&mut self, node: &TsInterfaceDecl)
Visit a node of type TsInterfaceDecl.
By default, this method calls [TsInterfaceDecl::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_intersection_type(&mut self, node: &TsIntersectionType)
fn visit_ts_intersection_type(&mut self, node: &TsIntersectionType)
Visit a node of type TsIntersectionType.
By default, this method calls [TsIntersectionType::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_keyword_type(&mut self, node: &TsKeywordType)
fn visit_ts_keyword_type(&mut self, node: &TsKeywordType)
Visit a node of type TsKeywordType.
By default, this method calls [TsKeywordType::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_keyword_type_kind(&mut self, node: &TsKeywordTypeKind)
fn visit_ts_keyword_type_kind(&mut self, node: &TsKeywordTypeKind)
Visit a node of type TsKeywordTypeKind.
By default, this method calls [TsKeywordTypeKind::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_lit(&mut self, node: &TsLit)
fn visit_ts_lit(&mut self, node: &TsLit)
Visit a node of type TsLit.
By default, this method calls [TsLit::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_lit_type(&mut self, node: &TsLitType)
fn visit_ts_lit_type(&mut self, node: &TsLitType)
Visit a node of type TsLitType.
By default, this method calls [TsLitType::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_mapped_type(&mut self, node: &TsMappedType)
fn visit_ts_mapped_type(&mut self, node: &TsMappedType)
Visit a node of type TsMappedType.
By default, this method calls [TsMappedType::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_method_signature(&mut self, node: &TsMethodSignature)
fn visit_ts_method_signature(&mut self, node: &TsMethodSignature)
Visit a node of type TsMethodSignature.
By default, this method calls [TsMethodSignature::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_module_block(&mut self, node: &TsModuleBlock)
fn visit_ts_module_block(&mut self, node: &TsModuleBlock)
Visit a node of type TsModuleBlock.
By default, this method calls [TsModuleBlock::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_module_decl(&mut self, node: &TsModuleDecl)
fn visit_ts_module_decl(&mut self, node: &TsModuleDecl)
Visit a node of type TsModuleDecl.
By default, this method calls [TsModuleDecl::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_module_name(&mut self, node: &TsModuleName)
fn visit_ts_module_name(&mut self, node: &TsModuleName)
Visit a node of type TsModuleName.
By default, this method calls [TsModuleName::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_module_ref(&mut self, node: &TsModuleRef)
fn visit_ts_module_ref(&mut self, node: &TsModuleRef)
Visit a node of type TsModuleRef.
By default, this method calls [TsModuleRef::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_namespace_body(&mut self, node: &TsNamespaceBody)
fn visit_ts_namespace_body(&mut self, node: &TsNamespaceBody)
Visit a node of type TsNamespaceBody.
By default, this method calls [TsNamespaceBody::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_namespace_decl(&mut self, node: &TsNamespaceDecl)
fn visit_ts_namespace_decl(&mut self, node: &TsNamespaceDecl)
Visit a node of type TsNamespaceDecl.
By default, this method calls [TsNamespaceDecl::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_namespace_export_decl(&mut self, node: &TsNamespaceExportDecl)
fn visit_ts_namespace_export_decl(&mut self, node: &TsNamespaceExportDecl)
Visit a node of type TsNamespaceExportDecl.
By default, this method calls [TsNamespaceExportDecl::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_non_null_expr(&mut self, node: &TsNonNullExpr)
fn visit_ts_non_null_expr(&mut self, node: &TsNonNullExpr)
Visit a node of type TsNonNullExpr.
By default, this method calls [TsNonNullExpr::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_optional_type(&mut self, node: &TsOptionalType)
fn visit_ts_optional_type(&mut self, node: &TsOptionalType)
Visit a node of type TsOptionalType.
By default, this method calls [TsOptionalType::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_param_prop(&mut self, node: &TsParamProp)
fn visit_ts_param_prop(&mut self, node: &TsParamProp)
Visit a node of type TsParamProp.
By default, this method calls [TsParamProp::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_param_prop_param(&mut self, node: &TsParamPropParam)
fn visit_ts_param_prop_param(&mut self, node: &TsParamPropParam)
Visit a node of type TsParamPropParam.
By default, this method calls [TsParamPropParam::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_parenthesized_type(&mut self, node: &TsParenthesizedType)
fn visit_ts_parenthesized_type(&mut self, node: &TsParenthesizedType)
Visit a node of type TsParenthesizedType.
By default, this method calls [TsParenthesizedType::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_property_signature(&mut self, node: &TsPropertySignature)
fn visit_ts_property_signature(&mut self, node: &TsPropertySignature)
Visit a node of type TsPropertySignature.
By default, this method calls [TsPropertySignature::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_qualified_name(&mut self, node: &TsQualifiedName)
fn visit_ts_qualified_name(&mut self, node: &TsQualifiedName)
Visit a node of type TsQualifiedName.
By default, this method calls [TsQualifiedName::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_rest_type(&mut self, node: &TsRestType)
fn visit_ts_rest_type(&mut self, node: &TsRestType)
Visit a node of type TsRestType.
By default, this method calls [TsRestType::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_satisfies_expr(&mut self, node: &TsSatisfiesExpr)
fn visit_ts_satisfies_expr(&mut self, node: &TsSatisfiesExpr)
Visit a node of type TsSatisfiesExpr.
By default, this method calls [TsSatisfiesExpr::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_setter_signature(&mut self, node: &TsSetterSignature)
fn visit_ts_setter_signature(&mut self, node: &TsSetterSignature)
Visit a node of type TsSetterSignature.
By default, this method calls [TsSetterSignature::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_this_type(&mut self, node: &TsThisType)
fn visit_ts_this_type(&mut self, node: &TsThisType)
Visit a node of type TsThisType.
By default, this method calls [TsThisType::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_this_type_or_ident(&mut self, node: &TsThisTypeOrIdent)
fn visit_ts_this_type_or_ident(&mut self, node: &TsThisTypeOrIdent)
Visit a node of type TsThisTypeOrIdent.
By default, this method calls [TsThisTypeOrIdent::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_tpl_lit_type(&mut self, node: &TsTplLitType)
fn visit_ts_tpl_lit_type(&mut self, node: &TsTplLitType)
Visit a node of type TsTplLitType.
By default, this method calls [TsTplLitType::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_tuple_element(&mut self, node: &TsTupleElement)
fn visit_ts_tuple_element(&mut self, node: &TsTupleElement)
Visit a node of type TsTupleElement.
By default, this method calls [TsTupleElement::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_tuple_elements(&mut self, node: &[TsTupleElement])
fn visit_ts_tuple_elements(&mut self, node: &[TsTupleElement])
Visit a node of type Vec < TsTupleElement >.
By default, this method calls [Vec < TsTupleElement >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_tuple_type(&mut self, node: &TsTupleType)
fn visit_ts_tuple_type(&mut self, node: &TsTupleType)
Visit a node of type TsTupleType.
By default, this method calls [TsTupleType::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_type(&mut self, node: &TsType)
fn visit_ts_type(&mut self, node: &TsType)
Visit a node of type TsType.
By default, this method calls [TsType::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_type_alias_decl(&mut self, node: &TsTypeAliasDecl)
fn visit_ts_type_alias_decl(&mut self, node: &TsTypeAliasDecl)
Visit a node of type TsTypeAliasDecl.
By default, this method calls [TsTypeAliasDecl::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_type_ann(&mut self, node: &TsTypeAnn)
fn visit_ts_type_ann(&mut self, node: &TsTypeAnn)
Visit a node of type TsTypeAnn.
By default, this method calls [TsTypeAnn::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_type_assertion(&mut self, node: &TsTypeAssertion)
fn visit_ts_type_assertion(&mut self, node: &TsTypeAssertion)
Visit a node of type TsTypeAssertion.
By default, this method calls [TsTypeAssertion::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_type_element(&mut self, node: &TsTypeElement)
fn visit_ts_type_element(&mut self, node: &TsTypeElement)
Visit a node of type TsTypeElement.
By default, this method calls [TsTypeElement::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_type_elements(&mut self, node: &[TsTypeElement])
fn visit_ts_type_elements(&mut self, node: &[TsTypeElement])
Visit a node of type Vec < TsTypeElement >.
By default, this method calls [Vec < TsTypeElement >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_type_lit(&mut self, node: &TsTypeLit)
fn visit_ts_type_lit(&mut self, node: &TsTypeLit)
Visit a node of type TsTypeLit.
By default, this method calls [TsTypeLit::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_type_operator(&mut self, node: &TsTypeOperator)
fn visit_ts_type_operator(&mut self, node: &TsTypeOperator)
Visit a node of type TsTypeOperator.
By default, this method calls [TsTypeOperator::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_type_operator_op(&mut self, node: &TsTypeOperatorOp)
fn visit_ts_type_operator_op(&mut self, node: &TsTypeOperatorOp)
Visit a node of type TsTypeOperatorOp.
By default, this method calls [TsTypeOperatorOp::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_type_param(&mut self, node: &TsTypeParam)
fn visit_ts_type_param(&mut self, node: &TsTypeParam)
Visit a node of type TsTypeParam.
By default, this method calls [TsTypeParam::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_type_param_decl(&mut self, node: &TsTypeParamDecl)
fn visit_ts_type_param_decl(&mut self, node: &TsTypeParamDecl)
Visit a node of type TsTypeParamDecl.
By default, this method calls [TsTypeParamDecl::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_type_param_instantiation(&mut self, node: &TsTypeParamInstantiation)
fn visit_ts_type_param_instantiation(&mut self, node: &TsTypeParamInstantiation)
Visit a node of type TsTypeParamInstantiation.
By default, this method calls [TsTypeParamInstantiation::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_type_params(&mut self, node: &[TsTypeParam])
fn visit_ts_type_params(&mut self, node: &[TsTypeParam])
Visit a node of type Vec < TsTypeParam >.
By default, this method calls [Vec < TsTypeParam >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_type_predicate(&mut self, node: &TsTypePredicate)
fn visit_ts_type_predicate(&mut self, node: &TsTypePredicate)
Visit a node of type TsTypePredicate.
By default, this method calls [TsTypePredicate::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_type_query(&mut self, node: &TsTypeQuery)
fn visit_ts_type_query(&mut self, node: &TsTypeQuery)
Visit a node of type TsTypeQuery.
By default, this method calls [TsTypeQuery::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_type_query_expr(&mut self, node: &TsTypeQueryExpr)
fn visit_ts_type_query_expr(&mut self, node: &TsTypeQueryExpr)
Visit a node of type TsTypeQueryExpr.
By default, this method calls [TsTypeQueryExpr::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_type_ref(&mut self, node: &TsTypeRef)
fn visit_ts_type_ref(&mut self, node: &TsTypeRef)
Visit a node of type TsTypeRef.
By default, this method calls [TsTypeRef::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_types(&mut self, node: &[Box<TsType>])
fn visit_ts_types(&mut self, node: &[Box<TsType>])
Visit a node of type Vec < Box < TsType > >.
By default, this method calls [Vec < Box < TsType > >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_union_or_intersection_type(
&mut self,
node: &TsUnionOrIntersectionType,
)
fn visit_ts_union_or_intersection_type( &mut self, node: &TsUnionOrIntersectionType, )
Visit a node of type TsUnionOrIntersectionType.
By default, this method calls [TsUnionOrIntersectionType::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_ts_union_type(&mut self, node: &TsUnionType)
fn visit_ts_union_type(&mut self, node: &TsUnionType)
Visit a node of type TsUnionType.
By default, this method calls [TsUnionType::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_unary_expr(&mut self, node: &UnaryExpr)
fn visit_unary_expr(&mut self, node: &UnaryExpr)
Visit a node of type UnaryExpr.
By default, this method calls [UnaryExpr::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_unary_op(&mut self, node: &UnaryOp)
fn visit_unary_op(&mut self, node: &UnaryOp)
Visit a node of type UnaryOp.
By default, this method calls [UnaryOp::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_update_expr(&mut self, node: &UpdateExpr)
fn visit_update_expr(&mut self, node: &UpdateExpr)
Visit a node of type UpdateExpr.
By default, this method calls [UpdateExpr::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_update_op(&mut self, node: &UpdateOp)
fn visit_update_op(&mut self, node: &UpdateOp)
Visit a node of type UpdateOp.
By default, this method calls [UpdateOp::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_using_decl(&mut self, node: &UsingDecl)
fn visit_using_decl(&mut self, node: &UsingDecl)
Visit a node of type UsingDecl.
By default, this method calls [UsingDecl::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_var_decl(&mut self, node: &VarDecl)
fn visit_var_decl(&mut self, node: &VarDecl)
Visit a node of type VarDecl.
By default, this method calls [VarDecl::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_var_decl_kind(&mut self, node: &VarDeclKind)
fn visit_var_decl_kind(&mut self, node: &VarDeclKind)
Visit a node of type VarDeclKind.
By default, this method calls [VarDeclKind::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_var_decl_or_expr(&mut self, node: &VarDeclOrExpr)
fn visit_var_decl_or_expr(&mut self, node: &VarDeclOrExpr)
Visit a node of type VarDeclOrExpr.
By default, this method calls [VarDeclOrExpr::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_var_declarator(&mut self, node: &VarDeclarator)
fn visit_var_declarator(&mut self, node: &VarDeclarator)
Visit a node of type VarDeclarator.
By default, this method calls [VarDeclarator::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_var_declarators(&mut self, node: &[VarDeclarator])
fn visit_var_declarators(&mut self, node: &[VarDeclarator])
Visit a node of type Vec < VarDeclarator >.
By default, this method calls [Vec < VarDeclarator >::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_while_stmt(&mut self, node: &WhileStmt)
fn visit_while_stmt(&mut self, node: &WhileStmt)
Visit a node of type WhileStmt.
By default, this method calls [WhileStmt::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_with_stmt(&mut self, node: &WithStmt)
fn visit_with_stmt(&mut self, node: &WithStmt)
Visit a node of type WithStmt.
By default, this method calls [WithStmt::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_wtf_8_atom(&mut self, node: &Wtf8Atom)
fn visit_wtf_8_atom(&mut self, node: &Wtf8Atom)
Visit a node of type swc_atoms :: Wtf8Atom.
By default, this method calls [swc_atoms :: Wtf8Atom::visit_children_with]. If you want to recurse, you need to call it manually.
Sourcefn visit_yield_expr(&mut self, node: &YieldExpr)
fn visit_yield_expr(&mut self, node: &YieldExpr)
Visit a node of type YieldExpr.
By default, this method calls [YieldExpr::visit_children_with]. If you want to recurse, you need to call it manually.