Struct Repeat
pub struct Repeat<V>where
V: Repeated,{
pub pass: V,
}
Available on crate feature
__common
only.Expand description
Fields§
§pass: V
Implementations§
Trait Implementations§
§impl<V> CompilerPass for Repeat<V>where
V: CompilerPass + Repeated,
impl<V> CompilerPass for Repeat<V>where
V: CompilerPass + Repeated,
§impl<V> Fold for Repeat<V>
impl<V> Fold for Repeat<V>
§fn fold_program(&mut self, node: Program) -> Program
fn fold_program(&mut self, node: Program) -> Program
Visit a node of type
Program
. Read more§fn fold_module(&mut self, node: Module) -> Module
fn fold_module(&mut self, node: Module) -> Module
Visit a node of type
Module
. Read more§fn fold_script(&mut self, node: Script) -> Script
fn fold_script(&mut self, node: Script) -> Script
Visit a node of type
Script
. Read more§fn fold_accessibility(&mut self, node: Accessibility) -> Accessibility
fn fold_accessibility(&mut self, node: Accessibility) -> Accessibility
Visit a node of type
Accessibility
. Read more§fn fold_array_lit(&mut self, node: ArrayLit) -> ArrayLit
fn fold_array_lit(&mut self, node: ArrayLit) -> ArrayLit
Visit a node of type
ArrayLit
. Read more§fn fold_array_pat(&mut self, node: ArrayPat) -> ArrayPat
fn fold_array_pat(&mut self, node: ArrayPat) -> ArrayPat
Visit a node of type
ArrayPat
. Read more§fn fold_arrow_expr(&mut self, node: ArrowExpr) -> ArrowExpr
fn fold_arrow_expr(&mut self, node: ArrowExpr) -> ArrowExpr
Visit a node of type
ArrowExpr
. Read more§fn fold_assign_expr(&mut self, node: AssignExpr) -> AssignExpr
fn fold_assign_expr(&mut self, node: AssignExpr) -> AssignExpr
Visit a node of type
AssignExpr
. Read more§fn fold_assign_op(&mut self, node: AssignOp) -> AssignOp
fn fold_assign_op(&mut self, node: AssignOp) -> AssignOp
Visit a node of type
AssignOp
. Read more§fn fold_assign_pat(&mut self, node: AssignPat) -> AssignPat
fn fold_assign_pat(&mut self, node: AssignPat) -> AssignPat
Visit a node of type
AssignPat
. Read more§fn fold_assign_pat_prop(&mut self, node: AssignPatProp) -> AssignPatProp
fn fold_assign_pat_prop(&mut self, node: AssignPatProp) -> AssignPatProp
Visit a node of type
AssignPatProp
. Read more§fn fold_assign_prop(&mut self, node: AssignProp) -> AssignProp
fn fold_assign_prop(&mut self, node: AssignProp) -> AssignProp
Visit a node of type
AssignProp
. Read more§fn fold_assign_target(&mut self, node: AssignTarget) -> AssignTarget
fn fold_assign_target(&mut self, node: AssignTarget) -> AssignTarget
Visit a node of type
AssignTarget
. Read more§fn fold_assign_target_pat(&mut self, node: AssignTargetPat) -> AssignTargetPat
fn fold_assign_target_pat(&mut self, node: AssignTargetPat) -> AssignTargetPat
Visit a node of type
AssignTargetPat
. Read more§fn fold_auto_accessor(&mut self, node: AutoAccessor) -> AutoAccessor
fn fold_auto_accessor(&mut self, node: AutoAccessor) -> AutoAccessor
Visit a node of type
AutoAccessor
. Read more§fn fold_await_expr(&mut self, node: AwaitExpr) -> AwaitExpr
fn fold_await_expr(&mut self, node: AwaitExpr) -> AwaitExpr
Visit a node of type
AwaitExpr
. Read more§fn fold_big_int(&mut self, node: BigInt) -> BigInt
fn fold_big_int(&mut self, node: BigInt) -> BigInt
Visit a node of type
BigInt
. Read more§fn fold_big_int_value(&mut self, node: BigInt) -> BigInt
fn fold_big_int_value(&mut self, node: BigInt) -> BigInt
Visit a node of type
BigIntValue
. Read more§fn fold_bin_expr(&mut self, node: BinExpr) -> BinExpr
fn fold_bin_expr(&mut self, node: BinExpr) -> BinExpr
Visit a node of type
BinExpr
. Read more§fn fold_binary_op(&mut self, node: BinaryOp) -> BinaryOp
fn fold_binary_op(&mut self, node: BinaryOp) -> BinaryOp
Visit a node of type
BinaryOp
. Read more§fn fold_binding_ident(&mut self, node: BindingIdent) -> BindingIdent
fn fold_binding_ident(&mut self, node: BindingIdent) -> BindingIdent
Visit a node of type
BindingIdent
. Read more§fn fold_block_stmt(&mut self, node: BlockStmt) -> BlockStmt
fn fold_block_stmt(&mut self, node: BlockStmt) -> BlockStmt
Visit a node of type
BlockStmt
. Read more§fn fold_block_stmt_or_expr(&mut self, node: BlockStmtOrExpr) -> BlockStmtOrExpr
fn fold_block_stmt_or_expr(&mut self, node: BlockStmtOrExpr) -> BlockStmtOrExpr
Visit a node of type
BlockStmtOrExpr
. Read more§fn fold_break_stmt(&mut self, node: BreakStmt) -> BreakStmt
fn fold_break_stmt(&mut self, node: BreakStmt) -> BreakStmt
Visit a node of type
BreakStmt
. Read more§fn fold_call_expr(&mut self, node: CallExpr) -> CallExpr
fn fold_call_expr(&mut self, node: CallExpr) -> CallExpr
Visit a node of type
CallExpr
. Read more§fn fold_callee(&mut self, node: Callee) -> Callee
fn fold_callee(&mut self, node: Callee) -> Callee
Visit a node of type
Callee
. Read more§fn fold_catch_clause(&mut self, node: CatchClause) -> CatchClause
fn fold_catch_clause(&mut self, node: CatchClause) -> CatchClause
Visit a node of type
CatchClause
. Read more§fn fold_class(&mut self, node: Class) -> Class
fn fold_class(&mut self, node: Class) -> Class
Visit a node of type
Class
. Read more§fn fold_class_decl(&mut self, node: ClassDecl) -> ClassDecl
fn fold_class_decl(&mut self, node: ClassDecl) -> ClassDecl
Visit a node of type
ClassDecl
. Read more§fn fold_class_expr(&mut self, node: ClassExpr) -> ClassExpr
fn fold_class_expr(&mut self, node: ClassExpr) -> ClassExpr
Visit a node of type
ClassExpr
. Read more§fn fold_class_member(&mut self, node: ClassMember) -> ClassMember
fn fold_class_member(&mut self, node: ClassMember) -> ClassMember
Visit a node of type
ClassMember
. Read more§fn fold_class_members(&mut self, node: Vec<ClassMember>) -> Vec<ClassMember>
fn fold_class_members(&mut self, node: Vec<ClassMember>) -> Vec<ClassMember>
Visit a node of type
Vec < ClassMember >
. Read more§fn fold_class_method(&mut self, node: ClassMethod) -> ClassMethod
fn fold_class_method(&mut self, node: ClassMethod) -> ClassMethod
Visit a node of type
ClassMethod
. Read more§fn fold_class_prop(&mut self, node: ClassProp) -> ClassProp
fn fold_class_prop(&mut self, node: ClassProp) -> ClassProp
Visit a node of type
ClassProp
. Read more§fn fold_computed_prop_name(
&mut self,
node: ComputedPropName,
) -> ComputedPropName
fn fold_computed_prop_name( &mut self, node: ComputedPropName, ) -> ComputedPropName
Visit a node of type
ComputedPropName
. Read more§fn fold_cond_expr(&mut self, node: CondExpr) -> CondExpr
fn fold_cond_expr(&mut self, node: CondExpr) -> CondExpr
Visit a node of type
CondExpr
. Read more§fn fold_constructor(&mut self, node: Constructor) -> Constructor
fn fold_constructor(&mut self, node: Constructor) -> Constructor
Visit a node of type
Constructor
. Read more§fn fold_continue_stmt(&mut self, node: ContinueStmt) -> ContinueStmt
fn fold_continue_stmt(&mut self, node: ContinueStmt) -> ContinueStmt
Visit a node of type
ContinueStmt
. Read more§fn fold_debugger_stmt(&mut self, node: DebuggerStmt) -> DebuggerStmt
fn fold_debugger_stmt(&mut self, node: DebuggerStmt) -> DebuggerStmt
Visit a node of type
DebuggerStmt
. Read more§fn fold_decorator(&mut self, node: Decorator) -> Decorator
fn fold_decorator(&mut self, node: Decorator) -> Decorator
Visit a node of type
Decorator
. Read more§fn fold_decorators(&mut self, node: Vec<Decorator>) -> Vec<Decorator>
fn fold_decorators(&mut self, node: Vec<Decorator>) -> Vec<Decorator>
Visit a node of type
Vec < Decorator >
. Read more§fn fold_default_decl(&mut self, node: DefaultDecl) -> DefaultDecl
fn fold_default_decl(&mut self, node: DefaultDecl) -> DefaultDecl
Visit a node of type
DefaultDecl
. Read more§fn fold_do_while_stmt(&mut self, node: DoWhileStmt) -> DoWhileStmt
fn fold_do_while_stmt(&mut self, node: DoWhileStmt) -> DoWhileStmt
Visit a node of type
DoWhileStmt
. Read more§fn fold_empty_stmt(&mut self, node: EmptyStmt) -> EmptyStmt
fn fold_empty_stmt(&mut self, node: EmptyStmt) -> EmptyStmt
Visit a node of type
EmptyStmt
. Read more§fn fold_export_all(&mut self, node: ExportAll) -> ExportAll
fn fold_export_all(&mut self, node: ExportAll) -> ExportAll
Visit a node of type
ExportAll
. Read more§fn fold_export_decl(&mut self, node: ExportDecl) -> ExportDecl
fn fold_export_decl(&mut self, node: ExportDecl) -> ExportDecl
Visit a node of type
ExportDecl
. Read more§fn fold_export_default_decl(
&mut self,
node: ExportDefaultDecl,
) -> ExportDefaultDecl
fn fold_export_default_decl( &mut self, node: ExportDefaultDecl, ) -> ExportDefaultDecl
Visit a node of type
ExportDefaultDecl
. Read more§fn fold_export_default_expr(
&mut self,
node: ExportDefaultExpr,
) -> ExportDefaultExpr
fn fold_export_default_expr( &mut self, node: ExportDefaultExpr, ) -> ExportDefaultExpr
Visit a node of type
ExportDefaultExpr
. Read more§fn fold_export_default_specifier(
&mut self,
node: ExportDefaultSpecifier,
) -> ExportDefaultSpecifier
fn fold_export_default_specifier( &mut self, node: ExportDefaultSpecifier, ) -> ExportDefaultSpecifier
Visit a node of type
ExportDefaultSpecifier
. Read more§fn fold_export_named_specifier(
&mut self,
node: ExportNamedSpecifier,
) -> ExportNamedSpecifier
fn fold_export_named_specifier( &mut self, node: ExportNamedSpecifier, ) -> ExportNamedSpecifier
Visit a node of type
ExportNamedSpecifier
. Read more§fn fold_export_namespace_specifier(
&mut self,
node: ExportNamespaceSpecifier,
) -> ExportNamespaceSpecifier
fn fold_export_namespace_specifier( &mut self, node: ExportNamespaceSpecifier, ) -> ExportNamespaceSpecifier
Visit a node of type
ExportNamespaceSpecifier
. Read more§fn fold_export_specifier(&mut self, node: ExportSpecifier) -> ExportSpecifier
fn fold_export_specifier(&mut self, node: ExportSpecifier) -> ExportSpecifier
Visit a node of type
ExportSpecifier
. Read more§fn fold_export_specifiers(
&mut self,
node: Vec<ExportSpecifier>,
) -> Vec<ExportSpecifier>
fn fold_export_specifiers( &mut self, node: Vec<ExportSpecifier>, ) -> Vec<ExportSpecifier>
Visit a node of type
Vec < ExportSpecifier >
. Read more§fn fold_expr_or_spread(&mut self, node: ExprOrSpread) -> ExprOrSpread
fn fold_expr_or_spread(&mut self, node: ExprOrSpread) -> ExprOrSpread
Visit a node of type
ExprOrSpread
. Read more§fn fold_expr_or_spreads(&mut self, node: Vec<ExprOrSpread>) -> Vec<ExprOrSpread>
fn fold_expr_or_spreads(&mut self, node: Vec<ExprOrSpread>) -> Vec<ExprOrSpread>
Visit a node of type
Vec < ExprOrSpread >
. Read more§fn fold_expr_stmt(&mut self, node: ExprStmt) -> ExprStmt
fn fold_expr_stmt(&mut self, node: ExprStmt) -> ExprStmt
Visit a node of type
ExprStmt
. Read more§fn fold_exprs(&mut self, node: Vec<Box<Expr>>) -> Vec<Box<Expr>>
fn fold_exprs(&mut self, node: Vec<Box<Expr>>) -> Vec<Box<Expr>>
Visit a node of type
Vec < Box < Expr > >
. Read more§fn fold_fn_decl(&mut self, node: FnDecl) -> FnDecl
fn fold_fn_decl(&mut self, node: FnDecl) -> FnDecl
Visit a node of type
FnDecl
. Read more§fn fold_fn_expr(&mut self, node: FnExpr) -> FnExpr
fn fold_fn_expr(&mut self, node: FnExpr) -> FnExpr
Visit a node of type
FnExpr
. Read more§fn fold_for_head(&mut self, node: ForHead) -> ForHead
fn fold_for_head(&mut self, node: ForHead) -> ForHead
Visit a node of type
ForHead
. Read more§fn fold_for_in_stmt(&mut self, node: ForInStmt) -> ForInStmt
fn fold_for_in_stmt(&mut self, node: ForInStmt) -> ForInStmt
Visit a node of type
ForInStmt
. Read more§fn fold_for_of_stmt(&mut self, node: ForOfStmt) -> ForOfStmt
fn fold_for_of_stmt(&mut self, node: ForOfStmt) -> ForOfStmt
Visit a node of type
ForOfStmt
. Read more§fn fold_for_stmt(&mut self, node: ForStmt) -> ForStmt
fn fold_for_stmt(&mut self, node: ForStmt) -> ForStmt
Visit a node of type
ForStmt
. Read more§fn fold_function(&mut self, node: Function) -> Function
fn fold_function(&mut self, node: Function) -> Function
Visit a node of type
Function
. Read more§fn fold_getter_prop(&mut self, node: GetterProp) -> GetterProp
fn fold_getter_prop(&mut self, node: GetterProp) -> GetterProp
Visit a node of type
GetterProp
. Read more§fn fold_ident(&mut self, node: Ident) -> Ident
fn fold_ident(&mut self, node: Ident) -> Ident
Visit a node of type
Ident
. Read more§fn fold_ident_name(&mut self, node: IdentName) -> IdentName
fn fold_ident_name(&mut self, node: IdentName) -> IdentName
Visit a node of type
IdentName
. Read more§fn fold_if_stmt(&mut self, node: IfStmt) -> IfStmt
fn fold_if_stmt(&mut self, node: IfStmt) -> IfStmt
Visit a node of type
IfStmt
. Read more§fn fold_import(&mut self, node: Import) -> Import
fn fold_import(&mut self, node: Import) -> Import
Visit a node of type
Import
. Read more§fn fold_import_decl(&mut self, node: ImportDecl) -> ImportDecl
fn fold_import_decl(&mut self, node: ImportDecl) -> ImportDecl
Visit a node of type
ImportDecl
. Read more§fn fold_import_default_specifier(
&mut self,
node: ImportDefaultSpecifier,
) -> ImportDefaultSpecifier
fn fold_import_default_specifier( &mut self, node: ImportDefaultSpecifier, ) -> ImportDefaultSpecifier
Visit a node of type
ImportDefaultSpecifier
. Read more§fn fold_import_named_specifier(
&mut self,
node: ImportNamedSpecifier,
) -> ImportNamedSpecifier
fn fold_import_named_specifier( &mut self, node: ImportNamedSpecifier, ) -> ImportNamedSpecifier
Visit a node of type
ImportNamedSpecifier
. Read more§fn fold_import_phase(&mut self, node: ImportPhase) -> ImportPhase
fn fold_import_phase(&mut self, node: ImportPhase) -> ImportPhase
Visit a node of type
ImportPhase
. Read more§fn fold_import_specifier(&mut self, node: ImportSpecifier) -> ImportSpecifier
fn fold_import_specifier(&mut self, node: ImportSpecifier) -> ImportSpecifier
Visit a node of type
ImportSpecifier
. Read more§fn fold_import_specifiers(
&mut self,
node: Vec<ImportSpecifier>,
) -> Vec<ImportSpecifier>
fn fold_import_specifiers( &mut self, node: Vec<ImportSpecifier>, ) -> Vec<ImportSpecifier>
Visit a node of type
Vec < ImportSpecifier >
. Read more§fn fold_import_star_as_specifier(
&mut self,
node: ImportStarAsSpecifier,
) -> ImportStarAsSpecifier
fn fold_import_star_as_specifier( &mut self, node: ImportStarAsSpecifier, ) -> ImportStarAsSpecifier
Visit a node of type
ImportStarAsSpecifier
. Read more§fn fold_import_with(&mut self, node: ImportWith) -> ImportWith
fn fold_import_with(&mut self, node: ImportWith) -> ImportWith
Visit a node of type
ImportWith
. Read more§fn fold_import_with_item(&mut self, node: ImportWithItem) -> ImportWithItem
fn fold_import_with_item(&mut self, node: ImportWithItem) -> ImportWithItem
Visit a node of type
ImportWithItem
. Read more§fn fold_import_with_items(
&mut self,
node: Vec<ImportWithItem>,
) -> Vec<ImportWithItem>
fn fold_import_with_items( &mut self, node: Vec<ImportWithItem>, ) -> Vec<ImportWithItem>
Visit a node of type
Vec < ImportWithItem >
. Read more§fn fold_invalid(&mut self, node: Invalid) -> Invalid
fn fold_invalid(&mut self, node: Invalid) -> Invalid
Visit a node of type
Invalid
. Read more§fn fold_jsx_attr(&mut self, node: JSXAttr) -> JSXAttr
fn fold_jsx_attr(&mut self, node: JSXAttr) -> JSXAttr
Visit a node of type
JSXAttr
. Read more§fn fold_jsx_attr_name(&mut self, node: JSXAttrName) -> JSXAttrName
fn fold_jsx_attr_name(&mut self, node: JSXAttrName) -> JSXAttrName
Visit a node of type
JSXAttrName
. Read more§fn fold_jsx_attr_or_spread(&mut self, node: JSXAttrOrSpread) -> JSXAttrOrSpread
fn fold_jsx_attr_or_spread(&mut self, node: JSXAttrOrSpread) -> JSXAttrOrSpread
Visit a node of type
JSXAttrOrSpread
. Read more§fn fold_jsx_attr_or_spreads(
&mut self,
node: Vec<JSXAttrOrSpread>,
) -> Vec<JSXAttrOrSpread>
fn fold_jsx_attr_or_spreads( &mut self, node: Vec<JSXAttrOrSpread>, ) -> Vec<JSXAttrOrSpread>
Visit a node of type
Vec < JSXAttrOrSpread >
. Read more§fn fold_jsx_attr_value(&mut self, node: JSXAttrValue) -> JSXAttrValue
fn fold_jsx_attr_value(&mut self, node: JSXAttrValue) -> JSXAttrValue
Visit a node of type
JSXAttrValue
. Read more§fn fold_jsx_closing_element(
&mut self,
node: JSXClosingElement,
) -> JSXClosingElement
fn fold_jsx_closing_element( &mut self, node: JSXClosingElement, ) -> JSXClosingElement
Visit a node of type
JSXClosingElement
. Read more§fn fold_jsx_closing_fragment(
&mut self,
node: JSXClosingFragment,
) -> JSXClosingFragment
fn fold_jsx_closing_fragment( &mut self, node: JSXClosingFragment, ) -> JSXClosingFragment
Visit a node of type
JSXClosingFragment
. Read more§fn fold_jsx_element(&mut self, node: JSXElement) -> JSXElement
fn fold_jsx_element(&mut self, node: JSXElement) -> JSXElement
Visit a node of type
JSXElement
. Read more§fn fold_jsx_element_child(&mut self, node: JSXElementChild) -> JSXElementChild
fn fold_jsx_element_child(&mut self, node: JSXElementChild) -> JSXElementChild
Visit a node of type
JSXElementChild
. Read more§fn fold_jsx_element_childs(
&mut self,
node: Vec<JSXElementChild>,
) -> Vec<JSXElementChild>
fn fold_jsx_element_childs( &mut self, node: Vec<JSXElementChild>, ) -> Vec<JSXElementChild>
Visit a node of type
Vec < JSXElementChild >
. Read more§fn fold_jsx_element_name(&mut self, node: JSXElementName) -> JSXElementName
fn fold_jsx_element_name(&mut self, node: JSXElementName) -> JSXElementName
Visit a node of type
JSXElementName
. Read more§fn fold_jsx_empty_expr(&mut self, node: JSXEmptyExpr) -> JSXEmptyExpr
fn fold_jsx_empty_expr(&mut self, node: JSXEmptyExpr) -> JSXEmptyExpr
Visit a node of type
JSXEmptyExpr
. Read more§fn fold_jsx_expr(&mut self, node: JSXExpr) -> JSXExpr
fn fold_jsx_expr(&mut self, node: JSXExpr) -> JSXExpr
Visit a node of type
JSXExpr
. Read more§fn fold_jsx_expr_container(
&mut self,
node: JSXExprContainer,
) -> JSXExprContainer
fn fold_jsx_expr_container( &mut self, node: JSXExprContainer, ) -> JSXExprContainer
Visit a node of type
JSXExprContainer
. Read more§fn fold_jsx_fragment(&mut self, node: JSXFragment) -> JSXFragment
fn fold_jsx_fragment(&mut self, node: JSXFragment) -> JSXFragment
Visit a node of type
JSXFragment
. Read more§fn fold_jsx_member_expr(&mut self, node: JSXMemberExpr) -> JSXMemberExpr
fn fold_jsx_member_expr(&mut self, node: JSXMemberExpr) -> JSXMemberExpr
Visit a node of type
JSXMemberExpr
. Read more§fn fold_jsx_namespaced_name(
&mut self,
node: JSXNamespacedName,
) -> JSXNamespacedName
fn fold_jsx_namespaced_name( &mut self, node: JSXNamespacedName, ) -> JSXNamespacedName
Visit a node of type
JSXNamespacedName
. Read more§fn fold_jsx_object(&mut self, node: JSXObject) -> JSXObject
fn fold_jsx_object(&mut self, node: JSXObject) -> JSXObject
Visit a node of type
JSXObject
. Read more§fn fold_jsx_opening_element(
&mut self,
node: JSXOpeningElement,
) -> JSXOpeningElement
fn fold_jsx_opening_element( &mut self, node: JSXOpeningElement, ) -> JSXOpeningElement
Visit a node of type
JSXOpeningElement
. Read more§fn fold_jsx_opening_fragment(
&mut self,
node: JSXOpeningFragment,
) -> JSXOpeningFragment
fn fold_jsx_opening_fragment( &mut self, node: JSXOpeningFragment, ) -> JSXOpeningFragment
Visit a node of type
JSXOpeningFragment
. Read more§fn fold_jsx_spread_child(&mut self, node: JSXSpreadChild) -> JSXSpreadChild
fn fold_jsx_spread_child(&mut self, node: JSXSpreadChild) -> JSXSpreadChild
Visit a node of type
JSXSpreadChild
. Read more§fn fold_jsx_text(&mut self, node: JSXText) -> JSXText
fn fold_jsx_text(&mut self, node: JSXText) -> JSXText
Visit a node of type
JSXText
. Read more§fn fold_key_value_pat_prop(&mut self, node: KeyValuePatProp) -> KeyValuePatProp
fn fold_key_value_pat_prop(&mut self, node: KeyValuePatProp) -> KeyValuePatProp
Visit a node of type
KeyValuePatProp
. Read more§fn fold_key_value_prop(&mut self, node: KeyValueProp) -> KeyValueProp
fn fold_key_value_prop(&mut self, node: KeyValueProp) -> KeyValueProp
Visit a node of type
KeyValueProp
. Read more§fn fold_labeled_stmt(&mut self, node: LabeledStmt) -> LabeledStmt
fn fold_labeled_stmt(&mut self, node: LabeledStmt) -> LabeledStmt
Visit a node of type
LabeledStmt
. Read more§fn fold_member_expr(&mut self, node: MemberExpr) -> MemberExpr
fn fold_member_expr(&mut self, node: MemberExpr) -> MemberExpr
Visit a node of type
MemberExpr
. Read more§fn fold_member_prop(&mut self, node: MemberProp) -> MemberProp
fn fold_member_prop(&mut self, node: MemberProp) -> MemberProp
Visit a node of type
MemberProp
. Read more§fn fold_meta_prop_expr(&mut self, node: MetaPropExpr) -> MetaPropExpr
fn fold_meta_prop_expr(&mut self, node: MetaPropExpr) -> MetaPropExpr
Visit a node of type
MetaPropExpr
. Read more§fn fold_meta_prop_kind(&mut self, node: MetaPropKind) -> MetaPropKind
fn fold_meta_prop_kind(&mut self, node: MetaPropKind) -> MetaPropKind
Visit a node of type
MetaPropKind
. Read more§fn fold_method_kind(&mut self, node: MethodKind) -> MethodKind
fn fold_method_kind(&mut self, node: MethodKind) -> MethodKind
Visit a node of type
MethodKind
. Read more§fn fold_method_prop(&mut self, node: MethodProp) -> MethodProp
fn fold_method_prop(&mut self, node: MethodProp) -> MethodProp
Visit a node of type
MethodProp
. Read more§fn fold_module_decl(&mut self, node: ModuleDecl) -> ModuleDecl
fn fold_module_decl(&mut self, node: ModuleDecl) -> ModuleDecl
Visit a node of type
ModuleDecl
. Read more§fn fold_module_export_name(
&mut self,
node: ModuleExportName,
) -> ModuleExportName
fn fold_module_export_name( &mut self, node: ModuleExportName, ) -> ModuleExportName
Visit a node of type
ModuleExportName
. Read more§fn fold_module_item(&mut self, node: ModuleItem) -> ModuleItem
fn fold_module_item(&mut self, node: ModuleItem) -> ModuleItem
Visit a node of type
ModuleItem
. Read more§fn fold_module_items(&mut self, node: Vec<ModuleItem>) -> Vec<ModuleItem>
fn fold_module_items(&mut self, node: Vec<ModuleItem>) -> Vec<ModuleItem>
Visit a node of type
Vec < ModuleItem >
. Read more§fn fold_named_export(&mut self, node: NamedExport) -> NamedExport
fn fold_named_export(&mut self, node: NamedExport) -> NamedExport
Visit a node of type
NamedExport
. Read more§fn fold_new_expr(&mut self, node: NewExpr) -> NewExpr
fn fold_new_expr(&mut self, node: NewExpr) -> NewExpr
Visit a node of type
NewExpr
. Read more§fn fold_number(&mut self, node: Number) -> Number
fn fold_number(&mut self, node: Number) -> Number
Visit a node of type
Number
. Read more§fn fold_object_lit(&mut self, node: ObjectLit) -> ObjectLit
fn fold_object_lit(&mut self, node: ObjectLit) -> ObjectLit
Visit a node of type
ObjectLit
. Read more§fn fold_object_pat(&mut self, node: ObjectPat) -> ObjectPat
fn fold_object_pat(&mut self, node: ObjectPat) -> ObjectPat
Visit a node of type
ObjectPat
. Read more§fn fold_object_pat_prop(&mut self, node: ObjectPatProp) -> ObjectPatProp
fn fold_object_pat_prop(&mut self, node: ObjectPatProp) -> ObjectPatProp
Visit a node of type
ObjectPatProp
. Read more§fn fold_object_pat_props(
&mut self,
node: Vec<ObjectPatProp>,
) -> Vec<ObjectPatProp>
fn fold_object_pat_props( &mut self, node: Vec<ObjectPatProp>, ) -> Vec<ObjectPatProp>
Visit a node of type
Vec < ObjectPatProp >
. Read more§fn fold_opt_accessibility(
&mut self,
node: Option<Accessibility>,
) -> Option<Accessibility>
fn fold_opt_accessibility( &mut self, node: Option<Accessibility>, ) -> Option<Accessibility>
Visit a node of type
Option < Accessibility >
. Read more§fn fold_opt_atom(&mut self, node: Option<Atom>) -> Option<Atom>
fn fold_opt_atom(&mut self, node: Option<Atom>) -> Option<Atom>
Visit a node of type
Option < swc_atoms :: Atom >
. Read more§fn fold_opt_block_stmt(&mut self, node: Option<BlockStmt>) -> Option<BlockStmt>
fn fold_opt_block_stmt(&mut self, node: Option<BlockStmt>) -> Option<BlockStmt>
Visit a node of type
Option < BlockStmt >
. Read more§fn fold_opt_call(&mut self, node: OptCall) -> OptCall
fn fold_opt_call(&mut self, node: OptCall) -> OptCall
Visit a node of type
OptCall
. Read more§fn fold_opt_catch_clause(
&mut self,
node: Option<CatchClause>,
) -> Option<CatchClause>
fn fold_opt_catch_clause( &mut self, node: Option<CatchClause>, ) -> Option<CatchClause>
Visit a node of type
Option < CatchClause >
. Read more§fn fold_opt_chain_base(&mut self, node: OptChainBase) -> OptChainBase
fn fold_opt_chain_base(&mut self, node: OptChainBase) -> OptChainBase
Visit a node of type
OptChainBase
. Read more§fn fold_opt_chain_expr(&mut self, node: OptChainExpr) -> OptChainExpr
fn fold_opt_chain_expr(&mut self, node: OptChainExpr) -> OptChainExpr
Visit a node of type
OptChainExpr
. Read more§fn fold_opt_expr(&mut self, node: Option<Box<Expr>>) -> Option<Box<Expr>>
fn fold_opt_expr(&mut self, node: Option<Box<Expr>>) -> Option<Box<Expr>>
Visit a node of type
Option < Box < Expr > >
. Read more§fn fold_opt_expr_or_spread(
&mut self,
node: Option<ExprOrSpread>,
) -> Option<ExprOrSpread>
fn fold_opt_expr_or_spread( &mut self, node: Option<ExprOrSpread>, ) -> Option<ExprOrSpread>
Visit a node of type
Option < ExprOrSpread >
. Read more§fn fold_opt_expr_or_spreads(
&mut self,
node: Option<Vec<ExprOrSpread>>,
) -> Option<Vec<ExprOrSpread>>
fn fold_opt_expr_or_spreads( &mut self, node: Option<Vec<ExprOrSpread>>, ) -> Option<Vec<ExprOrSpread>>
Visit a node of type
Option < Vec < ExprOrSpread > >
. Read more§fn fold_opt_ident(&mut self, node: Option<Ident>) -> Option<Ident>
fn fold_opt_ident(&mut self, node: Option<Ident>) -> Option<Ident>
Visit a node of type
Option < Ident >
. Read more§fn fold_opt_jsx_attr_value(
&mut self,
node: Option<JSXAttrValue>,
) -> Option<JSXAttrValue>
fn fold_opt_jsx_attr_value( &mut self, node: Option<JSXAttrValue>, ) -> Option<JSXAttrValue>
Visit a node of type
Option < JSXAttrValue >
. Read more§fn fold_opt_jsx_closing_element(
&mut self,
node: Option<JSXClosingElement>,
) -> Option<JSXClosingElement>
fn fold_opt_jsx_closing_element( &mut self, node: Option<JSXClosingElement>, ) -> Option<JSXClosingElement>
Visit a node of type
Option < JSXClosingElement >
. Read more§fn fold_opt_module_export_name(
&mut self,
node: Option<ModuleExportName>,
) -> Option<ModuleExportName>
fn fold_opt_module_export_name( &mut self, node: Option<ModuleExportName>, ) -> Option<ModuleExportName>
Visit a node of type
Option < ModuleExportName >
. Read more§fn fold_opt_object_lit(
&mut self,
node: Option<Box<ObjectLit>>,
) -> Option<Box<ObjectLit>>
fn fold_opt_object_lit( &mut self, node: Option<Box<ObjectLit>>, ) -> Option<Box<ObjectLit>>
Visit a node of type
Option < Box < ObjectLit > >
. Read more§fn fold_opt_pat(&mut self, node: Option<Pat>) -> Option<Pat>
fn fold_opt_pat(&mut self, node: Option<Pat>) -> Option<Pat>
Visit a node of type
Option < Pat >
. Read more§fn fold_opt_span(&mut self, node: Option<Span>) -> Option<Span>
fn fold_opt_span(&mut self, node: Option<Span>) -> Option<Span>
Visit a node of type
Option < swc_common :: Span >
. Read more§fn fold_opt_stmt(&mut self, node: Option<Box<Stmt>>) -> Option<Box<Stmt>>
fn fold_opt_stmt(&mut self, node: Option<Box<Stmt>>) -> Option<Box<Stmt>>
Visit a node of type
Option < Box < Stmt > >
. Read more§fn fold_opt_str(&mut self, node: Option<Box<Str>>) -> Option<Box<Str>>
fn fold_opt_str(&mut self, node: Option<Box<Str>>) -> Option<Box<Str>>
Visit a node of type
Option < Box < Str > >
. Read more§fn fold_opt_true_plus_minus(
&mut self,
node: Option<TruePlusMinus>,
) -> Option<TruePlusMinus>
fn fold_opt_true_plus_minus( &mut self, node: Option<TruePlusMinus>, ) -> Option<TruePlusMinus>
Visit a node of type
Option < TruePlusMinus >
. Read more§fn fold_opt_ts_entity_name(
&mut self,
node: Option<TsEntityName>,
) -> Option<TsEntityName>
fn fold_opt_ts_entity_name( &mut self, node: Option<TsEntityName>, ) -> Option<TsEntityName>
Visit a node of type
Option < TsEntityName >
. Read more§fn fold_opt_ts_namespace_body(
&mut self,
node: Option<TsNamespaceBody>,
) -> Option<TsNamespaceBody>
fn fold_opt_ts_namespace_body( &mut self, node: Option<TsNamespaceBody>, ) -> Option<TsNamespaceBody>
Visit a node of type
Option < TsNamespaceBody >
. Read more§fn fold_opt_ts_type(&mut self, node: Option<Box<TsType>>) -> Option<Box<TsType>>
fn fold_opt_ts_type(&mut self, node: Option<Box<TsType>>) -> Option<Box<TsType>>
Visit a node of type
Option < Box < TsType > >
. Read more§fn fold_opt_ts_type_ann(
&mut self,
node: Option<Box<TsTypeAnn>>,
) -> Option<Box<TsTypeAnn>>
fn fold_opt_ts_type_ann( &mut self, node: Option<Box<TsTypeAnn>>, ) -> Option<Box<TsTypeAnn>>
Visit a node of type
Option < Box < TsTypeAnn > >
. Read more§fn fold_opt_ts_type_param_decl(
&mut self,
node: Option<Box<TsTypeParamDecl>>,
) -> Option<Box<TsTypeParamDecl>>
fn fold_opt_ts_type_param_decl( &mut self, node: Option<Box<TsTypeParamDecl>>, ) -> Option<Box<TsTypeParamDecl>>
Visit a node of type
Option < Box < TsTypeParamDecl > >
. Read more§fn fold_opt_ts_type_param_instantiation(
&mut self,
node: Option<Box<TsTypeParamInstantiation>>,
) -> Option<Box<TsTypeParamInstantiation>>
fn fold_opt_ts_type_param_instantiation( &mut self, node: Option<Box<TsTypeParamInstantiation>>, ) -> Option<Box<TsTypeParamInstantiation>>
Visit a node of type
Option < Box < TsTypeParamInstantiation > >
. Read more§fn fold_opt_var_decl_or_expr(
&mut self,
node: Option<VarDeclOrExpr>,
) -> Option<VarDeclOrExpr>
fn fold_opt_var_decl_or_expr( &mut self, node: Option<VarDeclOrExpr>, ) -> Option<VarDeclOrExpr>
Visit a node of type
Option < VarDeclOrExpr >
. Read more§fn fold_opt_vec_expr_or_spreads(
&mut self,
node: Vec<Option<ExprOrSpread>>,
) -> Vec<Option<ExprOrSpread>>
fn fold_opt_vec_expr_or_spreads( &mut self, node: Vec<Option<ExprOrSpread>>, ) -> Vec<Option<ExprOrSpread>>
Visit a node of type
Vec < Option < ExprOrSpread > >
. Read more§fn fold_opt_vec_pats(&mut self, node: Vec<Option<Pat>>) -> Vec<Option<Pat>>
fn fold_opt_vec_pats(&mut self, node: Vec<Option<Pat>>) -> Vec<Option<Pat>>
Visit a node of type
Vec < Option < Pat > >
. Read more§fn fold_param(&mut self, node: Param) -> Param
fn fold_param(&mut self, node: Param) -> Param
Visit a node of type
Param
. Read more§fn fold_param_or_ts_param_prop(
&mut self,
node: ParamOrTsParamProp,
) -> ParamOrTsParamProp
fn fold_param_or_ts_param_prop( &mut self, node: ParamOrTsParamProp, ) -> ParamOrTsParamProp
Visit a node of type
ParamOrTsParamProp
. Read more§fn fold_param_or_ts_param_props(
&mut self,
node: Vec<ParamOrTsParamProp>,
) -> Vec<ParamOrTsParamProp>
fn fold_param_or_ts_param_props( &mut self, node: Vec<ParamOrTsParamProp>, ) -> Vec<ParamOrTsParamProp>
Visit a node of type
Vec < ParamOrTsParamProp >
. Read more§fn fold_params(&mut self, node: Vec<Param>) -> Vec<Param>
fn fold_params(&mut self, node: Vec<Param>) -> Vec<Param>
Visit a node of type
Vec < Param >
. Read more§fn fold_paren_expr(&mut self, node: ParenExpr) -> ParenExpr
fn fold_paren_expr(&mut self, node: ParenExpr) -> ParenExpr
Visit a node of type
ParenExpr
. Read more§fn fold_private_method(&mut self, node: PrivateMethod) -> PrivateMethod
fn fold_private_method(&mut self, node: PrivateMethod) -> PrivateMethod
Visit a node of type
PrivateMethod
. Read more§fn fold_private_name(&mut self, node: PrivateName) -> PrivateName
fn fold_private_name(&mut self, node: PrivateName) -> PrivateName
Visit a node of type
PrivateName
. Read more§fn fold_private_prop(&mut self, node: PrivateProp) -> PrivateProp
fn fold_private_prop(&mut self, node: PrivateProp) -> PrivateProp
Visit a node of type
PrivateProp
. Read more§fn fold_prop_name(&mut self, node: PropName) -> PropName
fn fold_prop_name(&mut self, node: PropName) -> PropName
Visit a node of type
PropName
. Read more§fn fold_prop_or_spread(&mut self, node: PropOrSpread) -> PropOrSpread
fn fold_prop_or_spread(&mut self, node: PropOrSpread) -> PropOrSpread
Visit a node of type
PropOrSpread
. Read more§fn fold_prop_or_spreads(&mut self, node: Vec<PropOrSpread>) -> Vec<PropOrSpread>
fn fold_prop_or_spreads(&mut self, node: Vec<PropOrSpread>) -> Vec<PropOrSpread>
Visit a node of type
Vec < PropOrSpread >
. Read more§fn fold_regex(&mut self, node: Regex) -> Regex
fn fold_regex(&mut self, node: Regex) -> Regex
Visit a node of type
Regex
. Read more§fn fold_rest_pat(&mut self, node: RestPat) -> RestPat
fn fold_rest_pat(&mut self, node: RestPat) -> RestPat
Visit a node of type
RestPat
. Read more§fn fold_return_stmt(&mut self, node: ReturnStmt) -> ReturnStmt
fn fold_return_stmt(&mut self, node: ReturnStmt) -> ReturnStmt
Visit a node of type
ReturnStmt
. Read more§fn fold_seq_expr(&mut self, node: SeqExpr) -> SeqExpr
fn fold_seq_expr(&mut self, node: SeqExpr) -> SeqExpr
Visit a node of type
SeqExpr
. Read more§fn fold_setter_prop(&mut self, node: SetterProp) -> SetterProp
fn fold_setter_prop(&mut self, node: SetterProp) -> SetterProp
Visit a node of type
SetterProp
. Read more§fn fold_simple_assign_target(
&mut self,
node: SimpleAssignTarget,
) -> SimpleAssignTarget
fn fold_simple_assign_target( &mut self, node: SimpleAssignTarget, ) -> SimpleAssignTarget
Visit a node of type
SimpleAssignTarget
. Read more§fn fold_spread_element(&mut self, node: SpreadElement) -> SpreadElement
fn fold_spread_element(&mut self, node: SpreadElement) -> SpreadElement
Visit a node of type
SpreadElement
. Read more§fn fold_static_block(&mut self, node: StaticBlock) -> StaticBlock
fn fold_static_block(&mut self, node: StaticBlock) -> StaticBlock
Visit a node of type
StaticBlock
. Read more§fn fold_super(&mut self, node: Super) -> Super
fn fold_super(&mut self, node: Super) -> Super
Visit a node of type
Super
. Read more§fn fold_super_prop(&mut self, node: SuperProp) -> SuperProp
fn fold_super_prop(&mut self, node: SuperProp) -> SuperProp
Visit a node of type
SuperProp
. Read more§fn fold_super_prop_expr(&mut self, node: SuperPropExpr) -> SuperPropExpr
fn fold_super_prop_expr(&mut self, node: SuperPropExpr) -> SuperPropExpr
Visit a node of type
SuperPropExpr
. Read more§fn fold_switch_case(&mut self, node: SwitchCase) -> SwitchCase
fn fold_switch_case(&mut self, node: SwitchCase) -> SwitchCase
Visit a node of type
SwitchCase
. Read more§fn fold_switch_cases(&mut self, node: Vec<SwitchCase>) -> Vec<SwitchCase>
fn fold_switch_cases(&mut self, node: Vec<SwitchCase>) -> Vec<SwitchCase>
Visit a node of type
Vec < SwitchCase >
. Read more§fn fold_switch_stmt(&mut self, node: SwitchStmt) -> SwitchStmt
fn fold_switch_stmt(&mut self, node: SwitchStmt) -> SwitchStmt
Visit a node of type
SwitchStmt
. Read more§fn fold_syntax_context(&mut self, node: SyntaxContext) -> SyntaxContext
fn fold_syntax_context(&mut self, node: SyntaxContext) -> SyntaxContext
Visit a node of type
swc_common :: SyntaxContext
. Read more§fn fold_tagged_tpl(&mut self, node: TaggedTpl) -> TaggedTpl
fn fold_tagged_tpl(&mut self, node: TaggedTpl) -> TaggedTpl
Visit a node of type
TaggedTpl
. Read more§fn fold_this_expr(&mut self, node: ThisExpr) -> ThisExpr
fn fold_this_expr(&mut self, node: ThisExpr) -> ThisExpr
Visit a node of type
ThisExpr
. Read more§fn fold_throw_stmt(&mut self, node: ThrowStmt) -> ThrowStmt
fn fold_throw_stmt(&mut self, node: ThrowStmt) -> ThrowStmt
Visit a node of type
ThrowStmt
. Read more§fn fold_tpl_element(&mut self, node: TplElement) -> TplElement
fn fold_tpl_element(&mut self, node: TplElement) -> TplElement
Visit a node of type
TplElement
. Read more§fn fold_tpl_elements(&mut self, node: Vec<TplElement>) -> Vec<TplElement>
fn fold_tpl_elements(&mut self, node: Vec<TplElement>) -> Vec<TplElement>
Visit a node of type
Vec < TplElement >
. Read more§fn fold_true_plus_minus(&mut self, node: TruePlusMinus) -> TruePlusMinus
fn fold_true_plus_minus(&mut self, node: TruePlusMinus) -> TruePlusMinus
Visit a node of type
TruePlusMinus
. Read more§fn fold_try_stmt(&mut self, node: TryStmt) -> TryStmt
fn fold_try_stmt(&mut self, node: TryStmt) -> TryStmt
Visit a node of type
TryStmt
. Read more§fn fold_ts_array_type(&mut self, node: TsArrayType) -> TsArrayType
fn fold_ts_array_type(&mut self, node: TsArrayType) -> TsArrayType
Visit a node of type
TsArrayType
. Read more§fn fold_ts_as_expr(&mut self, node: TsAsExpr) -> TsAsExpr
fn fold_ts_as_expr(&mut self, node: TsAsExpr) -> TsAsExpr
Visit a node of type
TsAsExpr
. Read more§fn fold_ts_call_signature_decl(
&mut self,
node: TsCallSignatureDecl,
) -> TsCallSignatureDecl
fn fold_ts_call_signature_decl( &mut self, node: TsCallSignatureDecl, ) -> TsCallSignatureDecl
Visit a node of type
TsCallSignatureDecl
. Read more§fn fold_ts_conditional_type(
&mut self,
node: TsConditionalType,
) -> TsConditionalType
fn fold_ts_conditional_type( &mut self, node: TsConditionalType, ) -> TsConditionalType
Visit a node of type
TsConditionalType
. Read more§fn fold_ts_const_assertion(
&mut self,
node: TsConstAssertion,
) -> TsConstAssertion
fn fold_ts_const_assertion( &mut self, node: TsConstAssertion, ) -> TsConstAssertion
Visit a node of type
TsConstAssertion
. Read more§fn fold_ts_construct_signature_decl(
&mut self,
node: TsConstructSignatureDecl,
) -> TsConstructSignatureDecl
fn fold_ts_construct_signature_decl( &mut self, node: TsConstructSignatureDecl, ) -> TsConstructSignatureDecl
Visit a node of type
TsConstructSignatureDecl
. Read more§fn fold_ts_constructor_type(
&mut self,
node: TsConstructorType,
) -> TsConstructorType
fn fold_ts_constructor_type( &mut self, node: TsConstructorType, ) -> TsConstructorType
Visit a node of type
TsConstructorType
. Read more§fn fold_ts_entity_name(&mut self, node: TsEntityName) -> TsEntityName
fn fold_ts_entity_name(&mut self, node: TsEntityName) -> TsEntityName
Visit a node of type
TsEntityName
. Read more§fn fold_ts_enum_decl(&mut self, node: TsEnumDecl) -> TsEnumDecl
fn fold_ts_enum_decl(&mut self, node: TsEnumDecl) -> TsEnumDecl
Visit a node of type
TsEnumDecl
. Read more§fn fold_ts_enum_member(&mut self, node: TsEnumMember) -> TsEnumMember
fn fold_ts_enum_member(&mut self, node: TsEnumMember) -> TsEnumMember
Visit a node of type
TsEnumMember
. Read more§fn fold_ts_enum_member_id(&mut self, node: TsEnumMemberId) -> TsEnumMemberId
fn fold_ts_enum_member_id(&mut self, node: TsEnumMemberId) -> TsEnumMemberId
Visit a node of type
TsEnumMemberId
. Read more§fn fold_ts_enum_members(&mut self, node: Vec<TsEnumMember>) -> Vec<TsEnumMember>
fn fold_ts_enum_members(&mut self, node: Vec<TsEnumMember>) -> Vec<TsEnumMember>
Visit a node of type
Vec < TsEnumMember >
. Read more§fn fold_ts_export_assignment(
&mut self,
node: TsExportAssignment,
) -> TsExportAssignment
fn fold_ts_export_assignment( &mut self, node: TsExportAssignment, ) -> TsExportAssignment
Visit a node of type
TsExportAssignment
. Read more§fn fold_ts_expr_with_type_args(
&mut self,
node: TsExprWithTypeArgs,
) -> TsExprWithTypeArgs
fn fold_ts_expr_with_type_args( &mut self, node: TsExprWithTypeArgs, ) -> TsExprWithTypeArgs
Visit a node of type
TsExprWithTypeArgs
. Read more§fn fold_ts_expr_with_type_argss(
&mut self,
node: Vec<TsExprWithTypeArgs>,
) -> Vec<TsExprWithTypeArgs>
fn fold_ts_expr_with_type_argss( &mut self, node: Vec<TsExprWithTypeArgs>, ) -> Vec<TsExprWithTypeArgs>
Visit a node of type
Vec < TsExprWithTypeArgs >
. Read more§fn fold_ts_external_module_ref(
&mut self,
node: TsExternalModuleRef,
) -> TsExternalModuleRef
fn fold_ts_external_module_ref( &mut self, node: TsExternalModuleRef, ) -> TsExternalModuleRef
Visit a node of type
TsExternalModuleRef
. Read more§fn fold_ts_fn_or_constructor_type(
&mut self,
node: TsFnOrConstructorType,
) -> TsFnOrConstructorType
fn fold_ts_fn_or_constructor_type( &mut self, node: TsFnOrConstructorType, ) -> TsFnOrConstructorType
Visit a node of type
TsFnOrConstructorType
. Read more§fn fold_ts_fn_param(&mut self, node: TsFnParam) -> TsFnParam
fn fold_ts_fn_param(&mut self, node: TsFnParam) -> TsFnParam
Visit a node of type
TsFnParam
. Read more§fn fold_ts_fn_params(&mut self, node: Vec<TsFnParam>) -> Vec<TsFnParam>
fn fold_ts_fn_params(&mut self, node: Vec<TsFnParam>) -> Vec<TsFnParam>
Visit a node of type
Vec < TsFnParam >
. Read more§fn fold_ts_fn_type(&mut self, node: TsFnType) -> TsFnType
fn fold_ts_fn_type(&mut self, node: TsFnType) -> TsFnType
Visit a node of type
TsFnType
. Read more§fn fold_ts_getter_signature(
&mut self,
node: TsGetterSignature,
) -> TsGetterSignature
fn fold_ts_getter_signature( &mut self, node: TsGetterSignature, ) -> TsGetterSignature
Visit a node of type
TsGetterSignature
. Read more§fn fold_ts_import_equals_decl(
&mut self,
node: TsImportEqualsDecl,
) -> TsImportEqualsDecl
fn fold_ts_import_equals_decl( &mut self, node: TsImportEqualsDecl, ) -> TsImportEqualsDecl
Visit a node of type
TsImportEqualsDecl
. Read more§fn fold_ts_import_type(&mut self, node: TsImportType) -> TsImportType
fn fold_ts_import_type(&mut self, node: TsImportType) -> TsImportType
Visit a node of type
TsImportType
. Read more§fn fold_ts_index_signature(
&mut self,
node: TsIndexSignature,
) -> TsIndexSignature
fn fold_ts_index_signature( &mut self, node: TsIndexSignature, ) -> TsIndexSignature
Visit a node of type
TsIndexSignature
. Read more§fn fold_ts_indexed_access_type(
&mut self,
node: TsIndexedAccessType,
) -> TsIndexedAccessType
fn fold_ts_indexed_access_type( &mut self, node: TsIndexedAccessType, ) -> TsIndexedAccessType
Visit a node of type
TsIndexedAccessType
. Read more§fn fold_ts_infer_type(&mut self, node: TsInferType) -> TsInferType
fn fold_ts_infer_type(&mut self, node: TsInferType) -> TsInferType
Visit a node of type
TsInferType
. Read more§fn fold_ts_instantiation(&mut self, node: TsInstantiation) -> TsInstantiation
fn fold_ts_instantiation(&mut self, node: TsInstantiation) -> TsInstantiation
Visit a node of type
TsInstantiation
. Read more§fn fold_ts_interface_body(&mut self, node: TsInterfaceBody) -> TsInterfaceBody
fn fold_ts_interface_body(&mut self, node: TsInterfaceBody) -> TsInterfaceBody
Visit a node of type
TsInterfaceBody
. Read more§fn fold_ts_interface_decl(&mut self, node: TsInterfaceDecl) -> TsInterfaceDecl
fn fold_ts_interface_decl(&mut self, node: TsInterfaceDecl) -> TsInterfaceDecl
Visit a node of type
TsInterfaceDecl
. Read more§fn fold_ts_intersection_type(
&mut self,
node: TsIntersectionType,
) -> TsIntersectionType
fn fold_ts_intersection_type( &mut self, node: TsIntersectionType, ) -> TsIntersectionType
Visit a node of type
TsIntersectionType
. Read more§fn fold_ts_keyword_type(&mut self, node: TsKeywordType) -> TsKeywordType
fn fold_ts_keyword_type(&mut self, node: TsKeywordType) -> TsKeywordType
Visit a node of type
TsKeywordType
. Read more§fn fold_ts_keyword_type_kind(
&mut self,
node: TsKeywordTypeKind,
) -> TsKeywordTypeKind
fn fold_ts_keyword_type_kind( &mut self, node: TsKeywordTypeKind, ) -> TsKeywordTypeKind
Visit a node of type
TsKeywordTypeKind
. Read more§fn fold_ts_lit(&mut self, node: TsLit) -> TsLit
fn fold_ts_lit(&mut self, node: TsLit) -> TsLit
Visit a node of type
TsLit
. Read more§fn fold_ts_lit_type(&mut self, node: TsLitType) -> TsLitType
fn fold_ts_lit_type(&mut self, node: TsLitType) -> TsLitType
Visit a node of type
TsLitType
. Read more§fn fold_ts_mapped_type(&mut self, node: TsMappedType) -> TsMappedType
fn fold_ts_mapped_type(&mut self, node: TsMappedType) -> TsMappedType
Visit a node of type
TsMappedType
. Read more§fn fold_ts_method_signature(
&mut self,
node: TsMethodSignature,
) -> TsMethodSignature
fn fold_ts_method_signature( &mut self, node: TsMethodSignature, ) -> TsMethodSignature
Visit a node of type
TsMethodSignature
. Read more§fn fold_ts_module_block(&mut self, node: TsModuleBlock) -> TsModuleBlock
fn fold_ts_module_block(&mut self, node: TsModuleBlock) -> TsModuleBlock
Visit a node of type
TsModuleBlock
. Read more§fn fold_ts_module_decl(&mut self, node: TsModuleDecl) -> TsModuleDecl
fn fold_ts_module_decl(&mut self, node: TsModuleDecl) -> TsModuleDecl
Visit a node of type
TsModuleDecl
. Read more§fn fold_ts_module_name(&mut self, node: TsModuleName) -> TsModuleName
fn fold_ts_module_name(&mut self, node: TsModuleName) -> TsModuleName
Visit a node of type
TsModuleName
. Read more§fn fold_ts_module_ref(&mut self, node: TsModuleRef) -> TsModuleRef
fn fold_ts_module_ref(&mut self, node: TsModuleRef) -> TsModuleRef
Visit a node of type
TsModuleRef
. Read more§fn fold_ts_namespace_body(&mut self, node: TsNamespaceBody) -> TsNamespaceBody
fn fold_ts_namespace_body(&mut self, node: TsNamespaceBody) -> TsNamespaceBody
Visit a node of type
TsNamespaceBody
. Read more§fn fold_ts_namespace_decl(&mut self, node: TsNamespaceDecl) -> TsNamespaceDecl
fn fold_ts_namespace_decl(&mut self, node: TsNamespaceDecl) -> TsNamespaceDecl
Visit a node of type
TsNamespaceDecl
. Read more§fn fold_ts_namespace_export_decl(
&mut self,
node: TsNamespaceExportDecl,
) -> TsNamespaceExportDecl
fn fold_ts_namespace_export_decl( &mut self, node: TsNamespaceExportDecl, ) -> TsNamespaceExportDecl
Visit a node of type
TsNamespaceExportDecl
. Read more§fn fold_ts_non_null_expr(&mut self, node: TsNonNullExpr) -> TsNonNullExpr
fn fold_ts_non_null_expr(&mut self, node: TsNonNullExpr) -> TsNonNullExpr
Visit a node of type
TsNonNullExpr
. Read more§fn fold_ts_optional_type(&mut self, node: TsOptionalType) -> TsOptionalType
fn fold_ts_optional_type(&mut self, node: TsOptionalType) -> TsOptionalType
Visit a node of type
TsOptionalType
. Read more§fn fold_ts_param_prop(&mut self, node: TsParamProp) -> TsParamProp
fn fold_ts_param_prop(&mut self, node: TsParamProp) -> TsParamProp
Visit a node of type
TsParamProp
. Read more§fn fold_ts_param_prop_param(
&mut self,
node: TsParamPropParam,
) -> TsParamPropParam
fn fold_ts_param_prop_param( &mut self, node: TsParamPropParam, ) -> TsParamPropParam
Visit a node of type
TsParamPropParam
. Read more§fn fold_ts_parenthesized_type(
&mut self,
node: TsParenthesizedType,
) -> TsParenthesizedType
fn fold_ts_parenthesized_type( &mut self, node: TsParenthesizedType, ) -> TsParenthesizedType
Visit a node of type
TsParenthesizedType
. Read more§fn fold_ts_property_signature(
&mut self,
node: TsPropertySignature,
) -> TsPropertySignature
fn fold_ts_property_signature( &mut self, node: TsPropertySignature, ) -> TsPropertySignature
Visit a node of type
TsPropertySignature
. Read more§fn fold_ts_qualified_name(&mut self, node: TsQualifiedName) -> TsQualifiedName
fn fold_ts_qualified_name(&mut self, node: TsQualifiedName) -> TsQualifiedName
Visit a node of type
TsQualifiedName
. Read more§fn fold_ts_rest_type(&mut self, node: TsRestType) -> TsRestType
fn fold_ts_rest_type(&mut self, node: TsRestType) -> TsRestType
Visit a node of type
TsRestType
. Read more§fn fold_ts_satisfies_expr(&mut self, node: TsSatisfiesExpr) -> TsSatisfiesExpr
fn fold_ts_satisfies_expr(&mut self, node: TsSatisfiesExpr) -> TsSatisfiesExpr
Visit a node of type
TsSatisfiesExpr
. Read more§fn fold_ts_setter_signature(
&mut self,
node: TsSetterSignature,
) -> TsSetterSignature
fn fold_ts_setter_signature( &mut self, node: TsSetterSignature, ) -> TsSetterSignature
Visit a node of type
TsSetterSignature
. Read more§fn fold_ts_this_type(&mut self, node: TsThisType) -> TsThisType
fn fold_ts_this_type(&mut self, node: TsThisType) -> TsThisType
Visit a node of type
TsThisType
. Read more§fn fold_ts_this_type_or_ident(
&mut self,
node: TsThisTypeOrIdent,
) -> TsThisTypeOrIdent
fn fold_ts_this_type_or_ident( &mut self, node: TsThisTypeOrIdent, ) -> TsThisTypeOrIdent
Visit a node of type
TsThisTypeOrIdent
. Read more§fn fold_ts_tpl_lit_type(&mut self, node: TsTplLitType) -> TsTplLitType
fn fold_ts_tpl_lit_type(&mut self, node: TsTplLitType) -> TsTplLitType
Visit a node of type
TsTplLitType
. Read more§fn fold_ts_tuple_element(&mut self, node: TsTupleElement) -> TsTupleElement
fn fold_ts_tuple_element(&mut self, node: TsTupleElement) -> TsTupleElement
Visit a node of type
TsTupleElement
. Read more§fn fold_ts_tuple_elements(
&mut self,
node: Vec<TsTupleElement>,
) -> Vec<TsTupleElement>
fn fold_ts_tuple_elements( &mut self, node: Vec<TsTupleElement>, ) -> Vec<TsTupleElement>
Visit a node of type
Vec < TsTupleElement >
. Read more§fn fold_ts_tuple_type(&mut self, node: TsTupleType) -> TsTupleType
fn fold_ts_tuple_type(&mut self, node: TsTupleType) -> TsTupleType
Visit a node of type
TsTupleType
. Read more§fn fold_ts_type(&mut self, node: TsType) -> TsType
fn fold_ts_type(&mut self, node: TsType) -> TsType
Visit a node of type
TsType
. Read more§fn fold_ts_type_alias_decl(&mut self, node: TsTypeAliasDecl) -> TsTypeAliasDecl
fn fold_ts_type_alias_decl(&mut self, node: TsTypeAliasDecl) -> TsTypeAliasDecl
Visit a node of type
TsTypeAliasDecl
. Read more§fn fold_ts_type_ann(&mut self, node: TsTypeAnn) -> TsTypeAnn
fn fold_ts_type_ann(&mut self, node: TsTypeAnn) -> TsTypeAnn
Visit a node of type
TsTypeAnn
. Read more§fn fold_ts_type_assertion(&mut self, node: TsTypeAssertion) -> TsTypeAssertion
fn fold_ts_type_assertion(&mut self, node: TsTypeAssertion) -> TsTypeAssertion
Visit a node of type
TsTypeAssertion
. Read more§fn fold_ts_type_element(&mut self, node: TsTypeElement) -> TsTypeElement
fn fold_ts_type_element(&mut self, node: TsTypeElement) -> TsTypeElement
Visit a node of type
TsTypeElement
. Read more§fn fold_ts_type_elements(
&mut self,
node: Vec<TsTypeElement>,
) -> Vec<TsTypeElement>
fn fold_ts_type_elements( &mut self, node: Vec<TsTypeElement>, ) -> Vec<TsTypeElement>
Visit a node of type
Vec < TsTypeElement >
. Read more§fn fold_ts_type_lit(&mut self, node: TsTypeLit) -> TsTypeLit
fn fold_ts_type_lit(&mut self, node: TsTypeLit) -> TsTypeLit
Visit a node of type
TsTypeLit
. Read more§fn fold_ts_type_operator(&mut self, node: TsTypeOperator) -> TsTypeOperator
fn fold_ts_type_operator(&mut self, node: TsTypeOperator) -> TsTypeOperator
Visit a node of type
TsTypeOperator
. Read more§fn fold_ts_type_operator_op(
&mut self,
node: TsTypeOperatorOp,
) -> TsTypeOperatorOp
fn fold_ts_type_operator_op( &mut self, node: TsTypeOperatorOp, ) -> TsTypeOperatorOp
Visit a node of type
TsTypeOperatorOp
. Read more§fn fold_ts_type_param(&mut self, node: TsTypeParam) -> TsTypeParam
fn fold_ts_type_param(&mut self, node: TsTypeParam) -> TsTypeParam
Visit a node of type
TsTypeParam
. Read more§fn fold_ts_type_param_decl(&mut self, node: TsTypeParamDecl) -> TsTypeParamDecl
fn fold_ts_type_param_decl(&mut self, node: TsTypeParamDecl) -> TsTypeParamDecl
Visit a node of type
TsTypeParamDecl
. Read more§fn fold_ts_type_param_instantiation(
&mut self,
node: TsTypeParamInstantiation,
) -> TsTypeParamInstantiation
fn fold_ts_type_param_instantiation( &mut self, node: TsTypeParamInstantiation, ) -> TsTypeParamInstantiation
Visit a node of type
TsTypeParamInstantiation
. Read more§fn fold_ts_type_params(&mut self, node: Vec<TsTypeParam>) -> Vec<TsTypeParam>
fn fold_ts_type_params(&mut self, node: Vec<TsTypeParam>) -> Vec<TsTypeParam>
Visit a node of type
Vec < TsTypeParam >
. Read more§fn fold_ts_type_predicate(&mut self, node: TsTypePredicate) -> TsTypePredicate
fn fold_ts_type_predicate(&mut self, node: TsTypePredicate) -> TsTypePredicate
Visit a node of type
TsTypePredicate
. Read more§fn fold_ts_type_query(&mut self, node: TsTypeQuery) -> TsTypeQuery
fn fold_ts_type_query(&mut self, node: TsTypeQuery) -> TsTypeQuery
Visit a node of type
TsTypeQuery
. Read more§fn fold_ts_type_query_expr(&mut self, node: TsTypeQueryExpr) -> TsTypeQueryExpr
fn fold_ts_type_query_expr(&mut self, node: TsTypeQueryExpr) -> TsTypeQueryExpr
Visit a node of type
TsTypeQueryExpr
. Read more§fn fold_ts_type_ref(&mut self, node: TsTypeRef) -> TsTypeRef
fn fold_ts_type_ref(&mut self, node: TsTypeRef) -> TsTypeRef
Visit a node of type
TsTypeRef
. Read more§fn fold_ts_types(&mut self, node: Vec<Box<TsType>>) -> Vec<Box<TsType>>
fn fold_ts_types(&mut self, node: Vec<Box<TsType>>) -> Vec<Box<TsType>>
Visit a node of type
Vec < Box < TsType > >
. Read more§fn fold_ts_union_or_intersection_type(
&mut self,
node: TsUnionOrIntersectionType,
) -> TsUnionOrIntersectionType
fn fold_ts_union_or_intersection_type( &mut self, node: TsUnionOrIntersectionType, ) -> TsUnionOrIntersectionType
Visit a node of type
TsUnionOrIntersectionType
. Read more§fn fold_ts_union_type(&mut self, node: TsUnionType) -> TsUnionType
fn fold_ts_union_type(&mut self, node: TsUnionType) -> TsUnionType
Visit a node of type
TsUnionType
. Read more§fn fold_unary_expr(&mut self, node: UnaryExpr) -> UnaryExpr
fn fold_unary_expr(&mut self, node: UnaryExpr) -> UnaryExpr
Visit a node of type
UnaryExpr
. Read more§fn fold_unary_op(&mut self, node: UnaryOp) -> UnaryOp
fn fold_unary_op(&mut self, node: UnaryOp) -> UnaryOp
Visit a node of type
UnaryOp
. Read more§fn fold_update_expr(&mut self, node: UpdateExpr) -> UpdateExpr
fn fold_update_expr(&mut self, node: UpdateExpr) -> UpdateExpr
Visit a node of type
UpdateExpr
. Read more§fn fold_update_op(&mut self, node: UpdateOp) -> UpdateOp
fn fold_update_op(&mut self, node: UpdateOp) -> UpdateOp
Visit a node of type
UpdateOp
. Read more§fn fold_using_decl(&mut self, node: UsingDecl) -> UsingDecl
fn fold_using_decl(&mut self, node: UsingDecl) -> UsingDecl
Visit a node of type
UsingDecl
. Read more§fn fold_var_decl(&mut self, node: VarDecl) -> VarDecl
fn fold_var_decl(&mut self, node: VarDecl) -> VarDecl
Visit a node of type
VarDecl
. Read more§fn fold_var_decl_kind(&mut self, node: VarDeclKind) -> VarDeclKind
fn fold_var_decl_kind(&mut self, node: VarDeclKind) -> VarDeclKind
Visit a node of type
VarDeclKind
. Read more§fn fold_var_decl_or_expr(&mut self, node: VarDeclOrExpr) -> VarDeclOrExpr
fn fold_var_decl_or_expr(&mut self, node: VarDeclOrExpr) -> VarDeclOrExpr
Visit a node of type
VarDeclOrExpr
. Read more§fn fold_var_declarator(&mut self, node: VarDeclarator) -> VarDeclarator
fn fold_var_declarator(&mut self, node: VarDeclarator) -> VarDeclarator
Visit a node of type
VarDeclarator
. Read more§fn fold_var_declarators(
&mut self,
node: Vec<VarDeclarator>,
) -> Vec<VarDeclarator>
fn fold_var_declarators( &mut self, node: Vec<VarDeclarator>, ) -> Vec<VarDeclarator>
Visit a node of type
Vec < VarDeclarator >
. Read more§fn fold_while_stmt(&mut self, node: WhileStmt) -> WhileStmt
fn fold_while_stmt(&mut self, node: WhileStmt) -> WhileStmt
Visit a node of type
WhileStmt
. Read more§fn fold_with_stmt(&mut self, node: WithStmt) -> WithStmt
fn fold_with_stmt(&mut self, node: WithStmt) -> WithStmt
Visit a node of type
WithStmt
. Read more§fn fold_yield_expr(&mut self, node: YieldExpr) -> YieldExpr
fn fold_yield_expr(&mut self, node: YieldExpr) -> YieldExpr
Visit a node of type
YieldExpr
. Read more§impl<V> VisitMut for Repeat<V>
impl<V> VisitMut for Repeat<V>
§fn visit_mut_program(&mut self, node: &mut Program)
fn visit_mut_program(&mut self, node: &mut Program)
Visit a node of type
Program
. Read more§fn visit_mut_module(&mut self, node: &mut Module)
fn visit_mut_module(&mut self, node: &mut Module)
Visit a node of type
Module
. Read more§fn visit_mut_script(&mut self, node: &mut Script)
fn visit_mut_script(&mut self, node: &mut Script)
Visit a node of type
Script
. Read more§fn visit_mut_accessibility(&mut self, node: &mut Accessibility)
fn visit_mut_accessibility(&mut self, node: &mut Accessibility)
Visit a node of type
Accessibility
. Read more§fn visit_mut_array_lit(&mut self, node: &mut ArrayLit)
fn visit_mut_array_lit(&mut self, node: &mut ArrayLit)
Visit a node of type
ArrayLit
. Read more§fn visit_mut_array_pat(&mut self, node: &mut ArrayPat)
fn visit_mut_array_pat(&mut self, node: &mut ArrayPat)
Visit a node of type
ArrayPat
. Read more§fn visit_mut_arrow_expr(&mut self, node: &mut ArrowExpr)
fn visit_mut_arrow_expr(&mut self, node: &mut ArrowExpr)
Visit a node of type
ArrowExpr
. Read more§fn visit_mut_assign_expr(&mut self, node: &mut AssignExpr)
fn visit_mut_assign_expr(&mut self, node: &mut AssignExpr)
Visit a node of type
AssignExpr
. Read more§fn visit_mut_assign_op(&mut self, node: &mut AssignOp)
fn visit_mut_assign_op(&mut self, node: &mut AssignOp)
Visit a node of type
AssignOp
. Read more§fn visit_mut_assign_pat(&mut self, node: &mut AssignPat)
fn visit_mut_assign_pat(&mut self, node: &mut AssignPat)
Visit a node of type
AssignPat
. Read more§fn visit_mut_assign_pat_prop(&mut self, node: &mut AssignPatProp)
fn visit_mut_assign_pat_prop(&mut self, node: &mut AssignPatProp)
Visit a node of type
AssignPatProp
. Read more§fn visit_mut_assign_prop(&mut self, node: &mut AssignProp)
fn visit_mut_assign_prop(&mut self, node: &mut AssignProp)
Visit a node of type
AssignProp
. Read more§fn visit_mut_assign_target(&mut self, node: &mut AssignTarget)
fn visit_mut_assign_target(&mut self, node: &mut AssignTarget)
Visit a node of type
AssignTarget
. Read more§fn visit_mut_assign_target_pat(&mut self, node: &mut AssignTargetPat)
fn visit_mut_assign_target_pat(&mut self, node: &mut AssignTargetPat)
Visit a node of type
AssignTargetPat
. Read more§fn visit_mut_atom(&mut self, node: &mut Atom)
fn visit_mut_atom(&mut self, node: &mut Atom)
Visit a node of type
swc_atoms :: Atom
. Read more§fn visit_mut_auto_accessor(&mut self, node: &mut AutoAccessor)
fn visit_mut_auto_accessor(&mut self, node: &mut AutoAccessor)
Visit a node of type
AutoAccessor
. Read more§fn visit_mut_await_expr(&mut self, node: &mut AwaitExpr)
fn visit_mut_await_expr(&mut self, node: &mut AwaitExpr)
Visit a node of type
AwaitExpr
. Read more§fn visit_mut_big_int(&mut self, node: &mut BigInt)
fn visit_mut_big_int(&mut self, node: &mut BigInt)
Visit a node of type
BigInt
. Read more§fn visit_mut_big_int_value(&mut self, node: &mut BigInt)
fn visit_mut_big_int_value(&mut self, node: &mut BigInt)
Visit a node of type
BigIntValue
. Read more§fn visit_mut_bin_expr(&mut self, node: &mut BinExpr)
fn visit_mut_bin_expr(&mut self, node: &mut BinExpr)
Visit a node of type
BinExpr
. Read more§fn visit_mut_binary_op(&mut self, node: &mut BinaryOp)
fn visit_mut_binary_op(&mut self, node: &mut BinaryOp)
Visit a node of type
BinaryOp
. Read more§fn visit_mut_binding_ident(&mut self, node: &mut BindingIdent)
fn visit_mut_binding_ident(&mut self, node: &mut BindingIdent)
Visit a node of type
BindingIdent
. Read more§fn visit_mut_block_stmt(&mut self, node: &mut BlockStmt)
fn visit_mut_block_stmt(&mut self, node: &mut BlockStmt)
Visit a node of type
BlockStmt
. Read more§fn visit_mut_block_stmt_or_expr(&mut self, node: &mut BlockStmtOrExpr)
fn visit_mut_block_stmt_or_expr(&mut self, node: &mut BlockStmtOrExpr)
Visit a node of type
BlockStmtOrExpr
. Read more§fn visit_mut_bool(&mut self, node: &mut Bool)
fn visit_mut_bool(&mut self, node: &mut Bool)
Visit a node of type
Bool
. Read more§fn visit_mut_break_stmt(&mut self, node: &mut BreakStmt)
fn visit_mut_break_stmt(&mut self, node: &mut BreakStmt)
Visit a node of type
BreakStmt
. Read more§fn visit_mut_call_expr(&mut self, node: &mut CallExpr)
fn visit_mut_call_expr(&mut self, node: &mut CallExpr)
Visit a node of type
CallExpr
. Read more§fn visit_mut_callee(&mut self, node: &mut Callee)
fn visit_mut_callee(&mut self, node: &mut Callee)
Visit a node of type
Callee
. Read more§fn visit_mut_catch_clause(&mut self, node: &mut CatchClause)
fn visit_mut_catch_clause(&mut self, node: &mut CatchClause)
Visit a node of type
CatchClause
. Read more§fn visit_mut_class(&mut self, node: &mut Class)
fn visit_mut_class(&mut self, node: &mut Class)
Visit a node of type
Class
. Read more§fn visit_mut_class_decl(&mut self, node: &mut ClassDecl)
fn visit_mut_class_decl(&mut self, node: &mut ClassDecl)
Visit a node of type
ClassDecl
. Read more§fn visit_mut_class_expr(&mut self, node: &mut ClassExpr)
fn visit_mut_class_expr(&mut self, node: &mut ClassExpr)
Visit a node of type
ClassExpr
. Read more§fn visit_mut_class_member(&mut self, node: &mut ClassMember)
fn visit_mut_class_member(&mut self, node: &mut ClassMember)
Visit a node of type
ClassMember
. Read more§fn visit_mut_class_members(&mut self, node: &mut Vec<ClassMember>)
fn visit_mut_class_members(&mut self, node: &mut Vec<ClassMember>)
Visit a node of type
Vec < ClassMember >
. Read more§fn visit_mut_class_method(&mut self, node: &mut ClassMethod)
fn visit_mut_class_method(&mut self, node: &mut ClassMethod)
Visit a node of type
ClassMethod
. Read more§fn visit_mut_class_prop(&mut self, node: &mut ClassProp)
fn visit_mut_class_prop(&mut self, node: &mut ClassProp)
Visit a node of type
ClassProp
. Read more§fn visit_mut_computed_prop_name(&mut self, node: &mut ComputedPropName)
fn visit_mut_computed_prop_name(&mut self, node: &mut ComputedPropName)
Visit a node of type
ComputedPropName
. Read more§fn visit_mut_cond_expr(&mut self, node: &mut CondExpr)
fn visit_mut_cond_expr(&mut self, node: &mut CondExpr)
Visit a node of type
CondExpr
. Read more§fn visit_mut_constructor(&mut self, node: &mut Constructor)
fn visit_mut_constructor(&mut self, node: &mut Constructor)
Visit a node of type
Constructor
. Read more§fn visit_mut_continue_stmt(&mut self, node: &mut ContinueStmt)
fn visit_mut_continue_stmt(&mut self, node: &mut ContinueStmt)
Visit a node of type
ContinueStmt
. Read more§fn visit_mut_debugger_stmt(&mut self, node: &mut DebuggerStmt)
fn visit_mut_debugger_stmt(&mut self, node: &mut DebuggerStmt)
Visit a node of type
DebuggerStmt
. Read more§fn visit_mut_decl(&mut self, node: &mut Decl)
fn visit_mut_decl(&mut self, node: &mut Decl)
Visit a node of type
Decl
. Read more§fn visit_mut_decorator(&mut self, node: &mut Decorator)
fn visit_mut_decorator(&mut self, node: &mut Decorator)
Visit a node of type
Decorator
. Read more§fn visit_mut_decorators(&mut self, node: &mut Vec<Decorator>)
fn visit_mut_decorators(&mut self, node: &mut Vec<Decorator>)
Visit a node of type
Vec < Decorator >
. Read more§fn visit_mut_default_decl(&mut self, node: &mut DefaultDecl)
fn visit_mut_default_decl(&mut self, node: &mut DefaultDecl)
Visit a node of type
DefaultDecl
. Read more§fn visit_mut_do_while_stmt(&mut self, node: &mut DoWhileStmt)
fn visit_mut_do_while_stmt(&mut self, node: &mut DoWhileStmt)
Visit a node of type
DoWhileStmt
. Read more§fn visit_mut_empty_stmt(&mut self, node: &mut EmptyStmt)
fn visit_mut_empty_stmt(&mut self, node: &mut EmptyStmt)
Visit a node of type
EmptyStmt
. Read more§fn visit_mut_export_all(&mut self, node: &mut ExportAll)
fn visit_mut_export_all(&mut self, node: &mut ExportAll)
Visit a node of type
ExportAll
. Read more§fn visit_mut_export_decl(&mut self, node: &mut ExportDecl)
fn visit_mut_export_decl(&mut self, node: &mut ExportDecl)
Visit a node of type
ExportDecl
. Read more§fn visit_mut_export_default_decl(&mut self, node: &mut ExportDefaultDecl)
fn visit_mut_export_default_decl(&mut self, node: &mut ExportDefaultDecl)
Visit a node of type
ExportDefaultDecl
. Read more§fn visit_mut_export_default_expr(&mut self, node: &mut ExportDefaultExpr)
fn visit_mut_export_default_expr(&mut self, node: &mut ExportDefaultExpr)
Visit a node of type
ExportDefaultExpr
. Read more§fn visit_mut_export_default_specifier(
&mut self,
node: &mut ExportDefaultSpecifier,
)
fn visit_mut_export_default_specifier( &mut self, node: &mut ExportDefaultSpecifier, )
Visit a node of type
ExportDefaultSpecifier
. Read more§fn visit_mut_export_named_specifier(&mut self, node: &mut ExportNamedSpecifier)
fn visit_mut_export_named_specifier(&mut self, node: &mut ExportNamedSpecifier)
Visit a node of type
ExportNamedSpecifier
. Read more§fn visit_mut_export_namespace_specifier(
&mut self,
node: &mut ExportNamespaceSpecifier,
)
fn visit_mut_export_namespace_specifier( &mut self, node: &mut ExportNamespaceSpecifier, )
Visit a node of type
ExportNamespaceSpecifier
. Read more§fn visit_mut_export_specifier(&mut self, node: &mut ExportSpecifier)
fn visit_mut_export_specifier(&mut self, node: &mut ExportSpecifier)
Visit a node of type
ExportSpecifier
. Read more§fn visit_mut_export_specifiers(&mut self, node: &mut Vec<ExportSpecifier>)
fn visit_mut_export_specifiers(&mut self, node: &mut Vec<ExportSpecifier>)
Visit a node of type
Vec < ExportSpecifier >
. Read more§fn visit_mut_expr(&mut self, node: &mut Expr)
fn visit_mut_expr(&mut self, node: &mut Expr)
Visit a node of type
Expr
. Read more§fn visit_mut_expr_or_spread(&mut self, node: &mut ExprOrSpread)
fn visit_mut_expr_or_spread(&mut self, node: &mut ExprOrSpread)
Visit a node of type
ExprOrSpread
. Read more§fn visit_mut_expr_or_spreads(&mut self, node: &mut Vec<ExprOrSpread>)
fn visit_mut_expr_or_spreads(&mut self, node: &mut Vec<ExprOrSpread>)
Visit a node of type
Vec < ExprOrSpread >
. Read more§fn visit_mut_expr_stmt(&mut self, node: &mut ExprStmt)
fn visit_mut_expr_stmt(&mut self, node: &mut ExprStmt)
Visit a node of type
ExprStmt
. Read more§fn visit_mut_exprs(&mut self, node: &mut Vec<Box<Expr>>)
fn visit_mut_exprs(&mut self, node: &mut Vec<Box<Expr>>)
Visit a node of type
Vec < Box < Expr > >
. Read more§fn visit_mut_fn_decl(&mut self, node: &mut FnDecl)
fn visit_mut_fn_decl(&mut self, node: &mut FnDecl)
Visit a node of type
FnDecl
. Read more§fn visit_mut_fn_expr(&mut self, node: &mut FnExpr)
fn visit_mut_fn_expr(&mut self, node: &mut FnExpr)
Visit a node of type
FnExpr
. Read more§fn visit_mut_for_head(&mut self, node: &mut ForHead)
fn visit_mut_for_head(&mut self, node: &mut ForHead)
Visit a node of type
ForHead
. Read more§fn visit_mut_for_in_stmt(&mut self, node: &mut ForInStmt)
fn visit_mut_for_in_stmt(&mut self, node: &mut ForInStmt)
Visit a node of type
ForInStmt
. Read more§fn visit_mut_for_of_stmt(&mut self, node: &mut ForOfStmt)
fn visit_mut_for_of_stmt(&mut self, node: &mut ForOfStmt)
Visit a node of type
ForOfStmt
. Read more§fn visit_mut_for_stmt(&mut self, node: &mut ForStmt)
fn visit_mut_for_stmt(&mut self, node: &mut ForStmt)
Visit a node of type
ForStmt
. Read more§fn visit_mut_function(&mut self, node: &mut Function)
fn visit_mut_function(&mut self, node: &mut Function)
Visit a node of type
Function
. Read more§fn visit_mut_getter_prop(&mut self, node: &mut GetterProp)
fn visit_mut_getter_prop(&mut self, node: &mut GetterProp)
Visit a node of type
GetterProp
. Read more§fn visit_mut_ident(&mut self, node: &mut Ident)
fn visit_mut_ident(&mut self, node: &mut Ident)
Visit a node of type
Ident
. Read more§fn visit_mut_ident_name(&mut self, node: &mut IdentName)
fn visit_mut_ident_name(&mut self, node: &mut IdentName)
Visit a node of type
IdentName
. Read more§fn visit_mut_if_stmt(&mut self, node: &mut IfStmt)
fn visit_mut_if_stmt(&mut self, node: &mut IfStmt)
Visit a node of type
IfStmt
. Read more§fn visit_mut_import(&mut self, node: &mut Import)
fn visit_mut_import(&mut self, node: &mut Import)
Visit a node of type
Import
. Read more§fn visit_mut_import_decl(&mut self, node: &mut ImportDecl)
fn visit_mut_import_decl(&mut self, node: &mut ImportDecl)
Visit a node of type
ImportDecl
. Read more§fn visit_mut_import_default_specifier(
&mut self,
node: &mut ImportDefaultSpecifier,
)
fn visit_mut_import_default_specifier( &mut self, node: &mut ImportDefaultSpecifier, )
Visit a node of type
ImportDefaultSpecifier
. Read more§fn visit_mut_import_named_specifier(&mut self, node: &mut ImportNamedSpecifier)
fn visit_mut_import_named_specifier(&mut self, node: &mut ImportNamedSpecifier)
Visit a node of type
ImportNamedSpecifier
. Read more§fn visit_mut_import_phase(&mut self, node: &mut ImportPhase)
fn visit_mut_import_phase(&mut self, node: &mut ImportPhase)
Visit a node of type
ImportPhase
. Read more§fn visit_mut_import_specifier(&mut self, node: &mut ImportSpecifier)
fn visit_mut_import_specifier(&mut self, node: &mut ImportSpecifier)
Visit a node of type
ImportSpecifier
. Read more§fn visit_mut_import_specifiers(&mut self, node: &mut Vec<ImportSpecifier>)
fn visit_mut_import_specifiers(&mut self, node: &mut Vec<ImportSpecifier>)
Visit a node of type
Vec < ImportSpecifier >
. Read more§fn visit_mut_import_star_as_specifier(
&mut self,
node: &mut ImportStarAsSpecifier,
)
fn visit_mut_import_star_as_specifier( &mut self, node: &mut ImportStarAsSpecifier, )
Visit a node of type
ImportStarAsSpecifier
. Read more§fn visit_mut_import_with(&mut self, node: &mut ImportWith)
fn visit_mut_import_with(&mut self, node: &mut ImportWith)
Visit a node of type
ImportWith
. Read more§fn visit_mut_import_with_item(&mut self, node: &mut ImportWithItem)
fn visit_mut_import_with_item(&mut self, node: &mut ImportWithItem)
Visit a node of type
ImportWithItem
. Read more§fn visit_mut_import_with_items(&mut self, node: &mut Vec<ImportWithItem>)
fn visit_mut_import_with_items(&mut self, node: &mut Vec<ImportWithItem>)
Visit a node of type
Vec < ImportWithItem >
. Read more§fn visit_mut_invalid(&mut self, node: &mut Invalid)
fn visit_mut_invalid(&mut self, node: &mut Invalid)
Visit a node of type
Invalid
. Read more§fn visit_mut_jsx_attr(&mut self, node: &mut JSXAttr)
fn visit_mut_jsx_attr(&mut self, node: &mut JSXAttr)
Visit a node of type
JSXAttr
. Read more§fn visit_mut_jsx_attr_name(&mut self, node: &mut JSXAttrName)
fn visit_mut_jsx_attr_name(&mut self, node: &mut JSXAttrName)
Visit a node of type
JSXAttrName
. Read more§fn visit_mut_jsx_attr_or_spread(&mut self, node: &mut JSXAttrOrSpread)
fn visit_mut_jsx_attr_or_spread(&mut self, node: &mut JSXAttrOrSpread)
Visit a node of type
JSXAttrOrSpread
. Read more§fn visit_mut_jsx_attr_or_spreads(&mut self, node: &mut Vec<JSXAttrOrSpread>)
fn visit_mut_jsx_attr_or_spreads(&mut self, node: &mut Vec<JSXAttrOrSpread>)
Visit a node of type
Vec < JSXAttrOrSpread >
. Read more§fn visit_mut_jsx_attr_value(&mut self, node: &mut JSXAttrValue)
fn visit_mut_jsx_attr_value(&mut self, node: &mut JSXAttrValue)
Visit a node of type
JSXAttrValue
. Read more§fn visit_mut_jsx_closing_element(&mut self, node: &mut JSXClosingElement)
fn visit_mut_jsx_closing_element(&mut self, node: &mut JSXClosingElement)
Visit a node of type
JSXClosingElement
. Read more§fn visit_mut_jsx_closing_fragment(&mut self, node: &mut JSXClosingFragment)
fn visit_mut_jsx_closing_fragment(&mut self, node: &mut JSXClosingFragment)
Visit a node of type
JSXClosingFragment
. Read more§fn visit_mut_jsx_element(&mut self, node: &mut JSXElement)
fn visit_mut_jsx_element(&mut self, node: &mut JSXElement)
Visit a node of type
JSXElement
. Read more§fn visit_mut_jsx_element_child(&mut self, node: &mut JSXElementChild)
fn visit_mut_jsx_element_child(&mut self, node: &mut JSXElementChild)
Visit a node of type
JSXElementChild
. Read more§fn visit_mut_jsx_element_childs(&mut self, node: &mut Vec<JSXElementChild>)
fn visit_mut_jsx_element_childs(&mut self, node: &mut Vec<JSXElementChild>)
Visit a node of type
Vec < JSXElementChild >
. Read more§fn visit_mut_jsx_element_name(&mut self, node: &mut JSXElementName)
fn visit_mut_jsx_element_name(&mut self, node: &mut JSXElementName)
Visit a node of type
JSXElementName
. Read more§fn visit_mut_jsx_empty_expr(&mut self, node: &mut JSXEmptyExpr)
fn visit_mut_jsx_empty_expr(&mut self, node: &mut JSXEmptyExpr)
Visit a node of type
JSXEmptyExpr
. Read more§fn visit_mut_jsx_expr(&mut self, node: &mut JSXExpr)
fn visit_mut_jsx_expr(&mut self, node: &mut JSXExpr)
Visit a node of type
JSXExpr
. Read more§fn visit_mut_jsx_expr_container(&mut self, node: &mut JSXExprContainer)
fn visit_mut_jsx_expr_container(&mut self, node: &mut JSXExprContainer)
Visit a node of type
JSXExprContainer
. Read more§fn visit_mut_jsx_fragment(&mut self, node: &mut JSXFragment)
fn visit_mut_jsx_fragment(&mut self, node: &mut JSXFragment)
Visit a node of type
JSXFragment
. Read more§fn visit_mut_jsx_member_expr(&mut self, node: &mut JSXMemberExpr)
fn visit_mut_jsx_member_expr(&mut self, node: &mut JSXMemberExpr)
Visit a node of type
JSXMemberExpr
. Read more§fn visit_mut_jsx_namespaced_name(&mut self, node: &mut JSXNamespacedName)
fn visit_mut_jsx_namespaced_name(&mut self, node: &mut JSXNamespacedName)
Visit a node of type
JSXNamespacedName
. Read more§fn visit_mut_jsx_object(&mut self, node: &mut JSXObject)
fn visit_mut_jsx_object(&mut self, node: &mut JSXObject)
Visit a node of type
JSXObject
. Read more§fn visit_mut_jsx_opening_element(&mut self, node: &mut JSXOpeningElement)
fn visit_mut_jsx_opening_element(&mut self, node: &mut JSXOpeningElement)
Visit a node of type
JSXOpeningElement
. Read more§fn visit_mut_jsx_opening_fragment(&mut self, node: &mut JSXOpeningFragment)
fn visit_mut_jsx_opening_fragment(&mut self, node: &mut JSXOpeningFragment)
Visit a node of type
JSXOpeningFragment
. Read more§fn visit_mut_jsx_spread_child(&mut self, node: &mut JSXSpreadChild)
fn visit_mut_jsx_spread_child(&mut self, node: &mut JSXSpreadChild)
Visit a node of type
JSXSpreadChild
. Read more§fn visit_mut_jsx_text(&mut self, node: &mut JSXText)
fn visit_mut_jsx_text(&mut self, node: &mut JSXText)
Visit a node of type
JSXText
. Read more§fn visit_mut_key(&mut self, node: &mut Key)
fn visit_mut_key(&mut self, node: &mut Key)
Visit a node of type
Key
. Read more§fn visit_mut_key_value_pat_prop(&mut self, node: &mut KeyValuePatProp)
fn visit_mut_key_value_pat_prop(&mut self, node: &mut KeyValuePatProp)
Visit a node of type
KeyValuePatProp
. Read more§fn visit_mut_key_value_prop(&mut self, node: &mut KeyValueProp)
fn visit_mut_key_value_prop(&mut self, node: &mut KeyValueProp)
Visit a node of type
KeyValueProp
. Read more§fn visit_mut_labeled_stmt(&mut self, node: &mut LabeledStmt)
fn visit_mut_labeled_stmt(&mut self, node: &mut LabeledStmt)
Visit a node of type
LabeledStmt
. Read more§fn visit_mut_lit(&mut self, node: &mut Lit)
fn visit_mut_lit(&mut self, node: &mut Lit)
Visit a node of type
Lit
. Read more§fn visit_mut_member_expr(&mut self, node: &mut MemberExpr)
fn visit_mut_member_expr(&mut self, node: &mut MemberExpr)
Visit a node of type
MemberExpr
. Read more§fn visit_mut_member_prop(&mut self, node: &mut MemberProp)
fn visit_mut_member_prop(&mut self, node: &mut MemberProp)
Visit a node of type
MemberProp
. Read more§fn visit_mut_meta_prop_expr(&mut self, node: &mut MetaPropExpr)
fn visit_mut_meta_prop_expr(&mut self, node: &mut MetaPropExpr)
Visit a node of type
MetaPropExpr
. Read more§fn visit_mut_meta_prop_kind(&mut self, node: &mut MetaPropKind)
fn visit_mut_meta_prop_kind(&mut self, node: &mut MetaPropKind)
Visit a node of type
MetaPropKind
. Read more§fn visit_mut_method_kind(&mut self, node: &mut MethodKind)
fn visit_mut_method_kind(&mut self, node: &mut MethodKind)
Visit a node of type
MethodKind
. Read more§fn visit_mut_method_prop(&mut self, node: &mut MethodProp)
fn visit_mut_method_prop(&mut self, node: &mut MethodProp)
Visit a node of type
MethodProp
. Read more§fn visit_mut_module_decl(&mut self, node: &mut ModuleDecl)
fn visit_mut_module_decl(&mut self, node: &mut ModuleDecl)
Visit a node of type
ModuleDecl
. Read more§fn visit_mut_module_export_name(&mut self, node: &mut ModuleExportName)
fn visit_mut_module_export_name(&mut self, node: &mut ModuleExportName)
Visit a node of type
ModuleExportName
. Read more§fn visit_mut_module_item(&mut self, node: &mut ModuleItem)
fn visit_mut_module_item(&mut self, node: &mut ModuleItem)
Visit a node of type
ModuleItem
. Read more§fn visit_mut_module_items(&mut self, node: &mut Vec<ModuleItem>)
fn visit_mut_module_items(&mut self, node: &mut Vec<ModuleItem>)
Visit a node of type
Vec < ModuleItem >
. Read more§fn visit_mut_named_export(&mut self, node: &mut NamedExport)
fn visit_mut_named_export(&mut self, node: &mut NamedExport)
Visit a node of type
NamedExport
. Read more§fn visit_mut_new_expr(&mut self, node: &mut NewExpr)
fn visit_mut_new_expr(&mut self, node: &mut NewExpr)
Visit a node of type
NewExpr
. Read more§fn visit_mut_null(&mut self, node: &mut Null)
fn visit_mut_null(&mut self, node: &mut Null)
Visit a node of type
Null
. Read more§fn visit_mut_number(&mut self, node: &mut Number)
fn visit_mut_number(&mut self, node: &mut Number)
Visit a node of type
Number
. Read more§fn visit_mut_object_lit(&mut self, node: &mut ObjectLit)
fn visit_mut_object_lit(&mut self, node: &mut ObjectLit)
Visit a node of type
ObjectLit
. Read more§fn visit_mut_object_pat(&mut self, node: &mut ObjectPat)
fn visit_mut_object_pat(&mut self, node: &mut ObjectPat)
Visit a node of type
ObjectPat
. Read more§fn visit_mut_object_pat_prop(&mut self, node: &mut ObjectPatProp)
fn visit_mut_object_pat_prop(&mut self, node: &mut ObjectPatProp)
Visit a node of type
ObjectPatProp
. Read more§fn visit_mut_object_pat_props(&mut self, node: &mut Vec<ObjectPatProp>)
fn visit_mut_object_pat_props(&mut self, node: &mut Vec<ObjectPatProp>)
Visit a node of type
Vec < ObjectPatProp >
. Read more§fn visit_mut_opt_accessibility(&mut self, node: &mut Option<Accessibility>)
fn visit_mut_opt_accessibility(&mut self, node: &mut Option<Accessibility>)
Visit a node of type
Option < Accessibility >
. Read more§fn visit_mut_opt_atom(&mut self, node: &mut Option<Atom>)
fn visit_mut_opt_atom(&mut self, node: &mut Option<Atom>)
Visit a node of type
Option < swc_atoms :: Atom >
. Read more§fn visit_mut_opt_block_stmt(&mut self, node: &mut Option<BlockStmt>)
fn visit_mut_opt_block_stmt(&mut self, node: &mut Option<BlockStmt>)
Visit a node of type
Option < BlockStmt >
. Read more§fn visit_mut_opt_call(&mut self, node: &mut OptCall)
fn visit_mut_opt_call(&mut self, node: &mut OptCall)
Visit a node of type
OptCall
. Read more§fn visit_mut_opt_catch_clause(&mut self, node: &mut Option<CatchClause>)
fn visit_mut_opt_catch_clause(&mut self, node: &mut Option<CatchClause>)
Visit a node of type
Option < CatchClause >
. Read more§fn visit_mut_opt_chain_base(&mut self, node: &mut OptChainBase)
fn visit_mut_opt_chain_base(&mut self, node: &mut OptChainBase)
Visit a node of type
OptChainBase
. Read more§fn visit_mut_opt_chain_expr(&mut self, node: &mut OptChainExpr)
fn visit_mut_opt_chain_expr(&mut self, node: &mut OptChainExpr)
Visit a node of type
OptChainExpr
. Read more§fn visit_mut_opt_expr(&mut self, node: &mut Option<Box<Expr>>)
fn visit_mut_opt_expr(&mut self, node: &mut Option<Box<Expr>>)
Visit a node of type
Option < Box < Expr > >
. Read more§fn visit_mut_opt_expr_or_spread(&mut self, node: &mut Option<ExprOrSpread>)
fn visit_mut_opt_expr_or_spread(&mut self, node: &mut Option<ExprOrSpread>)
Visit a node of type
Option < ExprOrSpread >
. Read more§fn visit_mut_opt_expr_or_spreads(
&mut self,
node: &mut Option<Vec<ExprOrSpread>>,
)
fn visit_mut_opt_expr_or_spreads( &mut self, node: &mut Option<Vec<ExprOrSpread>>, )
Visit a node of type
Option < Vec < ExprOrSpread > >
. Read more§fn visit_mut_opt_ident(&mut self, node: &mut Option<Ident>)
fn visit_mut_opt_ident(&mut self, node: &mut Option<Ident>)
Visit a node of type
Option < Ident >
. Read more§fn visit_mut_opt_jsx_attr_value(&mut self, node: &mut Option<JSXAttrValue>)
fn visit_mut_opt_jsx_attr_value(&mut self, node: &mut Option<JSXAttrValue>)
Visit a node of type
Option < JSXAttrValue >
. Read more§fn visit_mut_opt_jsx_closing_element(
&mut self,
node: &mut Option<JSXClosingElement>,
)
fn visit_mut_opt_jsx_closing_element( &mut self, node: &mut Option<JSXClosingElement>, )
Visit a node of type
Option < JSXClosingElement >
. Read more§fn visit_mut_opt_module_export_name(
&mut self,
node: &mut Option<ModuleExportName>,
)
fn visit_mut_opt_module_export_name( &mut self, node: &mut Option<ModuleExportName>, )
Visit a node of type
Option < ModuleExportName >
. Read more§fn visit_mut_opt_object_lit(&mut self, node: &mut Option<Box<ObjectLit>>)
fn visit_mut_opt_object_lit(&mut self, node: &mut Option<Box<ObjectLit>>)
Visit a node of type
Option < Box < ObjectLit > >
. Read more§fn visit_mut_opt_pat(&mut self, node: &mut Option<Pat>)
fn visit_mut_opt_pat(&mut self, node: &mut Option<Pat>)
Visit a node of type
Option < Pat >
. Read more§fn visit_mut_opt_span(&mut self, node: &mut Option<Span>)
fn visit_mut_opt_span(&mut self, node: &mut Option<Span>)
Visit a node of type
Option < swc_common :: Span >
. Read more§fn visit_mut_opt_stmt(&mut self, node: &mut Option<Box<Stmt>>)
fn visit_mut_opt_stmt(&mut self, node: &mut Option<Box<Stmt>>)
Visit a node of type
Option < Box < Stmt > >
. Read more§fn visit_mut_opt_str(&mut self, node: &mut Option<Box<Str>>)
fn visit_mut_opt_str(&mut self, node: &mut Option<Box<Str>>)
Visit a node of type
Option < Box < Str > >
. Read more§fn visit_mut_opt_true_plus_minus(&mut self, node: &mut Option<TruePlusMinus>)
fn visit_mut_opt_true_plus_minus(&mut self, node: &mut Option<TruePlusMinus>)
Visit a node of type
Option < TruePlusMinus >
. Read more§fn visit_mut_opt_ts_entity_name(&mut self, node: &mut Option<TsEntityName>)
fn visit_mut_opt_ts_entity_name(&mut self, node: &mut Option<TsEntityName>)
Visit a node of type
Option < TsEntityName >
. Read more§fn visit_mut_opt_ts_namespace_body(
&mut self,
node: &mut Option<TsNamespaceBody>,
)
fn visit_mut_opt_ts_namespace_body( &mut self, node: &mut Option<TsNamespaceBody>, )
Visit a node of type
Option < TsNamespaceBody >
. Read more§fn visit_mut_opt_ts_type(&mut self, node: &mut Option<Box<TsType>>)
fn visit_mut_opt_ts_type(&mut self, node: &mut Option<Box<TsType>>)
Visit a node of type
Option < Box < TsType > >
. Read more§fn visit_mut_opt_ts_type_ann(&mut self, node: &mut Option<Box<TsTypeAnn>>)
fn visit_mut_opt_ts_type_ann(&mut self, node: &mut Option<Box<TsTypeAnn>>)
Visit a node of type
Option < Box < TsTypeAnn > >
. Read more§fn visit_mut_opt_ts_type_param_decl(
&mut self,
node: &mut Option<Box<TsTypeParamDecl>>,
)
fn visit_mut_opt_ts_type_param_decl( &mut self, node: &mut Option<Box<TsTypeParamDecl>>, )
Visit a node of type
Option < Box < TsTypeParamDecl > >
. Read more§fn visit_mut_opt_ts_type_param_instantiation(
&mut self,
node: &mut Option<Box<TsTypeParamInstantiation>>,
)
fn visit_mut_opt_ts_type_param_instantiation( &mut self, node: &mut Option<Box<TsTypeParamInstantiation>>, )
Visit a node of type
Option < Box < TsTypeParamInstantiation > >
. Read more§fn visit_mut_opt_var_decl_or_expr(&mut self, node: &mut Option<VarDeclOrExpr>)
fn visit_mut_opt_var_decl_or_expr(&mut self, node: &mut Option<VarDeclOrExpr>)
Visit a node of type
Option < VarDeclOrExpr >
. Read more§fn visit_mut_opt_vec_expr_or_spreads(
&mut self,
node: &mut Vec<Option<ExprOrSpread>>,
)
fn visit_mut_opt_vec_expr_or_spreads( &mut self, node: &mut Vec<Option<ExprOrSpread>>, )
Visit a node of type
Vec < Option < ExprOrSpread > >
. Read more§fn visit_mut_opt_vec_pats(&mut self, node: &mut Vec<Option<Pat>>)
fn visit_mut_opt_vec_pats(&mut self, node: &mut Vec<Option<Pat>>)
Visit a node of type
Vec < Option < Pat > >
. Read more§fn visit_mut_param(&mut self, node: &mut Param)
fn visit_mut_param(&mut self, node: &mut Param)
Visit a node of type
Param
. Read more§fn visit_mut_param_or_ts_param_prop(&mut self, node: &mut ParamOrTsParamProp)
fn visit_mut_param_or_ts_param_prop(&mut self, node: &mut ParamOrTsParamProp)
Visit a node of type
ParamOrTsParamProp
. Read more§fn visit_mut_param_or_ts_param_props(
&mut self,
node: &mut Vec<ParamOrTsParamProp>,
)
fn visit_mut_param_or_ts_param_props( &mut self, node: &mut Vec<ParamOrTsParamProp>, )
Visit a node of type
Vec < ParamOrTsParamProp >
. Read more§fn visit_mut_params(&mut self, node: &mut Vec<Param>)
fn visit_mut_params(&mut self, node: &mut Vec<Param>)
Visit a node of type
Vec < Param >
. Read more§fn visit_mut_paren_expr(&mut self, node: &mut ParenExpr)
fn visit_mut_paren_expr(&mut self, node: &mut ParenExpr)
Visit a node of type
ParenExpr
. Read more§fn visit_mut_pat(&mut self, node: &mut Pat)
fn visit_mut_pat(&mut self, node: &mut Pat)
Visit a node of type
Pat
. Read more§fn visit_mut_pats(&mut self, node: &mut Vec<Pat>)
fn visit_mut_pats(&mut self, node: &mut Vec<Pat>)
Visit a node of type
Vec < Pat >
. Read more§fn visit_mut_private_method(&mut self, node: &mut PrivateMethod)
fn visit_mut_private_method(&mut self, node: &mut PrivateMethod)
Visit a node of type
PrivateMethod
. Read more§fn visit_mut_private_name(&mut self, node: &mut PrivateName)
fn visit_mut_private_name(&mut self, node: &mut PrivateName)
Visit a node of type
PrivateName
. Read more§fn visit_mut_private_prop(&mut self, node: &mut PrivateProp)
fn visit_mut_private_prop(&mut self, node: &mut PrivateProp)
Visit a node of type
PrivateProp
. Read more§fn visit_mut_prop(&mut self, node: &mut Prop)
fn visit_mut_prop(&mut self, node: &mut Prop)
Visit a node of type
Prop
. Read more§fn visit_mut_prop_name(&mut self, node: &mut PropName)
fn visit_mut_prop_name(&mut self, node: &mut PropName)
Visit a node of type
PropName
. Read more§fn visit_mut_prop_or_spread(&mut self, node: &mut PropOrSpread)
fn visit_mut_prop_or_spread(&mut self, node: &mut PropOrSpread)
Visit a node of type
PropOrSpread
. Read more§fn visit_mut_prop_or_spreads(&mut self, node: &mut Vec<PropOrSpread>)
fn visit_mut_prop_or_spreads(&mut self, node: &mut Vec<PropOrSpread>)
Visit a node of type
Vec < PropOrSpread >
. Read more§fn visit_mut_regex(&mut self, node: &mut Regex)
fn visit_mut_regex(&mut self, node: &mut Regex)
Visit a node of type
Regex
. Read more§fn visit_mut_rest_pat(&mut self, node: &mut RestPat)
fn visit_mut_rest_pat(&mut self, node: &mut RestPat)
Visit a node of type
RestPat
. Read more§fn visit_mut_return_stmt(&mut self, node: &mut ReturnStmt)
fn visit_mut_return_stmt(&mut self, node: &mut ReturnStmt)
Visit a node of type
ReturnStmt
. Read more§fn visit_mut_seq_expr(&mut self, node: &mut SeqExpr)
fn visit_mut_seq_expr(&mut self, node: &mut SeqExpr)
Visit a node of type
SeqExpr
. Read more§fn visit_mut_setter_prop(&mut self, node: &mut SetterProp)
fn visit_mut_setter_prop(&mut self, node: &mut SetterProp)
Visit a node of type
SetterProp
. Read more§fn visit_mut_simple_assign_target(&mut self, node: &mut SimpleAssignTarget)
fn visit_mut_simple_assign_target(&mut self, node: &mut SimpleAssignTarget)
Visit a node of type
SimpleAssignTarget
. Read more§fn visit_mut_span(&mut self, node: &mut Span)
fn visit_mut_span(&mut self, node: &mut Span)
Visit a node of type
swc_common :: Span
. Read more§fn visit_mut_spread_element(&mut self, node: &mut SpreadElement)
fn visit_mut_spread_element(&mut self, node: &mut SpreadElement)
Visit a node of type
SpreadElement
. Read more§fn visit_mut_static_block(&mut self, node: &mut StaticBlock)
fn visit_mut_static_block(&mut self, node: &mut StaticBlock)
Visit a node of type
StaticBlock
. Read more§fn visit_mut_stmt(&mut self, node: &mut Stmt)
fn visit_mut_stmt(&mut self, node: &mut Stmt)
Visit a node of type
Stmt
. Read more§fn visit_mut_stmts(&mut self, node: &mut Vec<Stmt>)
fn visit_mut_stmts(&mut self, node: &mut Vec<Stmt>)
Visit a node of type
Vec < Stmt >
. Read more§fn visit_mut_str(&mut self, node: &mut Str)
fn visit_mut_str(&mut self, node: &mut Str)
Visit a node of type
Str
. Read more§fn visit_mut_super(&mut self, node: &mut Super)
fn visit_mut_super(&mut self, node: &mut Super)
Visit a node of type
Super
. Read more§fn visit_mut_super_prop(&mut self, node: &mut SuperProp)
fn visit_mut_super_prop(&mut self, node: &mut SuperProp)
Visit a node of type
SuperProp
. Read more§fn visit_mut_super_prop_expr(&mut self, node: &mut SuperPropExpr)
fn visit_mut_super_prop_expr(&mut self, node: &mut SuperPropExpr)
Visit a node of type
SuperPropExpr
. Read more§fn visit_mut_switch_case(&mut self, node: &mut SwitchCase)
fn visit_mut_switch_case(&mut self, node: &mut SwitchCase)
Visit a node of type
SwitchCase
. Read more§fn visit_mut_switch_cases(&mut self, node: &mut Vec<SwitchCase>)
fn visit_mut_switch_cases(&mut self, node: &mut Vec<SwitchCase>)
Visit a node of type
Vec < SwitchCase >
. Read more§fn visit_mut_switch_stmt(&mut self, node: &mut SwitchStmt)
fn visit_mut_switch_stmt(&mut self, node: &mut SwitchStmt)
Visit a node of type
SwitchStmt
. Read more§fn visit_mut_syntax_context(&mut self, node: &mut SyntaxContext)
fn visit_mut_syntax_context(&mut self, node: &mut SyntaxContext)
Visit a node of type
swc_common :: SyntaxContext
. Read more§fn visit_mut_tagged_tpl(&mut self, node: &mut TaggedTpl)
fn visit_mut_tagged_tpl(&mut self, node: &mut TaggedTpl)
Visit a node of type
TaggedTpl
. Read more§fn visit_mut_this_expr(&mut self, node: &mut ThisExpr)
fn visit_mut_this_expr(&mut self, node: &mut ThisExpr)
Visit a node of type
ThisExpr
. Read more§fn visit_mut_throw_stmt(&mut self, node: &mut ThrowStmt)
fn visit_mut_throw_stmt(&mut self, node: &mut ThrowStmt)
Visit a node of type
ThrowStmt
. Read more§fn visit_mut_tpl(&mut self, node: &mut Tpl)
fn visit_mut_tpl(&mut self, node: &mut Tpl)
Visit a node of type
Tpl
. Read more§fn visit_mut_tpl_element(&mut self, node: &mut TplElement)
fn visit_mut_tpl_element(&mut self, node: &mut TplElement)
Visit a node of type
TplElement
. Read more§fn visit_mut_tpl_elements(&mut self, node: &mut Vec<TplElement>)
fn visit_mut_tpl_elements(&mut self, node: &mut Vec<TplElement>)
Visit a node of type
Vec < TplElement >
. Read more§fn visit_mut_true_plus_minus(&mut self, node: &mut TruePlusMinus)
fn visit_mut_true_plus_minus(&mut self, node: &mut TruePlusMinus)
Visit a node of type
TruePlusMinus
. Read more§fn visit_mut_try_stmt(&mut self, node: &mut TryStmt)
fn visit_mut_try_stmt(&mut self, node: &mut TryStmt)
Visit a node of type
TryStmt
. Read more§fn visit_mut_ts_array_type(&mut self, node: &mut TsArrayType)
fn visit_mut_ts_array_type(&mut self, node: &mut TsArrayType)
Visit a node of type
TsArrayType
. Read more§fn visit_mut_ts_as_expr(&mut self, node: &mut TsAsExpr)
fn visit_mut_ts_as_expr(&mut self, node: &mut TsAsExpr)
Visit a node of type
TsAsExpr
. Read more§fn visit_mut_ts_call_signature_decl(&mut self, node: &mut TsCallSignatureDecl)
fn visit_mut_ts_call_signature_decl(&mut self, node: &mut TsCallSignatureDecl)
Visit a node of type
TsCallSignatureDecl
. Read more§fn visit_mut_ts_conditional_type(&mut self, node: &mut TsConditionalType)
fn visit_mut_ts_conditional_type(&mut self, node: &mut TsConditionalType)
Visit a node of type
TsConditionalType
. Read more§fn visit_mut_ts_const_assertion(&mut self, node: &mut TsConstAssertion)
fn visit_mut_ts_const_assertion(&mut self, node: &mut TsConstAssertion)
Visit a node of type
TsConstAssertion
. Read more§fn visit_mut_ts_construct_signature_decl(
&mut self,
node: &mut TsConstructSignatureDecl,
)
fn visit_mut_ts_construct_signature_decl( &mut self, node: &mut TsConstructSignatureDecl, )
Visit a node of type
TsConstructSignatureDecl
. Read more§fn visit_mut_ts_constructor_type(&mut self, node: &mut TsConstructorType)
fn visit_mut_ts_constructor_type(&mut self, node: &mut TsConstructorType)
Visit a node of type
TsConstructorType
. Read more§fn visit_mut_ts_entity_name(&mut self, node: &mut TsEntityName)
fn visit_mut_ts_entity_name(&mut self, node: &mut TsEntityName)
Visit a node of type
TsEntityName
. Read more§fn visit_mut_ts_enum_decl(&mut self, node: &mut TsEnumDecl)
fn visit_mut_ts_enum_decl(&mut self, node: &mut TsEnumDecl)
Visit a node of type
TsEnumDecl
. Read more§fn visit_mut_ts_enum_member(&mut self, node: &mut TsEnumMember)
fn visit_mut_ts_enum_member(&mut self, node: &mut TsEnumMember)
Visit a node of type
TsEnumMember
. Read more§fn visit_mut_ts_enum_member_id(&mut self, node: &mut TsEnumMemberId)
fn visit_mut_ts_enum_member_id(&mut self, node: &mut TsEnumMemberId)
Visit a node of type
TsEnumMemberId
. Read more§fn visit_mut_ts_enum_members(&mut self, node: &mut Vec<TsEnumMember>)
fn visit_mut_ts_enum_members(&mut self, node: &mut Vec<TsEnumMember>)
Visit a node of type
Vec < TsEnumMember >
. Read more§fn visit_mut_ts_export_assignment(&mut self, node: &mut TsExportAssignment)
fn visit_mut_ts_export_assignment(&mut self, node: &mut TsExportAssignment)
Visit a node of type
TsExportAssignment
. Read more§fn visit_mut_ts_expr_with_type_args(&mut self, node: &mut TsExprWithTypeArgs)
fn visit_mut_ts_expr_with_type_args(&mut self, node: &mut TsExprWithTypeArgs)
Visit a node of type
TsExprWithTypeArgs
. Read more§fn visit_mut_ts_expr_with_type_argss(
&mut self,
node: &mut Vec<TsExprWithTypeArgs>,
)
fn visit_mut_ts_expr_with_type_argss( &mut self, node: &mut Vec<TsExprWithTypeArgs>, )
Visit a node of type
Vec < TsExprWithTypeArgs >
. Read more§fn visit_mut_ts_external_module_ref(&mut self, node: &mut TsExternalModuleRef)
fn visit_mut_ts_external_module_ref(&mut self, node: &mut TsExternalModuleRef)
Visit a node of type
TsExternalModuleRef
. Read more§fn visit_mut_ts_fn_or_constructor_type(
&mut self,
node: &mut TsFnOrConstructorType,
)
fn visit_mut_ts_fn_or_constructor_type( &mut self, node: &mut TsFnOrConstructorType, )
Visit a node of type
TsFnOrConstructorType
. Read more§fn visit_mut_ts_fn_param(&mut self, node: &mut TsFnParam)
fn visit_mut_ts_fn_param(&mut self, node: &mut TsFnParam)
Visit a node of type
TsFnParam
. Read more§fn visit_mut_ts_fn_params(&mut self, node: &mut Vec<TsFnParam>)
fn visit_mut_ts_fn_params(&mut self, node: &mut Vec<TsFnParam>)
Visit a node of type
Vec < TsFnParam >
. Read more§fn visit_mut_ts_fn_type(&mut self, node: &mut TsFnType)
fn visit_mut_ts_fn_type(&mut self, node: &mut TsFnType)
Visit a node of type
TsFnType
. Read more§fn visit_mut_ts_getter_signature(&mut self, node: &mut TsGetterSignature)
fn visit_mut_ts_getter_signature(&mut self, node: &mut TsGetterSignature)
Visit a node of type
TsGetterSignature
. Read more§fn visit_mut_ts_import_equals_decl(&mut self, node: &mut TsImportEqualsDecl)
fn visit_mut_ts_import_equals_decl(&mut self, node: &mut TsImportEqualsDecl)
Visit a node of type
TsImportEqualsDecl
. Read more§fn visit_mut_ts_import_type(&mut self, node: &mut TsImportType)
fn visit_mut_ts_import_type(&mut self, node: &mut TsImportType)
Visit a node of type
TsImportType
. Read more§fn visit_mut_ts_index_signature(&mut self, node: &mut TsIndexSignature)
fn visit_mut_ts_index_signature(&mut self, node: &mut TsIndexSignature)
Visit a node of type
TsIndexSignature
. Read more§fn visit_mut_ts_indexed_access_type(&mut self, node: &mut TsIndexedAccessType)
fn visit_mut_ts_indexed_access_type(&mut self, node: &mut TsIndexedAccessType)
Visit a node of type
TsIndexedAccessType
. Read more§fn visit_mut_ts_infer_type(&mut self, node: &mut TsInferType)
fn visit_mut_ts_infer_type(&mut self, node: &mut TsInferType)
Visit a node of type
TsInferType
. Read more§fn visit_mut_ts_instantiation(&mut self, node: &mut TsInstantiation)
fn visit_mut_ts_instantiation(&mut self, node: &mut TsInstantiation)
Visit a node of type
TsInstantiation
. Read more§fn visit_mut_ts_interface_body(&mut self, node: &mut TsInterfaceBody)
fn visit_mut_ts_interface_body(&mut self, node: &mut TsInterfaceBody)
Visit a node of type
TsInterfaceBody
. Read more§fn visit_mut_ts_interface_decl(&mut self, node: &mut TsInterfaceDecl)
fn visit_mut_ts_interface_decl(&mut self, node: &mut TsInterfaceDecl)
Visit a node of type
TsInterfaceDecl
. Read more§fn visit_mut_ts_intersection_type(&mut self, node: &mut TsIntersectionType)
fn visit_mut_ts_intersection_type(&mut self, node: &mut TsIntersectionType)
Visit a node of type
TsIntersectionType
. Read more§fn visit_mut_ts_keyword_type(&mut self, node: &mut TsKeywordType)
fn visit_mut_ts_keyword_type(&mut self, node: &mut TsKeywordType)
Visit a node of type
TsKeywordType
. Read more§fn visit_mut_ts_keyword_type_kind(&mut self, node: &mut TsKeywordTypeKind)
fn visit_mut_ts_keyword_type_kind(&mut self, node: &mut TsKeywordTypeKind)
Visit a node of type
TsKeywordTypeKind
. Read more§fn visit_mut_ts_lit(&mut self, node: &mut TsLit)
fn visit_mut_ts_lit(&mut self, node: &mut TsLit)
Visit a node of type
TsLit
. Read more§fn visit_mut_ts_lit_type(&mut self, node: &mut TsLitType)
fn visit_mut_ts_lit_type(&mut self, node: &mut TsLitType)
Visit a node of type
TsLitType
. Read more§fn visit_mut_ts_mapped_type(&mut self, node: &mut TsMappedType)
fn visit_mut_ts_mapped_type(&mut self, node: &mut TsMappedType)
Visit a node of type
TsMappedType
. Read more§fn visit_mut_ts_method_signature(&mut self, node: &mut TsMethodSignature)
fn visit_mut_ts_method_signature(&mut self, node: &mut TsMethodSignature)
Visit a node of type
TsMethodSignature
. Read more§fn visit_mut_ts_module_block(&mut self, node: &mut TsModuleBlock)
fn visit_mut_ts_module_block(&mut self, node: &mut TsModuleBlock)
Visit a node of type
TsModuleBlock
. Read more§fn visit_mut_ts_module_decl(&mut self, node: &mut TsModuleDecl)
fn visit_mut_ts_module_decl(&mut self, node: &mut TsModuleDecl)
Visit a node of type
TsModuleDecl
. Read more§fn visit_mut_ts_module_name(&mut self, node: &mut TsModuleName)
fn visit_mut_ts_module_name(&mut self, node: &mut TsModuleName)
Visit a node of type
TsModuleName
. Read more§fn visit_mut_ts_module_ref(&mut self, node: &mut TsModuleRef)
fn visit_mut_ts_module_ref(&mut self, node: &mut TsModuleRef)
Visit a node of type
TsModuleRef
. Read more§fn visit_mut_ts_namespace_body(&mut self, node: &mut TsNamespaceBody)
fn visit_mut_ts_namespace_body(&mut self, node: &mut TsNamespaceBody)
Visit a node of type
TsNamespaceBody
. Read more§fn visit_mut_ts_namespace_decl(&mut self, node: &mut TsNamespaceDecl)
fn visit_mut_ts_namespace_decl(&mut self, node: &mut TsNamespaceDecl)
Visit a node of type
TsNamespaceDecl
. Read more§fn visit_mut_ts_namespace_export_decl(
&mut self,
node: &mut TsNamespaceExportDecl,
)
fn visit_mut_ts_namespace_export_decl( &mut self, node: &mut TsNamespaceExportDecl, )
Visit a node of type
TsNamespaceExportDecl
. Read more§fn visit_mut_ts_non_null_expr(&mut self, node: &mut TsNonNullExpr)
fn visit_mut_ts_non_null_expr(&mut self, node: &mut TsNonNullExpr)
Visit a node of type
TsNonNullExpr
. Read more§fn visit_mut_ts_optional_type(&mut self, node: &mut TsOptionalType)
fn visit_mut_ts_optional_type(&mut self, node: &mut TsOptionalType)
Visit a node of type
TsOptionalType
. Read more§fn visit_mut_ts_param_prop(&mut self, node: &mut TsParamProp)
fn visit_mut_ts_param_prop(&mut self, node: &mut TsParamProp)
Visit a node of type
TsParamProp
. Read more§fn visit_mut_ts_param_prop_param(&mut self, node: &mut TsParamPropParam)
fn visit_mut_ts_param_prop_param(&mut self, node: &mut TsParamPropParam)
Visit a node of type
TsParamPropParam
. Read more§fn visit_mut_ts_parenthesized_type(&mut self, node: &mut TsParenthesizedType)
fn visit_mut_ts_parenthesized_type(&mut self, node: &mut TsParenthesizedType)
Visit a node of type
TsParenthesizedType
. Read more§fn visit_mut_ts_property_signature(&mut self, node: &mut TsPropertySignature)
fn visit_mut_ts_property_signature(&mut self, node: &mut TsPropertySignature)
Visit a node of type
TsPropertySignature
. Read more§fn visit_mut_ts_qualified_name(&mut self, node: &mut TsQualifiedName)
fn visit_mut_ts_qualified_name(&mut self, node: &mut TsQualifiedName)
Visit a node of type
TsQualifiedName
. Read more§fn visit_mut_ts_rest_type(&mut self, node: &mut TsRestType)
fn visit_mut_ts_rest_type(&mut self, node: &mut TsRestType)
Visit a node of type
TsRestType
. Read more§fn visit_mut_ts_satisfies_expr(&mut self, node: &mut TsSatisfiesExpr)
fn visit_mut_ts_satisfies_expr(&mut self, node: &mut TsSatisfiesExpr)
Visit a node of type
TsSatisfiesExpr
. Read more§fn visit_mut_ts_setter_signature(&mut self, node: &mut TsSetterSignature)
fn visit_mut_ts_setter_signature(&mut self, node: &mut TsSetterSignature)
Visit a node of type
TsSetterSignature
. Read more§fn visit_mut_ts_this_type(&mut self, node: &mut TsThisType)
fn visit_mut_ts_this_type(&mut self, node: &mut TsThisType)
Visit a node of type
TsThisType
. Read more§fn visit_mut_ts_this_type_or_ident(&mut self, node: &mut TsThisTypeOrIdent)
fn visit_mut_ts_this_type_or_ident(&mut self, node: &mut TsThisTypeOrIdent)
Visit a node of type
TsThisTypeOrIdent
. Read more§fn visit_mut_ts_tpl_lit_type(&mut self, node: &mut TsTplLitType)
fn visit_mut_ts_tpl_lit_type(&mut self, node: &mut TsTplLitType)
Visit a node of type
TsTplLitType
. Read more§fn visit_mut_ts_tuple_element(&mut self, node: &mut TsTupleElement)
fn visit_mut_ts_tuple_element(&mut self, node: &mut TsTupleElement)
Visit a node of type
TsTupleElement
. Read more§fn visit_mut_ts_tuple_elements(&mut self, node: &mut Vec<TsTupleElement>)
fn visit_mut_ts_tuple_elements(&mut self, node: &mut Vec<TsTupleElement>)
Visit a node of type
Vec < TsTupleElement >
. Read more§fn visit_mut_ts_tuple_type(&mut self, node: &mut TsTupleType)
fn visit_mut_ts_tuple_type(&mut self, node: &mut TsTupleType)
Visit a node of type
TsTupleType
. Read more§fn visit_mut_ts_type(&mut self, node: &mut TsType)
fn visit_mut_ts_type(&mut self, node: &mut TsType)
Visit a node of type
TsType
. Read more§fn visit_mut_ts_type_alias_decl(&mut self, node: &mut TsTypeAliasDecl)
fn visit_mut_ts_type_alias_decl(&mut self, node: &mut TsTypeAliasDecl)
Visit a node of type
TsTypeAliasDecl
. Read more§fn visit_mut_ts_type_ann(&mut self, node: &mut TsTypeAnn)
fn visit_mut_ts_type_ann(&mut self, node: &mut TsTypeAnn)
Visit a node of type
TsTypeAnn
. Read more§fn visit_mut_ts_type_assertion(&mut self, node: &mut TsTypeAssertion)
fn visit_mut_ts_type_assertion(&mut self, node: &mut TsTypeAssertion)
Visit a node of type
TsTypeAssertion
. Read more§fn visit_mut_ts_type_element(&mut self, node: &mut TsTypeElement)
fn visit_mut_ts_type_element(&mut self, node: &mut TsTypeElement)
Visit a node of type
TsTypeElement
. Read more§fn visit_mut_ts_type_elements(&mut self, node: &mut Vec<TsTypeElement>)
fn visit_mut_ts_type_elements(&mut self, node: &mut Vec<TsTypeElement>)
Visit a node of type
Vec < TsTypeElement >
. Read more§fn visit_mut_ts_type_lit(&mut self, node: &mut TsTypeLit)
fn visit_mut_ts_type_lit(&mut self, node: &mut TsTypeLit)
Visit a node of type
TsTypeLit
. Read more§fn visit_mut_ts_type_operator(&mut self, node: &mut TsTypeOperator)
fn visit_mut_ts_type_operator(&mut self, node: &mut TsTypeOperator)
Visit a node of type
TsTypeOperator
. Read more§fn visit_mut_ts_type_operator_op(&mut self, node: &mut TsTypeOperatorOp)
fn visit_mut_ts_type_operator_op(&mut self, node: &mut TsTypeOperatorOp)
Visit a node of type
TsTypeOperatorOp
. Read more§fn visit_mut_ts_type_param(&mut self, node: &mut TsTypeParam)
fn visit_mut_ts_type_param(&mut self, node: &mut TsTypeParam)
Visit a node of type
TsTypeParam
. Read more§fn visit_mut_ts_type_param_decl(&mut self, node: &mut TsTypeParamDecl)
fn visit_mut_ts_type_param_decl(&mut self, node: &mut TsTypeParamDecl)
Visit a node of type
TsTypeParamDecl
. Read more§fn visit_mut_ts_type_param_instantiation(
&mut self,
node: &mut TsTypeParamInstantiation,
)
fn visit_mut_ts_type_param_instantiation( &mut self, node: &mut TsTypeParamInstantiation, )
Visit a node of type
TsTypeParamInstantiation
. Read more§fn visit_mut_ts_type_params(&mut self, node: &mut Vec<TsTypeParam>)
fn visit_mut_ts_type_params(&mut self, node: &mut Vec<TsTypeParam>)
Visit a node of type
Vec < TsTypeParam >
. Read more§fn visit_mut_ts_type_predicate(&mut self, node: &mut TsTypePredicate)
fn visit_mut_ts_type_predicate(&mut self, node: &mut TsTypePredicate)
Visit a node of type
TsTypePredicate
. Read more§fn visit_mut_ts_type_query(&mut self, node: &mut TsTypeQuery)
fn visit_mut_ts_type_query(&mut self, node: &mut TsTypeQuery)
Visit a node of type
TsTypeQuery
. Read more§fn visit_mut_ts_type_query_expr(&mut self, node: &mut TsTypeQueryExpr)
fn visit_mut_ts_type_query_expr(&mut self, node: &mut TsTypeQueryExpr)
Visit a node of type
TsTypeQueryExpr
. Read more§fn visit_mut_ts_type_ref(&mut self, node: &mut TsTypeRef)
fn visit_mut_ts_type_ref(&mut self, node: &mut TsTypeRef)
Visit a node of type
TsTypeRef
. Read more§fn visit_mut_ts_types(&mut self, node: &mut Vec<Box<TsType>>)
fn visit_mut_ts_types(&mut self, node: &mut Vec<Box<TsType>>)
Visit a node of type
Vec < Box < TsType > >
. Read more§fn visit_mut_ts_union_or_intersection_type(
&mut self,
node: &mut TsUnionOrIntersectionType,
)
fn visit_mut_ts_union_or_intersection_type( &mut self, node: &mut TsUnionOrIntersectionType, )
Visit a node of type
TsUnionOrIntersectionType
. Read more§fn visit_mut_ts_union_type(&mut self, node: &mut TsUnionType)
fn visit_mut_ts_union_type(&mut self, node: &mut TsUnionType)
Visit a node of type
TsUnionType
. Read more§fn visit_mut_unary_expr(&mut self, node: &mut UnaryExpr)
fn visit_mut_unary_expr(&mut self, node: &mut UnaryExpr)
Visit a node of type
UnaryExpr
. Read more§fn visit_mut_unary_op(&mut self, node: &mut UnaryOp)
fn visit_mut_unary_op(&mut self, node: &mut UnaryOp)
Visit a node of type
UnaryOp
. Read more§fn visit_mut_update_expr(&mut self, node: &mut UpdateExpr)
fn visit_mut_update_expr(&mut self, node: &mut UpdateExpr)
Visit a node of type
UpdateExpr
. Read more§fn visit_mut_update_op(&mut self, node: &mut UpdateOp)
fn visit_mut_update_op(&mut self, node: &mut UpdateOp)
Visit a node of type
UpdateOp
. Read more§fn visit_mut_using_decl(&mut self, node: &mut UsingDecl)
fn visit_mut_using_decl(&mut self, node: &mut UsingDecl)
Visit a node of type
UsingDecl
. Read more§fn visit_mut_var_decl(&mut self, node: &mut VarDecl)
fn visit_mut_var_decl(&mut self, node: &mut VarDecl)
Visit a node of type
VarDecl
. Read more§fn visit_mut_var_decl_kind(&mut self, node: &mut VarDeclKind)
fn visit_mut_var_decl_kind(&mut self, node: &mut VarDeclKind)
Visit a node of type
VarDeclKind
. Read more§fn visit_mut_var_decl_or_expr(&mut self, node: &mut VarDeclOrExpr)
fn visit_mut_var_decl_or_expr(&mut self, node: &mut VarDeclOrExpr)
Visit a node of type
VarDeclOrExpr
. Read more§fn visit_mut_var_declarator(&mut self, node: &mut VarDeclarator)
fn visit_mut_var_declarator(&mut self, node: &mut VarDeclarator)
Visit a node of type
VarDeclarator
. Read more§fn visit_mut_var_declarators(&mut self, node: &mut Vec<VarDeclarator>)
fn visit_mut_var_declarators(&mut self, node: &mut Vec<VarDeclarator>)
Visit a node of type
Vec < VarDeclarator >
. Read more§fn visit_mut_while_stmt(&mut self, node: &mut WhileStmt)
fn visit_mut_while_stmt(&mut self, node: &mut WhileStmt)
Visit a node of type
WhileStmt
. Read more§fn visit_mut_with_stmt(&mut self, node: &mut WithStmt)
fn visit_mut_with_stmt(&mut self, node: &mut WithStmt)
Visit a node of type
WithStmt
. Read more§fn visit_mut_yield_expr(&mut self, node: &mut YieldExpr)
fn visit_mut_yield_expr(&mut self, node: &mut YieldExpr)
Visit a node of type
YieldExpr
. Read moreimpl<V> Copy for Repeat<V>
impl<V> Eq for Repeat<V>
impl<V> StructuralPartialEq for Repeat<V>where
V: Repeated,
Auto Trait Implementations§
impl<V> Freeze for Repeat<V>where
V: Freeze,
impl<V> RefUnwindSafe for Repeat<V>where
V: RefUnwindSafe,
impl<V> Send for Repeat<V>where
V: Send,
impl<V> Sync for Repeat<V>where
V: Sync,
impl<V> Unpin for Repeat<V>where
V: Unpin,
impl<V> UnwindSafe for Repeat<V>where
V: UnwindSafe,
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.
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> Conv for T
impl<T> Conv for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> FmtForward for T
impl<T> FmtForward for T
§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
Causes
self
to use its Binary
implementation when Debug
-formatted.§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
Causes
self
to use its Display
implementation when
Debug
-formatted.§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
Causes
self
to use its LowerExp
implementation when
Debug
-formatted.§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
Causes
self
to use its LowerHex
implementation when
Debug
-formatted.§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
Causes
self
to use its Octal
implementation when Debug
-formatted.§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
Causes
self
to use its Pointer
implementation when
Debug
-formatted.§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
Causes
self
to use its UpperExp
implementation when
Debug
-formatted.§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
Causes
self
to use its UpperHex
implementation when
Debug
-formatted.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
Formats each item in a sequence. Read more
source§impl<T> ImplicitClone for Twhere
T: Clone,
impl<T> ImplicitClone for Twhere
T: Clone,
source§fn clone_quote_var(&self) -> Self
fn clone_quote_var(&self) -> Self
Available on crate feature
ecma_quote
only.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.
§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_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
fn on_magenta(&self) -> BgColorDisplay<'_, Magenta, Self>
Change the background color to magenta
§fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
fn default_color(&self) -> FgColorDisplay<'_, Default, Self>
Change the foreground color to the terminal default
§fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
fn on_default_color(&self) -> BgColorDisplay<'_, Default, Self>
Change the background color to the terminal default
§fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
fn bright_black(&self) -> FgColorDisplay<'_, BrightBlack, Self>
Change the foreground color to bright black
§fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
fn on_bright_black(&self) -> BgColorDisplay<'_, BrightBlack, Self>
Change the background color to bright black
§fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
fn bright_red(&self) -> FgColorDisplay<'_, BrightRed, Self>
Change the foreground color to bright red
§fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
fn on_bright_red(&self) -> BgColorDisplay<'_, BrightRed, Self>
Change the background color to bright red
§fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
fn bright_green(&self) -> FgColorDisplay<'_, BrightGreen, Self>
Change the foreground color to bright green
§fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
fn on_bright_green(&self) -> BgColorDisplay<'_, BrightGreen, Self>
Change the background color to bright green
§fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
fn bright_yellow(&self) -> FgColorDisplay<'_, BrightYellow, Self>
Change the foreground color to bright yellow
§fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
fn on_bright_yellow(&self) -> BgColorDisplay<'_, BrightYellow, Self>
Change the background color to bright yellow
§fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
fn bright_blue(&self) -> FgColorDisplay<'_, BrightBlue, Self>
Change the foreground color to bright blue
§fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
fn on_bright_blue(&self) -> BgColorDisplay<'_, BrightBlue, Self>
Change the background color to bright blue
§fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_magenta(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
Change the foreground color to bright magenta
§fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_magenta(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
Change the background color to bright magenta
§fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
fn bright_purple(&self) -> FgColorDisplay<'_, BrightMagenta, Self>
Change the foreground color to bright purple
§fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
fn on_bright_purple(&self) -> BgColorDisplay<'_, BrightMagenta, Self>
Change the background color to bright purple
§fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
fn bright_cyan(&self) -> FgColorDisplay<'_, BrightCyan, Self>
Change the foreground color to bright cyan
§fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
fn on_bright_cyan(&self) -> BgColorDisplay<'_, BrightCyan, Self>
Change the background color to bright cyan
§fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
fn bright_white(&self) -> FgColorDisplay<'_, BrightWhite, Self>
Change the foreground color to bright white
§fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
fn on_bright_white(&self) -> BgColorDisplay<'_, BrightWhite, Self>
Change the background color to bright white
§fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
fn blink_fast(&self) -> BlinkFastDisplay<'_, Self>
Make the text blink (but fast!)
Hide the text
§fn strikethrough(&self) -> StrikeThroughDisplay<'_, Self>
fn strikethrough(&self) -> StrikeThroughDisplay<'_, 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.
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Pipes by value. This is generally the method you want to use. Read more
§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
Borrows
self
and passes that borrow into the pipe function. Read more§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
Mutably borrows
self
and passes that borrow into the pipe function. Read more§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
Borrows
self
, then passes self.as_ref()
into the pipe function.§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
Mutably borrows
self
, then passes self.as_mut()
into the pipe
function.§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
Borrows
self
, then passes self.deref()
into the pipe function.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> Pointee for T
impl<T> Pointee for T
§impl<T> Tap for T
impl<T> Tap for T
§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Immutable access to the
Borrow<B>
of a value. Read more§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
Mutable access to the
BorrowMut<B>
of a value. Read more§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
Immutable access to the
AsRef<R>
view of a value. Read more§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
Mutable access to the
AsMut<R>
view of a value. Read more§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Immutable access to the
Deref::Target
of a value. Read more§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Mutable access to the
Deref::Target
of a value. Read more§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls
.tap()
only in debug builds, and is erased in release builds.§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls
.tap_mut()
only in debug builds, and is erased in release
builds.§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
Calls
.tap_borrow()
only in debug builds, and is erased in release
builds.§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
Calls
.tap_borrow_mut()
only in debug builds, and is erased in release
builds.§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
Calls
.tap_ref()
only in debug builds, and is erased in release
builds.§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
Calls
.tap_ref_mut()
only in debug builds, and is erased in release
builds.§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
Calls
.tap_deref()
only in debug builds, and is erased in release
builds.