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