pub struct OptionalChaining { /* private fields */ }
Implementations§
Source§impl OptionalChaining
impl OptionalChaining
pub fn take_vars(&mut self) -> Vec<VarDeclarator>
Trait Implementations§
Source§impl Default for OptionalChaining
impl Default for OptionalChaining
Source§fn default() -> OptionalChaining
fn default() -> OptionalChaining
Returns the “default value” for a type. Read more
Source§impl VisitMut for OptionalChaining
impl VisitMut for OptionalChaining
Source§fn visit_mut_accessibility(&mut self, _: &mut Accessibility)
fn visit_mut_accessibility(&mut self, _: &mut Accessibility)
Visit a node of type
Accessibility
. Read moreSource§fn visit_mut_true_plus_minus(&mut self, _: &mut TruePlusMinus)
fn visit_mut_true_plus_minus(&mut self, _: &mut TruePlusMinus)
Visit a node of type
TruePlusMinus
. Read moreSource§fn visit_mut_ts_array_type(&mut self, _: &mut TsArrayType)
fn visit_mut_ts_array_type(&mut self, _: &mut TsArrayType)
Visit a node of type
TsArrayType
. Read moreSource§fn visit_mut_ts_call_signature_decl(&mut self, _: &mut TsCallSignatureDecl)
fn visit_mut_ts_call_signature_decl(&mut self, _: &mut TsCallSignatureDecl)
Visit a node of type
TsCallSignatureDecl
. Read moreSource§fn visit_mut_ts_conditional_type(&mut self, _: &mut TsConditionalType)
fn visit_mut_ts_conditional_type(&mut self, _: &mut TsConditionalType)
Visit a node of type
TsConditionalType
. Read moreSource§fn visit_mut_ts_construct_signature_decl(
&mut self,
_: &mut TsConstructSignatureDecl,
)
fn visit_mut_ts_construct_signature_decl( &mut self, _: &mut TsConstructSignatureDecl, )
Visit a node of type
TsConstructSignatureDecl
. Read moreSource§fn visit_mut_ts_constructor_type(&mut self, _: &mut TsConstructorType)
fn visit_mut_ts_constructor_type(&mut self, _: &mut TsConstructorType)
Visit a node of type
TsConstructorType
. Read moreSource§fn visit_mut_ts_entity_name(&mut self, _: &mut TsEntityName)
fn visit_mut_ts_entity_name(&mut self, _: &mut TsEntityName)
Visit a node of type
TsEntityName
. Read moreSource§fn visit_mut_ts_expr_with_type_args(&mut self, _: &mut TsExprWithTypeArgs)
fn visit_mut_ts_expr_with_type_args(&mut self, _: &mut TsExprWithTypeArgs)
Visit a node of type
TsExprWithTypeArgs
. Read moreSource§fn visit_mut_ts_fn_or_constructor_type(&mut self, _: &mut TsFnOrConstructorType)
fn visit_mut_ts_fn_or_constructor_type(&mut self, _: &mut TsFnOrConstructorType)
Visit a node of type
TsFnOrConstructorType
. Read moreSource§fn visit_mut_ts_fn_param(&mut self, _: &mut TsFnParam)
fn visit_mut_ts_fn_param(&mut self, _: &mut TsFnParam)
Visit a node of type
TsFnParam
. Read moreSource§fn visit_mut_ts_fn_type(&mut self, _: &mut TsFnType)
fn visit_mut_ts_fn_type(&mut self, _: &mut TsFnType)
Visit a node of type
TsFnType
. Read moreSource§fn visit_mut_ts_import_type(&mut self, _: &mut TsImportType)
fn visit_mut_ts_import_type(&mut self, _: &mut TsImportType)
Visit a node of type
TsImportType
. Read moreSource§fn visit_mut_ts_index_signature(&mut self, _: &mut TsIndexSignature)
fn visit_mut_ts_index_signature(&mut self, _: &mut TsIndexSignature)
Visit a node of type
TsIndexSignature
. Read moreSource§fn visit_mut_ts_indexed_access_type(&mut self, _: &mut TsIndexedAccessType)
fn visit_mut_ts_indexed_access_type(&mut self, _: &mut TsIndexedAccessType)
Visit a node of type
TsIndexedAccessType
. Read moreSource§fn visit_mut_ts_infer_type(&mut self, _: &mut TsInferType)
fn visit_mut_ts_infer_type(&mut self, _: &mut TsInferType)
Visit a node of type
TsInferType
. Read moreSource§fn visit_mut_ts_interface_body(&mut self, _: &mut TsInterfaceBody)
fn visit_mut_ts_interface_body(&mut self, _: &mut TsInterfaceBody)
Visit a node of type
TsInterfaceBody
. Read moreSource§fn visit_mut_ts_interface_decl(&mut self, _: &mut TsInterfaceDecl)
fn visit_mut_ts_interface_decl(&mut self, _: &mut TsInterfaceDecl)
Visit a node of type
TsInterfaceDecl
. Read moreSource§fn visit_mut_ts_intersection_type(&mut self, _: &mut TsIntersectionType)
fn visit_mut_ts_intersection_type(&mut self, _: &mut TsIntersectionType)
Visit a node of type
TsIntersectionType
. Read moreSource§fn visit_mut_ts_keyword_type(&mut self, _: &mut TsKeywordType)
fn visit_mut_ts_keyword_type(&mut self, _: &mut TsKeywordType)
Visit a node of type
TsKeywordType
. Read moreSource§fn visit_mut_ts_keyword_type_kind(&mut self, _: &mut TsKeywordTypeKind)
fn visit_mut_ts_keyword_type_kind(&mut self, _: &mut TsKeywordTypeKind)
Visit a node of type
TsKeywordTypeKind
. Read moreSource§fn visit_mut_ts_mapped_type(&mut self, _: &mut TsMappedType)
fn visit_mut_ts_mapped_type(&mut self, _: &mut TsMappedType)
Visit a node of type
TsMappedType
. Read moreSource§fn visit_mut_ts_method_signature(&mut self, _: &mut TsMethodSignature)
fn visit_mut_ts_method_signature(&mut self, _: &mut TsMethodSignature)
Visit a node of type
TsMethodSignature
. Read moreSource§fn visit_mut_ts_optional_type(&mut self, _: &mut TsOptionalType)
fn visit_mut_ts_optional_type(&mut self, _: &mut TsOptionalType)
Visit a node of type
TsOptionalType
. Read moreSource§fn visit_mut_ts_parenthesized_type(&mut self, _: &mut TsParenthesizedType)
fn visit_mut_ts_parenthesized_type(&mut self, _: &mut TsParenthesizedType)
Visit a node of type
TsParenthesizedType
. Read moreSource§fn visit_mut_ts_property_signature(&mut self, _: &mut TsPropertySignature)
fn visit_mut_ts_property_signature(&mut self, _: &mut TsPropertySignature)
Visit a node of type
TsPropertySignature
. Read moreSource§fn visit_mut_ts_qualified_name(&mut self, _: &mut TsQualifiedName)
fn visit_mut_ts_qualified_name(&mut self, _: &mut TsQualifiedName)
Visit a node of type
TsQualifiedName
. Read moreSource§fn visit_mut_ts_rest_type(&mut self, _: &mut TsRestType)
fn visit_mut_ts_rest_type(&mut self, _: &mut TsRestType)
Visit a node of type
TsRestType
. Read moreSource§fn visit_mut_ts_this_type(&mut self, _: &mut TsThisType)
fn visit_mut_ts_this_type(&mut self, _: &mut TsThisType)
Visit a node of type
TsThisType
. Read moreSource§fn visit_mut_ts_this_type_or_ident(&mut self, _: &mut TsThisTypeOrIdent)
fn visit_mut_ts_this_type_or_ident(&mut self, _: &mut TsThisTypeOrIdent)
Visit a node of type
TsThisTypeOrIdent
. Read moreSource§fn visit_mut_ts_tuple_type(&mut self, _: &mut TsTupleType)
fn visit_mut_ts_tuple_type(&mut self, _: &mut TsTupleType)
Visit a node of type
TsTupleType
. Read moreSource§fn visit_mut_ts_type(&mut self, _: &mut TsType)
fn visit_mut_ts_type(&mut self, _: &mut TsType)
Visit a node of type
TsType
. Read moreSource§fn visit_mut_ts_type_alias_decl(&mut self, _: &mut TsTypeAliasDecl)
fn visit_mut_ts_type_alias_decl(&mut self, _: &mut TsTypeAliasDecl)
Visit a node of type
TsTypeAliasDecl
. Read moreSource§fn visit_mut_ts_type_ann(&mut self, _: &mut TsTypeAnn)
fn visit_mut_ts_type_ann(&mut self, _: &mut TsTypeAnn)
Visit a node of type
TsTypeAnn
. Read moreSource§fn visit_mut_ts_type_element(&mut self, _: &mut TsTypeElement)
fn visit_mut_ts_type_element(&mut self, _: &mut TsTypeElement)
Visit a node of type
TsTypeElement
. Read moreSource§fn visit_mut_ts_type_lit(&mut self, _: &mut TsTypeLit)
fn visit_mut_ts_type_lit(&mut self, _: &mut TsTypeLit)
Visit a node of type
TsTypeLit
. Read moreSource§fn visit_mut_ts_type_operator(&mut self, _: &mut TsTypeOperator)
fn visit_mut_ts_type_operator(&mut self, _: &mut TsTypeOperator)
Visit a node of type
TsTypeOperator
. Read moreSource§fn visit_mut_ts_type_operator_op(&mut self, _: &mut TsTypeOperatorOp)
fn visit_mut_ts_type_operator_op(&mut self, _: &mut TsTypeOperatorOp)
Visit a node of type
TsTypeOperatorOp
. Read moreSource§fn visit_mut_ts_type_param(&mut self, _: &mut TsTypeParam)
fn visit_mut_ts_type_param(&mut self, _: &mut TsTypeParam)
Visit a node of type
TsTypeParam
. Read moreSource§fn visit_mut_ts_type_param_decl(&mut self, _: &mut TsTypeParamDecl)
fn visit_mut_ts_type_param_decl(&mut self, _: &mut TsTypeParamDecl)
Visit a node of type
TsTypeParamDecl
. Read moreSource§fn visit_mut_ts_type_param_instantiation(
&mut self,
_: &mut TsTypeParamInstantiation,
)
fn visit_mut_ts_type_param_instantiation( &mut self, _: &mut TsTypeParamInstantiation, )
Visit a node of type
TsTypeParamInstantiation
. Read moreSource§fn visit_mut_ts_type_predicate(&mut self, _: &mut TsTypePredicate)
fn visit_mut_ts_type_predicate(&mut self, _: &mut TsTypePredicate)
Visit a node of type
TsTypePredicate
. Read moreSource§fn visit_mut_ts_type_query(&mut self, _: &mut TsTypeQuery)
fn visit_mut_ts_type_query(&mut self, _: &mut TsTypeQuery)
Visit a node of type
TsTypeQuery
. Read moreSource§fn visit_mut_ts_type_query_expr(&mut self, _: &mut TsTypeQueryExpr)
fn visit_mut_ts_type_query_expr(&mut self, _: &mut TsTypeQueryExpr)
Visit a node of type
TsTypeQueryExpr
. Read moreSource§fn visit_mut_ts_type_ref(&mut self, _: &mut TsTypeRef)
fn visit_mut_ts_type_ref(&mut self, _: &mut TsTypeRef)
Visit a node of type
TsTypeRef
. Read moreSource§fn visit_mut_ts_union_or_intersection_type(
&mut self,
_: &mut TsUnionOrIntersectionType,
)
fn visit_mut_ts_union_or_intersection_type( &mut self, _: &mut TsUnionOrIntersectionType, )
Visit a node of type
TsUnionOrIntersectionType
. Read moreSource§fn visit_mut_ts_union_type(&mut self, _: &mut TsUnionType)
fn visit_mut_ts_union_type(&mut self, _: &mut TsUnionType)
Visit a node of type
TsUnionType
. Read moreSource§fn visit_mut_block_stmt_or_expr(&mut self, expr: &mut BlockStmtOrExpr)
fn visit_mut_block_stmt_or_expr(&mut self, expr: &mut BlockStmtOrExpr)
Visit a node of type
BlockStmtOrExpr
. Read moreSource§fn visit_mut_expr(&mut self, e: &mut Expr)
fn visit_mut_expr(&mut self, e: &mut Expr)
Visit a node of type
Expr
. Read moreSource§fn visit_mut_pat(&mut self, n: &mut Pat)
fn visit_mut_pat(&mut self, n: &mut Pat)
Visit a node of type
Pat
. Read moreSource§fn visit_mut_module_items(&mut self, n: &mut Vec<ModuleItem>)
fn visit_mut_module_items(&mut self, n: &mut Vec<ModuleItem>)
Visit a node of type
Vec < ModuleItem >
. Read moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreSource§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 moreAuto Trait Implementations§
impl Freeze for OptionalChaining
impl RefUnwindSafe for OptionalChaining
impl Send for OptionalChaining
impl Sync for OptionalChaining
impl Unpin for OptionalChaining
impl UnwindSafe for OptionalChaining
Blanket Implementations§
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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