Trait VisitMutWith
pub trait VisitMutWith<V>{
// Required methods
fn visit_mut_with(&mut self, visitor: &mut V);
fn visit_mut_children_with(&mut self, visitor: &mut V);
}
__ecma
and __visit
only.Expand description
A trait implemented for types that can be visited using a visitor.
Required Methods§
fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls a visitor method (visitor.fold_xxx) with self.
fn visit_mut_children_with(&mut self, visitor: &mut V)
fn visit_mut_children_with(&mut self, visitor: &mut V)
Visit children nodes of self`` with
visitor`.
Implementations on Foreign Types§
§impl<V> VisitMutWith<V> for Option<Accessibility>
impl<V> VisitMutWith<V> for Option<Accessibility>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_opt_accessibility
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Option<JSXAttrValue>
impl<V> VisitMutWith<V> for Option<JSXAttrValue>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_opt_jsx_attr_value
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Option<ModuleExportName>
impl<V> VisitMutWith<V> for Option<ModuleExportName>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_opt_module_export_name
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Option<Pat>
impl<V> VisitMutWith<V> for Option<Pat>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_opt_pat
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Option<TruePlusMinus>
impl<V> VisitMutWith<V> for Option<TruePlusMinus>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_opt_true_plus_minus
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Option<TsEntityName>
impl<V> VisitMutWith<V> for Option<TsEntityName>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_opt_ts_entity_name
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Option<TsNamespaceBody>
impl<V> VisitMutWith<V> for Option<TsNamespaceBody>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_opt_ts_namespace_body
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Option<VarDeclOrExpr>
impl<V> VisitMutWith<V> for Option<VarDeclOrExpr>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_opt_var_decl_or_expr
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Option<Atom>
impl<V> VisitMutWith<V> for Option<Atom>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_opt_atom
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Option<Span>
impl<V> VisitMutWith<V> for Option<Span>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_opt_span
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Option<BlockStmt>
impl<V> VisitMutWith<V> for Option<BlockStmt>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_opt_block_stmt
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Option<CatchClause>
impl<V> VisitMutWith<V> for Option<CatchClause>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_opt_catch_clause
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Option<ExprOrSpread>
impl<V> VisitMutWith<V> for Option<ExprOrSpread>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_opt_expr_or_spread
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Option<Ident>
impl<V> VisitMutWith<V> for Option<Ident>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_opt_ident
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Option<JSXClosingElement>
impl<V> VisitMutWith<V> for Option<JSXClosingElement>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_opt_jsx_closing_element
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Option<Box<Expr>>
impl<V> VisitMutWith<V> for Option<Box<Expr>>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_opt_expr
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Option<Box<Stmt>>
impl<V> VisitMutWith<V> for Option<Box<Stmt>>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_opt_stmt
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Option<Box<TsType>>
impl<V> VisitMutWith<V> for Option<Box<TsType>>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_opt_ts_type
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Option<Box<ObjectLit>>
impl<V> VisitMutWith<V> for Option<Box<ObjectLit>>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_opt_object_lit
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Option<Box<Str>>
impl<V> VisitMutWith<V> for Option<Box<Str>>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_opt_str
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Option<Box<TsTypeAnn>>
impl<V> VisitMutWith<V> for Option<Box<TsTypeAnn>>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_opt_ts_type_ann
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Option<Box<TsTypeParamDecl>>
impl<V> VisitMutWith<V> for Option<Box<TsTypeParamDecl>>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_opt_ts_type_param_decl
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Option<Box<TsTypeParamInstantiation>>
impl<V> VisitMutWith<V> for Option<Box<TsTypeParamInstantiation>>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_opt_ts_type_param_instantiation
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Option<Vec<ExprOrSpread>>
impl<V> VisitMutWith<V> for Option<Vec<ExprOrSpread>>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_opt_expr_or_spreads
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Vec<ClassMember>
impl<V> VisitMutWith<V> for Vec<ClassMember>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_class_members
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Vec<ExportSpecifier>
impl<V> VisitMutWith<V> for Vec<ExportSpecifier>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_export_specifiers
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Vec<ImportSpecifier>
impl<V> VisitMutWith<V> for Vec<ImportSpecifier>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_import_specifiers
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Vec<JSXAttrOrSpread>
impl<V> VisitMutWith<V> for Vec<JSXAttrOrSpread>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_jsx_attr_or_spreads
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Vec<JSXElementChild>
impl<V> VisitMutWith<V> for Vec<JSXElementChild>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_jsx_element_childs
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Vec<ModuleItem>
impl<V> VisitMutWith<V> for Vec<ModuleItem>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_module_items
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Vec<ObjectPatProp>
impl<V> VisitMutWith<V> for Vec<ObjectPatProp>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_object_pat_props
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Vec<ParamOrTsParamProp>
impl<V> VisitMutWith<V> for Vec<ParamOrTsParamProp>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_param_or_ts_param_props
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Vec<Pat>
impl<V> VisitMutWith<V> for Vec<Pat>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_pats
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Vec<PropOrSpread>
impl<V> VisitMutWith<V> for Vec<PropOrSpread>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_prop_or_spreads
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Vec<Stmt>
impl<V> VisitMutWith<V> for Vec<Stmt>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_stmts
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Vec<TsFnParam>
impl<V> VisitMutWith<V> for Vec<TsFnParam>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_ts_fn_params
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Vec<TsTypeElement>
impl<V> VisitMutWith<V> for Vec<TsTypeElement>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_ts_type_elements
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Vec<Option<Pat>>
impl<V> VisitMutWith<V> for Vec<Option<Pat>>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_opt_vec_pats
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Vec<Option<ExprOrSpread>>
impl<V> VisitMutWith<V> for Vec<Option<ExprOrSpread>>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_opt_vec_expr_or_spreads
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Vec<Decorator>
impl<V> VisitMutWith<V> for Vec<Decorator>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_decorators
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Vec<ExprOrSpread>
impl<V> VisitMutWith<V> for Vec<ExprOrSpread>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_expr_or_spreads
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Vec<ImportWithItem>
impl<V> VisitMutWith<V> for Vec<ImportWithItem>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_import_with_items
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Vec<Param>
impl<V> VisitMutWith<V> for Vec<Param>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_params
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Vec<SwitchCase>
impl<V> VisitMutWith<V> for Vec<SwitchCase>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_switch_cases
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Vec<TplElement>
impl<V> VisitMutWith<V> for Vec<TplElement>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_tpl_elements
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Vec<TsEnumMember>
impl<V> VisitMutWith<V> for Vec<TsEnumMember>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_ts_enum_members
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Vec<TsExprWithTypeArgs>
impl<V> VisitMutWith<V> for Vec<TsExprWithTypeArgs>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_ts_expr_with_type_argss
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Vec<TsTupleElement>
impl<V> VisitMutWith<V> for Vec<TsTupleElement>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_ts_tuple_elements
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Vec<TsTypeParam>
impl<V> VisitMutWith<V> for Vec<TsTypeParam>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_ts_type_params
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Vec<VarDeclarator>
impl<V> VisitMutWith<V> for Vec<VarDeclarator>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_var_declarators
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Vec<Box<Expr>>
impl<V> VisitMutWith<V> for Vec<Box<Expr>>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_exprs
with self
. (Extra impl)
fn visit_mut_children_with(&mut self, visitor: &mut V)
§impl<V> VisitMutWith<V> for Vec<Box<TsType>>
impl<V> VisitMutWith<V> for Vec<Box<TsType>>
§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_ts_types
with self
. (Extra impl)