pub struct TransformVisitor;
Trait Implementations§
source§impl VisitMut for TransformVisitor
impl VisitMut for TransformVisitor
source§fn visit_mut_stmt(&mut self, stmt: &mut Stmt)
fn visit_mut_stmt(&mut self, stmt: &mut Stmt)
This method can be overriden to customize the visitor behavior. Read more
source§fn visit_mut_unary_expr(&mut self, expr: &mut UnaryExpr)
fn visit_mut_unary_expr(&mut self, expr: &mut UnaryExpr)
This method can be overriden to customize the visitor behavior. Read more
source§fn visit_mut_bin_expr(&mut self, expr: &mut BinExpr)
fn visit_mut_bin_expr(&mut self, expr: &mut BinExpr)
This method can be overriden to customize the visitor behavior. Read more
source§fn visit_mut_cond_expr(&mut self, expr: &mut CondExpr)
fn visit_mut_cond_expr(&mut self, expr: &mut CondExpr)
This method can be overriden to customize the visitor behavior. Read more
source§fn visit_mut_if_stmt(&mut self, stmt: &mut IfStmt)
fn visit_mut_if_stmt(&mut self, stmt: &mut IfStmt)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_accessibility(&mut self, n: &mut Accessibility)
fn visit_mut_accessibility(&mut self, n: &mut Accessibility)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_array_lit(&mut self, n: &mut ArrayLit)
fn visit_mut_array_lit(&mut self, n: &mut ArrayLit)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_array_pat(&mut self, n: &mut ArrayPat)
fn visit_mut_array_pat(&mut self, n: &mut ArrayPat)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_arrow_expr(&mut self, n: &mut ArrowExpr)
fn visit_mut_arrow_expr(&mut self, n: &mut ArrowExpr)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_assign_expr(&mut self, n: &mut AssignExpr)
fn visit_mut_assign_expr(&mut self, n: &mut AssignExpr)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_assign_op(&mut self, n: &mut AssignOp)
fn visit_mut_assign_op(&mut self, n: &mut AssignOp)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_assign_pat(&mut self, n: &mut AssignPat)
fn visit_mut_assign_pat(&mut self, n: &mut AssignPat)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_assign_pat_prop(&mut self, n: &mut AssignPatProp)
fn visit_mut_assign_pat_prop(&mut self, n: &mut AssignPatProp)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_assign_prop(&mut self, n: &mut AssignProp)
fn visit_mut_assign_prop(&mut self, n: &mut AssignProp)
This method can be overriden to customize the visitor behavior. Read more
fn visit_mut_atom(&mut self, n: &mut Atom)
§fn visit_mut_await_expr(&mut self, n: &mut AwaitExpr)
fn visit_mut_await_expr(&mut self, n: &mut AwaitExpr)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_big_int(&mut self, n: &mut BigInt)
fn visit_mut_big_int(&mut self, n: &mut BigInt)
This method can be overriden to customize the visitor behavior. Read more
fn visit_mut_big_int_value(&mut self, n: &mut BigInt)
§fn visit_mut_binary_op(&mut self, n: &mut BinaryOp)
fn visit_mut_binary_op(&mut self, n: &mut BinaryOp)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_binding_ident(&mut self, n: &mut BindingIdent)
fn visit_mut_binding_ident(&mut self, n: &mut BindingIdent)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_block_stmt(&mut self, n: &mut BlockStmt)
fn visit_mut_block_stmt(&mut self, n: &mut BlockStmt)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_block_stmt_or_expr(&mut self, n: &mut BlockStmtOrExpr)
fn visit_mut_block_stmt_or_expr(&mut self, n: &mut BlockStmtOrExpr)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_bool(&mut self, n: &mut Bool)
fn visit_mut_bool(&mut self, n: &mut Bool)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_break_stmt(&mut self, n: &mut BreakStmt)
fn visit_mut_break_stmt(&mut self, n: &mut BreakStmt)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_call_expr(&mut self, n: &mut CallExpr)
fn visit_mut_call_expr(&mut self, n: &mut CallExpr)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_callee(&mut self, n: &mut Callee)
fn visit_mut_callee(&mut self, n: &mut Callee)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_catch_clause(&mut self, n: &mut CatchClause)
fn visit_mut_catch_clause(&mut self, n: &mut CatchClause)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_class(&mut self, n: &mut Class)
fn visit_mut_class(&mut self, n: &mut Class)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_class_decl(&mut self, n: &mut ClassDecl)
fn visit_mut_class_decl(&mut self, n: &mut ClassDecl)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_class_expr(&mut self, n: &mut ClassExpr)
fn visit_mut_class_expr(&mut self, n: &mut ClassExpr)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_class_member(&mut self, n: &mut ClassMember)
fn visit_mut_class_member(&mut self, n: &mut ClassMember)
This method can be overriden to customize the visitor behavior. Read more
fn visit_mut_class_members(&mut self, n: &mut Vec<ClassMember, Global>)
§fn visit_mut_class_method(&mut self, n: &mut ClassMethod)
fn visit_mut_class_method(&mut self, n: &mut ClassMethod)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_class_prop(&mut self, n: &mut ClassProp)
fn visit_mut_class_prop(&mut self, n: &mut ClassProp)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_computed_prop_name(&mut self, n: &mut ComputedPropName)
fn visit_mut_computed_prop_name(&mut self, n: &mut ComputedPropName)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_constructor(&mut self, n: &mut Constructor)
fn visit_mut_constructor(&mut self, n: &mut Constructor)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_continue_stmt(&mut self, n: &mut ContinueStmt)
fn visit_mut_continue_stmt(&mut self, n: &mut ContinueStmt)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_debugger_stmt(&mut self, n: &mut DebuggerStmt)
fn visit_mut_debugger_stmt(&mut self, n: &mut DebuggerStmt)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_decl(&mut self, n: &mut Decl)
fn visit_mut_decl(&mut self, n: &mut Decl)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_decorator(&mut self, n: &mut Decorator)
fn visit_mut_decorator(&mut self, n: &mut Decorator)
This method can be overriden to customize the visitor behavior. Read more
fn visit_mut_decorators(&mut self, n: &mut Vec<Decorator, Global>)
§fn visit_mut_default_decl(&mut self, n: &mut DefaultDecl)
fn visit_mut_default_decl(&mut self, n: &mut DefaultDecl)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_do_while_stmt(&mut self, n: &mut DoWhileStmt)
fn visit_mut_do_while_stmt(&mut self, n: &mut DoWhileStmt)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_empty_stmt(&mut self, n: &mut EmptyStmt)
fn visit_mut_empty_stmt(&mut self, n: &mut EmptyStmt)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_export_all(&mut self, n: &mut ExportAll)
fn visit_mut_export_all(&mut self, n: &mut ExportAll)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_export_decl(&mut self, n: &mut ExportDecl)
fn visit_mut_export_decl(&mut self, n: &mut ExportDecl)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_export_default_decl(&mut self, n: &mut ExportDefaultDecl)
fn visit_mut_export_default_decl(&mut self, n: &mut ExportDefaultDecl)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_export_default_expr(&mut self, n: &mut ExportDefaultExpr)
fn visit_mut_export_default_expr(&mut self, n: &mut ExportDefaultExpr)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_export_default_specifier(&mut self, n: &mut ExportDefaultSpecifier)
fn visit_mut_export_default_specifier(&mut self, n: &mut ExportDefaultSpecifier)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_export_named_specifier(&mut self, n: &mut ExportNamedSpecifier)
fn visit_mut_export_named_specifier(&mut self, n: &mut ExportNamedSpecifier)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_export_namespace_specifier(
&mut self,
n: &mut ExportNamespaceSpecifier
)
fn visit_mut_export_namespace_specifier(
&mut self,
n: &mut ExportNamespaceSpecifier
)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_export_specifier(&mut self, n: &mut ExportSpecifier)
fn visit_mut_export_specifier(&mut self, n: &mut ExportSpecifier)
This method can be overriden to customize the visitor behavior. Read more
fn visit_mut_export_specifiers(&mut self, n: &mut Vec<ExportSpecifier, Global>)
§fn visit_mut_expr(&mut self, n: &mut Expr)
fn visit_mut_expr(&mut self, n: &mut Expr)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_expr_or_spread(&mut self, n: &mut ExprOrSpread)
fn visit_mut_expr_or_spread(&mut self, n: &mut ExprOrSpread)
This method can be overriden to customize the visitor behavior. Read more
fn visit_mut_expr_or_spreads(&mut self, n: &mut Vec<ExprOrSpread, Global>)
§fn visit_mut_expr_stmt(&mut self, n: &mut ExprStmt)
fn visit_mut_expr_stmt(&mut self, n: &mut ExprStmt)
This method can be overriden to customize the visitor behavior. Read more
fn visit_mut_exprs(&mut self, n: &mut Vec<Box<Expr, Global>, Global>)
§fn visit_mut_fn_decl(&mut self, n: &mut FnDecl)
fn visit_mut_fn_decl(&mut self, n: &mut FnDecl)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_fn_expr(&mut self, n: &mut FnExpr)
fn visit_mut_fn_expr(&mut self, n: &mut FnExpr)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_for_in_stmt(&mut self, n: &mut ForInStmt)
fn visit_mut_for_in_stmt(&mut self, n: &mut ForInStmt)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_for_of_stmt(&mut self, n: &mut ForOfStmt)
fn visit_mut_for_of_stmt(&mut self, n: &mut ForOfStmt)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_for_stmt(&mut self, n: &mut ForStmt)
fn visit_mut_for_stmt(&mut self, n: &mut ForStmt)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_function(&mut self, n: &mut Function)
fn visit_mut_function(&mut self, n: &mut Function)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_getter_prop(&mut self, n: &mut GetterProp)
fn visit_mut_getter_prop(&mut self, n: &mut GetterProp)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ident(&mut self, n: &mut Ident)
fn visit_mut_ident(&mut self, n: &mut Ident)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_import(&mut self, n: &mut Import)
fn visit_mut_import(&mut self, n: &mut Import)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_import_decl(&mut self, n: &mut ImportDecl)
fn visit_mut_import_decl(&mut self, n: &mut ImportDecl)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_import_default_specifier(&mut self, n: &mut ImportDefaultSpecifier)
fn visit_mut_import_default_specifier(&mut self, n: &mut ImportDefaultSpecifier)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_import_named_specifier(&mut self, n: &mut ImportNamedSpecifier)
fn visit_mut_import_named_specifier(&mut self, n: &mut ImportNamedSpecifier)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_import_specifier(&mut self, n: &mut ImportSpecifier)
fn visit_mut_import_specifier(&mut self, n: &mut ImportSpecifier)
This method can be overriden to customize the visitor behavior. Read more
fn visit_mut_import_specifiers(&mut self, n: &mut Vec<ImportSpecifier, Global>)
§fn visit_mut_import_star_as_specifier(&mut self, n: &mut ImportStarAsSpecifier)
fn visit_mut_import_star_as_specifier(&mut self, n: &mut ImportStarAsSpecifier)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_invalid(&mut self, n: &mut Invalid)
fn visit_mut_invalid(&mut self, n: &mut Invalid)
This method can be overriden to customize the visitor behavior. Read more
fn visit_mut_js_word(&mut self, n: &mut Atom<JsWordStaticSet>)
§fn visit_mut_jsx_attr(&mut self, n: &mut JSXAttr)
fn visit_mut_jsx_attr(&mut self, n: &mut JSXAttr)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_jsx_attr_name(&mut self, n: &mut JSXAttrName)
fn visit_mut_jsx_attr_name(&mut self, n: &mut JSXAttrName)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_jsx_attr_or_spread(&mut self, n: &mut JSXAttrOrSpread)
fn visit_mut_jsx_attr_or_spread(&mut self, n: &mut JSXAttrOrSpread)
This method can be overriden to customize the visitor behavior. Read more
fn visit_mut_jsx_attr_or_spreads(&mut self, n: &mut Vec<JSXAttrOrSpread, Global>)
§fn visit_mut_jsx_attr_value(&mut self, n: &mut JSXAttrValue)
fn visit_mut_jsx_attr_value(&mut self, n: &mut JSXAttrValue)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_jsx_closing_element(&mut self, n: &mut JSXClosingElement)
fn visit_mut_jsx_closing_element(&mut self, n: &mut JSXClosingElement)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_jsx_closing_fragment(&mut self, n: &mut JSXClosingFragment)
fn visit_mut_jsx_closing_fragment(&mut self, n: &mut JSXClosingFragment)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_jsx_element(&mut self, n: &mut JSXElement)
fn visit_mut_jsx_element(&mut self, n: &mut JSXElement)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_jsx_element_child(&mut self, n: &mut JSXElementChild)
fn visit_mut_jsx_element_child(&mut self, n: &mut JSXElementChild)
This method can be overriden to customize the visitor behavior. Read more
fn visit_mut_jsx_element_children(
&mut self,
n: &mut Vec<JSXElementChild, Global>
)
§fn visit_mut_jsx_element_name(&mut self, n: &mut JSXElementName)
fn visit_mut_jsx_element_name(&mut self, n: &mut JSXElementName)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_jsx_empty_expr(&mut self, n: &mut JSXEmptyExpr)
fn visit_mut_jsx_empty_expr(&mut self, n: &mut JSXEmptyExpr)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_jsx_expr(&mut self, n: &mut JSXExpr)
fn visit_mut_jsx_expr(&mut self, n: &mut JSXExpr)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_jsx_expr_container(&mut self, n: &mut JSXExprContainer)
fn visit_mut_jsx_expr_container(&mut self, n: &mut JSXExprContainer)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_jsx_fragment(&mut self, n: &mut JSXFragment)
fn visit_mut_jsx_fragment(&mut self, n: &mut JSXFragment)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_jsx_member_expr(&mut self, n: &mut JSXMemberExpr)
fn visit_mut_jsx_member_expr(&mut self, n: &mut JSXMemberExpr)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_jsx_namespaced_name(&mut self, n: &mut JSXNamespacedName)
fn visit_mut_jsx_namespaced_name(&mut self, n: &mut JSXNamespacedName)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_jsx_object(&mut self, n: &mut JSXObject)
fn visit_mut_jsx_object(&mut self, n: &mut JSXObject)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_jsx_opening_element(&mut self, n: &mut JSXOpeningElement)
fn visit_mut_jsx_opening_element(&mut self, n: &mut JSXOpeningElement)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_jsx_opening_fragment(&mut self, n: &mut JSXOpeningFragment)
fn visit_mut_jsx_opening_fragment(&mut self, n: &mut JSXOpeningFragment)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_jsx_spread_child(&mut self, n: &mut JSXSpreadChild)
fn visit_mut_jsx_spread_child(&mut self, n: &mut JSXSpreadChild)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_jsx_text(&mut self, n: &mut JSXText)
fn visit_mut_jsx_text(&mut self, n: &mut JSXText)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_key_value_pat_prop(&mut self, n: &mut KeyValuePatProp)
fn visit_mut_key_value_pat_prop(&mut self, n: &mut KeyValuePatProp)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_key_value_prop(&mut self, n: &mut KeyValueProp)
fn visit_mut_key_value_prop(&mut self, n: &mut KeyValueProp)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_labeled_stmt(&mut self, n: &mut LabeledStmt)
fn visit_mut_labeled_stmt(&mut self, n: &mut LabeledStmt)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_lit(&mut self, n: &mut Lit)
fn visit_mut_lit(&mut self, n: &mut Lit)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_member_expr(&mut self, n: &mut MemberExpr)
fn visit_mut_member_expr(&mut self, n: &mut MemberExpr)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_member_prop(&mut self, n: &mut MemberProp)
fn visit_mut_member_prop(&mut self, n: &mut MemberProp)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_meta_prop_expr(&mut self, n: &mut MetaPropExpr)
fn visit_mut_meta_prop_expr(&mut self, n: &mut MetaPropExpr)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_meta_prop_kind(&mut self, n: &mut MetaPropKind)
fn visit_mut_meta_prop_kind(&mut self, n: &mut MetaPropKind)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_method_kind(&mut self, n: &mut MethodKind)
fn visit_mut_method_kind(&mut self, n: &mut MethodKind)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_method_prop(&mut self, n: &mut MethodProp)
fn visit_mut_method_prop(&mut self, n: &mut MethodProp)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_module(&mut self, n: &mut Module)
fn visit_mut_module(&mut self, n: &mut Module)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_module_decl(&mut self, n: &mut ModuleDecl)
fn visit_mut_module_decl(&mut self, n: &mut ModuleDecl)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_module_export_name(&mut self, n: &mut ModuleExportName)
fn visit_mut_module_export_name(&mut self, n: &mut ModuleExportName)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_module_item(&mut self, n: &mut ModuleItem)
fn visit_mut_module_item(&mut self, n: &mut ModuleItem)
This method can be overriden to customize the visitor behavior. Read more
fn visit_mut_module_items(&mut self, n: &mut Vec<ModuleItem, Global>)
§fn visit_mut_named_export(&mut self, n: &mut NamedExport)
fn visit_mut_named_export(&mut self, n: &mut NamedExport)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_new_expr(&mut self, n: &mut NewExpr)
fn visit_mut_new_expr(&mut self, n: &mut NewExpr)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_null(&mut self, n: &mut Null)
fn visit_mut_null(&mut self, n: &mut Null)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_number(&mut self, n: &mut Number)
fn visit_mut_number(&mut self, n: &mut Number)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_object_lit(&mut self, n: &mut ObjectLit)
fn visit_mut_object_lit(&mut self, n: &mut ObjectLit)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_object_pat(&mut self, n: &mut ObjectPat)
fn visit_mut_object_pat(&mut self, n: &mut ObjectPat)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_object_pat_prop(&mut self, n: &mut ObjectPatProp)
fn visit_mut_object_pat_prop(&mut self, n: &mut ObjectPatProp)
This method can be overriden to customize the visitor behavior. Read more
fn visit_mut_object_pat_props(&mut self, n: &mut Vec<ObjectPatProp, Global>)
fn visit_mut_opt_accessibility(&mut self, n: &mut Option<Accessibility>)
fn visit_mut_opt_atom(&mut self, n: &mut Option<Atom>)
fn visit_mut_opt_block_stmt(&mut self, n: &mut Option<BlockStmt>)
§fn visit_mut_opt_call(&mut self, n: &mut OptCall)
fn visit_mut_opt_call(&mut self, n: &mut OptCall)
This method can be overriden to customize the visitor behavior. Read more
fn visit_mut_opt_catch_clause(&mut self, n: &mut Option<CatchClause>)
§fn visit_mut_opt_chain_base(&mut self, n: &mut OptChainBase)
fn visit_mut_opt_chain_base(&mut self, n: &mut OptChainBase)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_opt_chain_expr(&mut self, n: &mut OptChainExpr)
fn visit_mut_opt_chain_expr(&mut self, n: &mut OptChainExpr)
This method can be overriden to customize the visitor behavior. Read more
fn visit_mut_opt_expr(&mut self, n: &mut Option<Box<Expr, Global>>)
fn visit_mut_opt_expr_or_spread(&mut self, n: &mut Option<ExprOrSpread>)
fn visit_mut_opt_expr_or_spreads(
&mut self,
n: &mut Option<Vec<ExprOrSpread, Global>>
)
fn visit_mut_opt_ident(&mut self, n: &mut Option<Ident>)
fn visit_mut_opt_jsx_attr_value(&mut self, n: &mut Option<JSXAttrValue>)
fn visit_mut_opt_jsx_closing_element(
&mut self,
n: &mut Option<JSXClosingElement>
)
fn visit_mut_opt_module_export_name(&mut self, n: &mut Option<ModuleExportName>)
fn visit_mut_opt_module_items(&mut self, n: &mut Option<Vec<ModuleItem, Global>>)
fn visit_mut_opt_object_lit(&mut self, n: &mut Option<Box<ObjectLit, Global>>)
fn visit_mut_opt_pat(&mut self, n: &mut Option<Pat>)
fn visit_mut_opt_span(&mut self, n: &mut Option<Span>)
fn visit_mut_opt_stmt(&mut self, n: &mut Option<Box<Stmt, Global>>)
fn visit_mut_opt_str(&mut self, n: &mut Option<Box<Str, Global>>)
fn visit_mut_opt_true_plus_minus(&mut self, n: &mut Option<TruePlusMinus>)
fn visit_mut_opt_ts_entity_name(&mut self, n: &mut Option<TsEntityName>)
fn visit_mut_opt_ts_namespace_body(&mut self, n: &mut Option<TsNamespaceBody>)
fn visit_mut_opt_ts_type(&mut self, n: &mut Option<Box<TsType, Global>>)
fn visit_mut_opt_ts_type_ann(&mut self, n: &mut Option<Box<TsTypeAnn, Global>>)
fn visit_mut_opt_ts_type_param_decl(
&mut self,
n: &mut Option<Box<TsTypeParamDecl, Global>>
)
fn visit_mut_opt_ts_type_param_instantiation(
&mut self,
n: &mut Option<Box<TsTypeParamInstantiation, Global>>
)
fn visit_mut_opt_var_decl_or_expr(&mut self, n: &mut Option<VarDeclOrExpr>)
fn visit_mut_opt_vec_expr_or_spreads(
&mut self,
n: &mut Vec<Option<ExprOrSpread>, Global>
)
fn visit_mut_opt_vec_pats(&mut self, n: &mut Vec<Option<Pat>, Global>)
§fn visit_mut_param(&mut self, n: &mut Param)
fn visit_mut_param(&mut self, n: &mut Param)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_param_or_ts_param_prop(&mut self, n: &mut ParamOrTsParamProp)
fn visit_mut_param_or_ts_param_prop(&mut self, n: &mut ParamOrTsParamProp)
This method can be overriden to customize the visitor behavior. Read more
fn visit_mut_param_or_ts_param_props(
&mut self,
n: &mut Vec<ParamOrTsParamProp, Global>
)
fn visit_mut_params(&mut self, n: &mut Vec<Param, Global>)
§fn visit_mut_paren_expr(&mut self, n: &mut ParenExpr)
fn visit_mut_paren_expr(&mut self, n: &mut ParenExpr)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_pat(&mut self, n: &mut Pat)
fn visit_mut_pat(&mut self, n: &mut Pat)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_pat_or_expr(&mut self, n: &mut PatOrExpr)
fn visit_mut_pat_or_expr(&mut self, n: &mut PatOrExpr)
This method can be overriden to customize the visitor behavior. Read more
fn visit_mut_pats(&mut self, n: &mut Vec<Pat, Global>)
§fn visit_mut_private_method(&mut self, n: &mut PrivateMethod)
fn visit_mut_private_method(&mut self, n: &mut PrivateMethod)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_private_name(&mut self, n: &mut PrivateName)
fn visit_mut_private_name(&mut self, n: &mut PrivateName)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_private_prop(&mut self, n: &mut PrivateProp)
fn visit_mut_private_prop(&mut self, n: &mut PrivateProp)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_program(&mut self, n: &mut Program)
fn visit_mut_program(&mut self, n: &mut Program)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_prop(&mut self, n: &mut Prop)
fn visit_mut_prop(&mut self, n: &mut Prop)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_prop_name(&mut self, n: &mut PropName)
fn visit_mut_prop_name(&mut self, n: &mut PropName)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_prop_or_spread(&mut self, n: &mut PropOrSpread)
fn visit_mut_prop_or_spread(&mut self, n: &mut PropOrSpread)
This method can be overriden to customize the visitor behavior. Read more
fn visit_mut_prop_or_spreads(&mut self, n: &mut Vec<PropOrSpread, Global>)
§fn visit_mut_regex(&mut self, n: &mut Regex)
fn visit_mut_regex(&mut self, n: &mut Regex)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_reserved_unused(&mut self, n: &mut ReservedUnused)
fn visit_mut_reserved_unused(&mut self, n: &mut ReservedUnused)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_rest_pat(&mut self, n: &mut RestPat)
fn visit_mut_rest_pat(&mut self, n: &mut RestPat)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_return_stmt(&mut self, n: &mut ReturnStmt)
fn visit_mut_return_stmt(&mut self, n: &mut ReturnStmt)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_script(&mut self, n: &mut Script)
fn visit_mut_script(&mut self, n: &mut Script)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_seq_expr(&mut self, n: &mut SeqExpr)
fn visit_mut_seq_expr(&mut self, n: &mut SeqExpr)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_setter_prop(&mut self, n: &mut SetterProp)
fn visit_mut_setter_prop(&mut self, n: &mut SetterProp)
This method can be overriden to customize the visitor behavior. Read more
fn visit_mut_span(&mut self, n: &mut Span)
§fn visit_mut_spread_element(&mut self, n: &mut SpreadElement)
fn visit_mut_spread_element(&mut self, n: &mut SpreadElement)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_static_block(&mut self, n: &mut StaticBlock)
fn visit_mut_static_block(&mut self, n: &mut StaticBlock)
This method can be overriden to customize the visitor behavior. Read more
fn visit_mut_stmts(&mut self, n: &mut Vec<Stmt, Global>)
§fn visit_mut_str(&mut self, n: &mut Str)
fn visit_mut_str(&mut self, n: &mut Str)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_super(&mut self, n: &mut Super)
fn visit_mut_super(&mut self, n: &mut Super)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_super_prop(&mut self, n: &mut SuperProp)
fn visit_mut_super_prop(&mut self, n: &mut SuperProp)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_super_prop_expr(&mut self, n: &mut SuperPropExpr)
fn visit_mut_super_prop_expr(&mut self, n: &mut SuperPropExpr)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_switch_case(&mut self, n: &mut SwitchCase)
fn visit_mut_switch_case(&mut self, n: &mut SwitchCase)
This method can be overriden to customize the visitor behavior. Read more
fn visit_mut_switch_cases(&mut self, n: &mut Vec<SwitchCase, Global>)
§fn visit_mut_switch_stmt(&mut self, n: &mut SwitchStmt)
fn visit_mut_switch_stmt(&mut self, n: &mut SwitchStmt)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_tagged_tpl(&mut self, n: &mut TaggedTpl)
fn visit_mut_tagged_tpl(&mut self, n: &mut TaggedTpl)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_this_expr(&mut self, n: &mut ThisExpr)
fn visit_mut_this_expr(&mut self, n: &mut ThisExpr)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_throw_stmt(&mut self, n: &mut ThrowStmt)
fn visit_mut_throw_stmt(&mut self, n: &mut ThrowStmt)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_tpl(&mut self, n: &mut Tpl)
fn visit_mut_tpl(&mut self, n: &mut Tpl)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_tpl_element(&mut self, n: &mut TplElement)
fn visit_mut_tpl_element(&mut self, n: &mut TplElement)
This method can be overriden to customize the visitor behavior. Read more
fn visit_mut_tpl_elements(&mut self, n: &mut Vec<TplElement, Global>)
§fn visit_mut_true_plus_minus(&mut self, n: &mut TruePlusMinus)
fn visit_mut_true_plus_minus(&mut self, n: &mut TruePlusMinus)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_try_stmt(&mut self, n: &mut TryStmt)
fn visit_mut_try_stmt(&mut self, n: &mut TryStmt)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_array_type(&mut self, n: &mut TsArrayType)
fn visit_mut_ts_array_type(&mut self, n: &mut TsArrayType)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_as_expr(&mut self, n: &mut TsAsExpr)
fn visit_mut_ts_as_expr(&mut self, n: &mut TsAsExpr)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_call_signature_decl(&mut self, n: &mut TsCallSignatureDecl)
fn visit_mut_ts_call_signature_decl(&mut self, n: &mut TsCallSignatureDecl)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_conditional_type(&mut self, n: &mut TsConditionalType)
fn visit_mut_ts_conditional_type(&mut self, n: &mut TsConditionalType)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_const_assertion(&mut self, n: &mut TsConstAssertion)
fn visit_mut_ts_const_assertion(&mut self, n: &mut TsConstAssertion)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_construct_signature_decl(
&mut self,
n: &mut TsConstructSignatureDecl
)
fn visit_mut_ts_construct_signature_decl(
&mut self,
n: &mut TsConstructSignatureDecl
)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_constructor_type(&mut self, n: &mut TsConstructorType)
fn visit_mut_ts_constructor_type(&mut self, n: &mut TsConstructorType)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_entity_name(&mut self, n: &mut TsEntityName)
fn visit_mut_ts_entity_name(&mut self, n: &mut TsEntityName)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_enum_decl(&mut self, n: &mut TsEnumDecl)
fn visit_mut_ts_enum_decl(&mut self, n: &mut TsEnumDecl)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_enum_member(&mut self, n: &mut TsEnumMember)
fn visit_mut_ts_enum_member(&mut self, n: &mut TsEnumMember)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_enum_member_id(&mut self, n: &mut TsEnumMemberId)
fn visit_mut_ts_enum_member_id(&mut self, n: &mut TsEnumMemberId)
This method can be overriden to customize the visitor behavior. Read more
fn visit_mut_ts_enum_members(&mut self, n: &mut Vec<TsEnumMember, Global>)
§fn visit_mut_ts_export_assignment(&mut self, n: &mut TsExportAssignment)
fn visit_mut_ts_export_assignment(&mut self, n: &mut TsExportAssignment)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_expr_with_type_args(&mut self, n: &mut TsExprWithTypeArgs)
fn visit_mut_ts_expr_with_type_args(&mut self, n: &mut TsExprWithTypeArgs)
This method can be overriden to customize the visitor behavior. Read more
fn visit_mut_ts_expr_with_type_args_vec(
&mut self,
n: &mut Vec<TsExprWithTypeArgs, Global>
)
§fn visit_mut_ts_external_module_ref(&mut self, n: &mut TsExternalModuleRef)
fn visit_mut_ts_external_module_ref(&mut self, n: &mut TsExternalModuleRef)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_fn_or_constructor_type(&mut self, n: &mut TsFnOrConstructorType)
fn visit_mut_ts_fn_or_constructor_type(&mut self, n: &mut TsFnOrConstructorType)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_fn_param(&mut self, n: &mut TsFnParam)
fn visit_mut_ts_fn_param(&mut self, n: &mut TsFnParam)
This method can be overriden to customize the visitor behavior. Read more
fn visit_mut_ts_fn_params(&mut self, n: &mut Vec<TsFnParam, Global>)
§fn visit_mut_ts_fn_type(&mut self, n: &mut TsFnType)
fn visit_mut_ts_fn_type(&mut self, n: &mut TsFnType)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_getter_signature(&mut self, n: &mut TsGetterSignature)
fn visit_mut_ts_getter_signature(&mut self, n: &mut TsGetterSignature)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_import_equals_decl(&mut self, n: &mut TsImportEqualsDecl)
fn visit_mut_ts_import_equals_decl(&mut self, n: &mut TsImportEqualsDecl)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_import_type(&mut self, n: &mut TsImportType)
fn visit_mut_ts_import_type(&mut self, n: &mut TsImportType)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_index_signature(&mut self, n: &mut TsIndexSignature)
fn visit_mut_ts_index_signature(&mut self, n: &mut TsIndexSignature)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_indexed_access_type(&mut self, n: &mut TsIndexedAccessType)
fn visit_mut_ts_indexed_access_type(&mut self, n: &mut TsIndexedAccessType)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_infer_type(&mut self, n: &mut TsInferType)
fn visit_mut_ts_infer_type(&mut self, n: &mut TsInferType)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_instantiation(&mut self, n: &mut TsInstantiation)
fn visit_mut_ts_instantiation(&mut self, n: &mut TsInstantiation)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_interface_body(&mut self, n: &mut TsInterfaceBody)
fn visit_mut_ts_interface_body(&mut self, n: &mut TsInterfaceBody)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_interface_decl(&mut self, n: &mut TsInterfaceDecl)
fn visit_mut_ts_interface_decl(&mut self, n: &mut TsInterfaceDecl)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_intersection_type(&mut self, n: &mut TsIntersectionType)
fn visit_mut_ts_intersection_type(&mut self, n: &mut TsIntersectionType)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_keyword_type(&mut self, n: &mut TsKeywordType)
fn visit_mut_ts_keyword_type(&mut self, n: &mut TsKeywordType)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_keyword_type_kind(&mut self, n: &mut TsKeywordTypeKind)
fn visit_mut_ts_keyword_type_kind(&mut self, n: &mut TsKeywordTypeKind)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_lit(&mut self, n: &mut TsLit)
fn visit_mut_ts_lit(&mut self, n: &mut TsLit)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_lit_type(&mut self, n: &mut TsLitType)
fn visit_mut_ts_lit_type(&mut self, n: &mut TsLitType)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_mapped_type(&mut self, n: &mut TsMappedType)
fn visit_mut_ts_mapped_type(&mut self, n: &mut TsMappedType)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_method_signature(&mut self, n: &mut TsMethodSignature)
fn visit_mut_ts_method_signature(&mut self, n: &mut TsMethodSignature)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_module_block(&mut self, n: &mut TsModuleBlock)
fn visit_mut_ts_module_block(&mut self, n: &mut TsModuleBlock)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_module_decl(&mut self, n: &mut TsModuleDecl)
fn visit_mut_ts_module_decl(&mut self, n: &mut TsModuleDecl)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_module_name(&mut self, n: &mut TsModuleName)
fn visit_mut_ts_module_name(&mut self, n: &mut TsModuleName)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_module_ref(&mut self, n: &mut TsModuleRef)
fn visit_mut_ts_module_ref(&mut self, n: &mut TsModuleRef)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_namespace_body(&mut self, n: &mut TsNamespaceBody)
fn visit_mut_ts_namespace_body(&mut self, n: &mut TsNamespaceBody)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_namespace_decl(&mut self, n: &mut TsNamespaceDecl)
fn visit_mut_ts_namespace_decl(&mut self, n: &mut TsNamespaceDecl)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_namespace_export_decl(&mut self, n: &mut TsNamespaceExportDecl)
fn visit_mut_ts_namespace_export_decl(&mut self, n: &mut TsNamespaceExportDecl)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_non_null_expr(&mut self, n: &mut TsNonNullExpr)
fn visit_mut_ts_non_null_expr(&mut self, n: &mut TsNonNullExpr)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_optional_type(&mut self, n: &mut TsOptionalType)
fn visit_mut_ts_optional_type(&mut self, n: &mut TsOptionalType)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_param_prop(&mut self, n: &mut TsParamProp)
fn visit_mut_ts_param_prop(&mut self, n: &mut TsParamProp)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_param_prop_param(&mut self, n: &mut TsParamPropParam)
fn visit_mut_ts_param_prop_param(&mut self, n: &mut TsParamPropParam)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_parenthesized_type(&mut self, n: &mut TsParenthesizedType)
fn visit_mut_ts_parenthesized_type(&mut self, n: &mut TsParenthesizedType)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_property_signature(&mut self, n: &mut TsPropertySignature)
fn visit_mut_ts_property_signature(&mut self, n: &mut TsPropertySignature)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_qualified_name(&mut self, n: &mut TsQualifiedName)
fn visit_mut_ts_qualified_name(&mut self, n: &mut TsQualifiedName)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_rest_type(&mut self, n: &mut TsRestType)
fn visit_mut_ts_rest_type(&mut self, n: &mut TsRestType)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_satisfies_expr(&mut self, n: &mut TsSatisfiesExpr)
fn visit_mut_ts_satisfies_expr(&mut self, n: &mut TsSatisfiesExpr)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_setter_signature(&mut self, n: &mut TsSetterSignature)
fn visit_mut_ts_setter_signature(&mut self, n: &mut TsSetterSignature)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_this_type(&mut self, n: &mut TsThisType)
fn visit_mut_ts_this_type(&mut self, n: &mut TsThisType)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_this_type_or_ident(&mut self, n: &mut TsThisTypeOrIdent)
fn visit_mut_ts_this_type_or_ident(&mut self, n: &mut TsThisTypeOrIdent)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_tpl_lit_type(&mut self, n: &mut TsTplLitType)
fn visit_mut_ts_tpl_lit_type(&mut self, n: &mut TsTplLitType)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_tuple_element(&mut self, n: &mut TsTupleElement)
fn visit_mut_ts_tuple_element(&mut self, n: &mut TsTupleElement)
This method can be overriden to customize the visitor behavior. Read more
fn visit_mut_ts_tuple_elements(&mut self, n: &mut Vec<TsTupleElement, Global>)
§fn visit_mut_ts_tuple_type(&mut self, n: &mut TsTupleType)
fn visit_mut_ts_tuple_type(&mut self, n: &mut TsTupleType)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_type(&mut self, n: &mut TsType)
fn visit_mut_ts_type(&mut self, n: &mut TsType)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_type_alias_decl(&mut self, n: &mut TsTypeAliasDecl)
fn visit_mut_ts_type_alias_decl(&mut self, n: &mut TsTypeAliasDecl)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_type_ann(&mut self, n: &mut TsTypeAnn)
fn visit_mut_ts_type_ann(&mut self, n: &mut TsTypeAnn)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_type_assertion(&mut self, n: &mut TsTypeAssertion)
fn visit_mut_ts_type_assertion(&mut self, n: &mut TsTypeAssertion)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_type_element(&mut self, n: &mut TsTypeElement)
fn visit_mut_ts_type_element(&mut self, n: &mut TsTypeElement)
This method can be overriden to customize the visitor behavior. Read more
fn visit_mut_ts_type_elements(&mut self, n: &mut Vec<TsTypeElement, Global>)
§fn visit_mut_ts_type_lit(&mut self, n: &mut TsTypeLit)
fn visit_mut_ts_type_lit(&mut self, n: &mut TsTypeLit)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_type_operator(&mut self, n: &mut TsTypeOperator)
fn visit_mut_ts_type_operator(&mut self, n: &mut TsTypeOperator)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_type_operator_op(&mut self, n: &mut TsTypeOperatorOp)
fn visit_mut_ts_type_operator_op(&mut self, n: &mut TsTypeOperatorOp)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_type_param(&mut self, n: &mut TsTypeParam)
fn visit_mut_ts_type_param(&mut self, n: &mut TsTypeParam)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_type_param_decl(&mut self, n: &mut TsTypeParamDecl)
fn visit_mut_ts_type_param_decl(&mut self, n: &mut TsTypeParamDecl)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_type_param_instantiation(
&mut self,
n: &mut TsTypeParamInstantiation
)
fn visit_mut_ts_type_param_instantiation(
&mut self,
n: &mut TsTypeParamInstantiation
)
This method can be overriden to customize the visitor behavior. Read more
fn visit_mut_ts_type_params(&mut self, n: &mut Vec<TsTypeParam, Global>)
§fn visit_mut_ts_type_predicate(&mut self, n: &mut TsTypePredicate)
fn visit_mut_ts_type_predicate(&mut self, n: &mut TsTypePredicate)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_type_query(&mut self, n: &mut TsTypeQuery)
fn visit_mut_ts_type_query(&mut self, n: &mut TsTypeQuery)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_type_query_expr(&mut self, n: &mut TsTypeQueryExpr)
fn visit_mut_ts_type_query_expr(&mut self, n: &mut TsTypeQueryExpr)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_type_ref(&mut self, n: &mut TsTypeRef)
fn visit_mut_ts_type_ref(&mut self, n: &mut TsTypeRef)
This method can be overriden to customize the visitor behavior. Read more
fn visit_mut_ts_types(&mut self, n: &mut Vec<Box<TsType, Global>, Global>)
§fn visit_mut_ts_union_or_intersection_type(
&mut self,
n: &mut TsUnionOrIntersectionType
)
fn visit_mut_ts_union_or_intersection_type(
&mut self,
n: &mut TsUnionOrIntersectionType
)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_ts_union_type(&mut self, n: &mut TsUnionType)
fn visit_mut_ts_union_type(&mut self, n: &mut TsUnionType)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_unary_op(&mut self, n: &mut UnaryOp)
fn visit_mut_unary_op(&mut self, n: &mut UnaryOp)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_update_expr(&mut self, n: &mut UpdateExpr)
fn visit_mut_update_expr(&mut self, n: &mut UpdateExpr)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_update_op(&mut self, n: &mut UpdateOp)
fn visit_mut_update_op(&mut self, n: &mut UpdateOp)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_var_decl(&mut self, n: &mut VarDecl)
fn visit_mut_var_decl(&mut self, n: &mut VarDecl)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_var_decl_kind(&mut self, n: &mut VarDeclKind)
fn visit_mut_var_decl_kind(&mut self, n: &mut VarDeclKind)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_var_decl_or_expr(&mut self, n: &mut VarDeclOrExpr)
fn visit_mut_var_decl_or_expr(&mut self, n: &mut VarDeclOrExpr)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_var_decl_or_pat(&mut self, n: &mut VarDeclOrPat)
fn visit_mut_var_decl_or_pat(&mut self, n: &mut VarDeclOrPat)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_var_declarator(&mut self, n: &mut VarDeclarator)
fn visit_mut_var_declarator(&mut self, n: &mut VarDeclarator)
This method can be overriden to customize the visitor behavior. Read more
fn visit_mut_var_declarators(&mut self, n: &mut Vec<VarDeclarator, Global>)
§fn visit_mut_while_stmt(&mut self, n: &mut WhileStmt)
fn visit_mut_while_stmt(&mut self, n: &mut WhileStmt)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_with_stmt(&mut self, n: &mut WithStmt)
fn visit_mut_with_stmt(&mut self, n: &mut WithStmt)
This method can be overriden to customize the visitor behavior. Read more
§fn visit_mut_yield_expr(&mut self, n: &mut YieldExpr)
fn visit_mut_yield_expr(&mut self, n: &mut YieldExpr)
This method can be overriden to customize the visitor behavior. Read more
Auto Trait Implementations§
impl RefUnwindSafe for TransformVisitor
impl Send for TransformVisitor
impl Sync for TransformVisitor
impl Unpin for TransformVisitor
impl UnwindSafe for TransformVisitor
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
§impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
§fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<D> OwoColorize for D
impl<D> OwoColorize for D
§fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
fn fg<C>(&self) -> FgColorDisplay<'_, C, Self>where
C: Color,
Set the foreground color generically Read more
§fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
fn bg<C>(&self) -> BgColorDisplay<'_, C, Self>where
C: Color,
Set the background color generically. Read more
§fn on_yellow<'a>(&'a self) -> BgColorDisplay<'a, Yellow, Self>
fn on_yellow<'a>(&'a self) -> BgColorDisplay<'a, Yellow, Self>
Change the background color to yellow
§fn magenta<'a>(&'a self) -> FgColorDisplay<'a, Magenta, Self>
fn magenta<'a>(&'a self) -> FgColorDisplay<'a, Magenta, Self>
Change the foreground color to magenta
§fn on_magenta<'a>(&'a self) -> BgColorDisplay<'a, Magenta, Self>
fn on_magenta<'a>(&'a self) -> BgColorDisplay<'a, Magenta, Self>
Change the background color to magenta
§fn on_purple<'a>(&'a self) -> BgColorDisplay<'a, Magenta, Self>
fn on_purple<'a>(&'a self) -> BgColorDisplay<'a, Magenta, Self>
Change the background color to purple
§fn default_color<'a>(&'a self) -> FgColorDisplay<'a, Default, Self>
fn default_color<'a>(&'a self) -> FgColorDisplay<'a, Default, Self>
Change the foreground color to the terminal default
§fn on_default_color<'a>(&'a self) -> BgColorDisplay<'a, Default, Self>
fn on_default_color<'a>(&'a self) -> BgColorDisplay<'a, Default, Self>
Change the background color to the terminal default
§fn bright_black<'a>(&'a self) -> FgColorDisplay<'a, BrightBlack, Self>
fn bright_black<'a>(&'a self) -> FgColorDisplay<'a, BrightBlack, Self>
Change the foreground color to bright black
§fn on_bright_black<'a>(&'a self) -> BgColorDisplay<'a, BrightBlack, Self>
fn on_bright_black<'a>(&'a self) -> BgColorDisplay<'a, BrightBlack, Self>
Change the background color to bright black
§fn bright_red<'a>(&'a self) -> FgColorDisplay<'a, BrightRed, Self>
fn bright_red<'a>(&'a self) -> FgColorDisplay<'a, BrightRed, Self>
Change the foreground color to bright red
§fn on_bright_red<'a>(&'a self) -> BgColorDisplay<'a, BrightRed, Self>
fn on_bright_red<'a>(&'a self) -> BgColorDisplay<'a, BrightRed, Self>
Change the background color to bright red
§fn bright_green<'a>(&'a self) -> FgColorDisplay<'a, BrightGreen, Self>
fn bright_green<'a>(&'a self) -> FgColorDisplay<'a, BrightGreen, Self>
Change the foreground color to bright green
§fn on_bright_green<'a>(&'a self) -> BgColorDisplay<'a, BrightGreen, Self>
fn on_bright_green<'a>(&'a self) -> BgColorDisplay<'a, BrightGreen, Self>
Change the background color to bright green
§fn bright_yellow<'a>(&'a self) -> FgColorDisplay<'a, BrightYellow, Self>
fn bright_yellow<'a>(&'a self) -> FgColorDisplay<'a, BrightYellow, Self>
Change the foreground color to bright yellow
§fn on_bright_yellow<'a>(&'a self) -> BgColorDisplay<'a, BrightYellow, Self>
fn on_bright_yellow<'a>(&'a self) -> BgColorDisplay<'a, BrightYellow, Self>
Change the background color to bright yellow
§fn bright_blue<'a>(&'a self) -> FgColorDisplay<'a, BrightBlue, Self>
fn bright_blue<'a>(&'a self) -> FgColorDisplay<'a, BrightBlue, Self>
Change the foreground color to bright blue
§fn on_bright_blue<'a>(&'a self) -> BgColorDisplay<'a, BrightBlue, Self>
fn on_bright_blue<'a>(&'a self) -> BgColorDisplay<'a, BrightBlue, Self>
Change the background color to bright blue
§fn bright_magenta<'a>(&'a self) -> FgColorDisplay<'a, BrightMagenta, Self>
fn bright_magenta<'a>(&'a self) -> FgColorDisplay<'a, BrightMagenta, Self>
Change the foreground color to bright magenta
§fn on_bright_magenta<'a>(&'a self) -> BgColorDisplay<'a, BrightMagenta, Self>
fn on_bright_magenta<'a>(&'a self) -> BgColorDisplay<'a, BrightMagenta, Self>
Change the background color to bright magenta
§fn bright_purple<'a>(&'a self) -> FgColorDisplay<'a, BrightMagenta, Self>
fn bright_purple<'a>(&'a self) -> FgColorDisplay<'a, BrightMagenta, Self>
Change the foreground color to bright purple
§fn on_bright_purple<'a>(&'a self) -> BgColorDisplay<'a, BrightMagenta, Self>
fn on_bright_purple<'a>(&'a self) -> BgColorDisplay<'a, BrightMagenta, Self>
Change the background color to bright purple
§fn bright_cyan<'a>(&'a self) -> FgColorDisplay<'a, BrightCyan, Self>
fn bright_cyan<'a>(&'a self) -> FgColorDisplay<'a, BrightCyan, Self>
Change the foreground color to bright cyan
§fn on_bright_cyan<'a>(&'a self) -> BgColorDisplay<'a, BrightCyan, Self>
fn on_bright_cyan<'a>(&'a self) -> BgColorDisplay<'a, BrightCyan, Self>
Change the background color to bright cyan
§fn bright_white<'a>(&'a self) -> FgColorDisplay<'a, BrightWhite, Self>
fn bright_white<'a>(&'a self) -> FgColorDisplay<'a, BrightWhite, Self>
Change the foreground color to bright white
§fn on_bright_white<'a>(&'a self) -> BgColorDisplay<'a, BrightWhite, Self>
fn on_bright_white<'a>(&'a self) -> BgColorDisplay<'a, BrightWhite, Self>
Change the background color to bright white
§fn blink_fast<'a>(&'a self) -> BlinkFastDisplay<'a, Self>
fn blink_fast<'a>(&'a self) -> BlinkFastDisplay<'a, Self>
Make the text blink (but fast!)
Hide the text
§fn strikethrough<'a>(&'a self) -> StrikeThroughDisplay<'a, Self>
fn strikethrough<'a>(&'a self) -> StrikeThroughDisplay<'a, Self>
Cross out the text
§fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn color<Color>(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
Set the foreground color at runtime. Only use if you do not know which color will be used at
compile-time. If the color is constant, use either
OwoColorize::fg
or
a color-specific method, such as OwoColorize::green
, Read more§fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
fn on_color<Color>(&self, color: Color) -> BgDynColorDisplay<'_, Color, Self>where
Color: DynColor,
Set the background color at runtime. Only use if you do not know what color to use at
compile-time. If the color is constant, use either
OwoColorize::bg
or
a color-specific method, such as OwoColorize::on_yellow
, Read more§fn fg_rgb<const R: u8, const G: u8, const B: u8>(
&self
) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>
fn fg_rgb<const R: u8, const G: u8, const B: u8>(
&self
) -> FgColorDisplay<'_, CustomColor<R, G, B>, Self>
Set the foreground color to a specific RGB value.
§fn bg_rgb<const R: u8, const G: u8, const B: u8>(
&self
) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>
fn bg_rgb<const R: u8, const G: u8, const B: u8>(
&self
) -> BgColorDisplay<'_, CustomColor<R, G, B>, Self>
Set the background color to a specific RGB value.
§fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>
fn truecolor(&self, r: u8, g: u8, b: u8) -> FgDynColorDisplay<'_, Rgb, Self>
Sets the foreground color to an RGB value.
§fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>
fn on_truecolor(&self, r: u8, g: u8, b: u8) -> BgDynColorDisplay<'_, Rgb, Self>
Sets the background color to an RGB value.