[−][src]Struct swc_ecma_utils::UsageFinder
Finds usage of ident
Implementations
impl<'a> UsageFinder<'a>
[src]
Trait Implementations
impl<'a> Visit for UsageFinder<'a>
[src]
fn visit_accessibility(&mut self, _: &Accessibility, _: &dyn Node)
[src]
fn visit_true_plus_minus(&mut self, _: &TruePlusMinus, _: &dyn Node)
[src]
fn visit_ts_array_type(&mut self, _: &TsArrayType, _: &dyn Node)
[src]
fn visit_ts_call_signature_decl(
&mut self,
_: &TsCallSignatureDecl,
_: &dyn Node
)
[src]
&mut self,
_: &TsCallSignatureDecl,
_: &dyn Node
)
fn visit_ts_conditional_type(&mut self, _: &TsConditionalType, _: &dyn Node)
[src]
fn visit_ts_construct_signature_decl(
&mut self,
_: &TsConstructSignatureDecl,
_: &dyn Node
)
[src]
&mut self,
_: &TsConstructSignatureDecl,
_: &dyn Node
)
fn visit_ts_constructor_type(&mut self, _: &TsConstructorType, _: &dyn Node)
[src]
fn visit_ts_entity_name(&mut self, _: &TsEntityName, _: &dyn Node)
[src]
fn visit_ts_enum_decl(&mut self, _: &TsEnumDecl, _: &dyn Node)
[src]
fn visit_ts_enum_member(&mut self, _: &TsEnumMember, _: &dyn Node)
[src]
fn visit_ts_enum_member_id(&mut self, _: &TsEnumMemberId, _: &dyn Node)
[src]
fn visit_ts_external_module_ref(
&mut self,
_: &TsExternalModuleRef,
_: &dyn Node
)
[src]
&mut self,
_: &TsExternalModuleRef,
_: &dyn Node
)
fn visit_ts_fn_or_constructor_type(
&mut self,
_: &TsFnOrConstructorType,
_: &dyn Node
)
[src]
&mut self,
_: &TsFnOrConstructorType,
_: &dyn Node
)
fn visit_ts_fn_param(&mut self, _: &TsFnParam, _: &dyn Node)
[src]
fn visit_ts_fn_type(&mut self, _: &TsFnType, _: &dyn Node)
[src]
fn visit_ts_import_equals_decl(&mut self, _: &TsImportEqualsDecl, _: &dyn Node)
[src]
fn visit_ts_import_type(&mut self, _: &TsImportType, _: &dyn Node)
[src]
fn visit_ts_index_signature(&mut self, _: &TsIndexSignature, _: &dyn Node)
[src]
fn visit_ts_indexed_access_type(
&mut self,
_: &TsIndexedAccessType,
_: &dyn Node
)
[src]
&mut self,
_: &TsIndexedAccessType,
_: &dyn Node
)
fn visit_ts_infer_type(&mut self, _: &TsInferType, _: &dyn Node)
[src]
fn visit_ts_interface_body(&mut self, _: &TsInterfaceBody, _: &dyn Node)
[src]
fn visit_ts_interface_decl(&mut self, _: &TsInterfaceDecl, _: &dyn Node)
[src]
fn visit_ts_intersection_type(&mut self, _: &TsIntersectionType, _: &dyn Node)
[src]
fn visit_ts_keyword_type(&mut self, _: &TsKeywordType, _: &dyn Node)
[src]
fn visit_ts_keyword_type_kind(&mut self, _: &TsKeywordTypeKind, _: &dyn Node)
[src]
fn visit_ts_mapped_type(&mut self, _: &TsMappedType, _: &dyn Node)
[src]
fn visit_ts_method_signature(&mut self, _: &TsMethodSignature, _: &dyn Node)
[src]
fn visit_ts_module_block(&mut self, _: &TsModuleBlock, _: &dyn Node)
[src]
fn visit_ts_module_decl(&mut self, _: &TsModuleDecl, _: &dyn Node)
[src]
fn visit_ts_module_name(&mut self, _: &TsModuleName, _: &dyn Node)
[src]
fn visit_ts_module_ref(&mut self, _: &TsModuleRef, _: &dyn Node)
[src]
fn visit_ts_namespace_body(&mut self, _: &TsNamespaceBody, _: &dyn Node)
[src]
fn visit_ts_namespace_decl(&mut self, _: &TsNamespaceDecl, _: &dyn Node)
[src]
fn visit_ts_namespace_export_decl(
&mut self,
_: &TsNamespaceExportDecl,
_: &dyn Node
)
[src]
&mut self,
_: &TsNamespaceExportDecl,
_: &dyn Node
)
fn visit_ts_optional_type(&mut self, _: &TsOptionalType, _: &dyn Node)
[src]
fn visit_ts_param_prop(&mut self, _: &TsParamProp, _: &dyn Node)
[src]
fn visit_ts_param_prop_param(&mut self, _: &TsParamPropParam, _: &dyn Node)
[src]
fn visit_ts_parenthesized_type(&mut self, _: &TsParenthesizedType, _: &dyn Node)
[src]
fn visit_ts_property_signature(&mut self, _: &TsPropertySignature, _: &dyn Node)
[src]
fn visit_ts_qualified_name(&mut self, _: &TsQualifiedName, _: &dyn Node)
[src]
fn visit_ts_rest_type(&mut self, _: &TsRestType, _: &dyn Node)
[src]
fn visit_ts_signature_decl(&mut self, _: &TsSignatureDecl, _: &dyn Node)
[src]
fn visit_ts_this_type(&mut self, _: &TsThisType, _: &dyn Node)
[src]
fn visit_ts_this_type_or_ident(&mut self, _: &TsThisTypeOrIdent, _: &dyn Node)
[src]
fn visit_ts_tuple_type(&mut self, _: &TsTupleType, _: &dyn Node)
[src]
fn visit_ts_type(&mut self, _: &TsType, _: &dyn Node)
[src]
fn visit_ts_type_alias_decl(&mut self, _: &TsTypeAliasDecl, _: &dyn Node)
[src]
fn visit_ts_type_ann(&mut self, _: &TsTypeAnn, _: &dyn Node)
[src]
fn visit_ts_type_assertion(&mut self, _: &TsTypeAssertion, _: &dyn Node)
[src]
fn visit_ts_type_cast_expr(&mut self, _: &TsTypeCastExpr, _: &dyn Node)
[src]
fn visit_ts_type_element(&mut self, _: &TsTypeElement, _: &dyn Node)
[src]
fn visit_ts_type_lit(&mut self, _: &TsTypeLit, _: &dyn Node)
[src]
fn visit_ts_type_operator(&mut self, _: &TsTypeOperator, _: &dyn Node)
[src]
fn visit_ts_type_operator_op(&mut self, _: &TsTypeOperatorOp, _: &dyn Node)
[src]
fn visit_ts_type_param(&mut self, _: &TsTypeParam, _: &dyn Node)
[src]
fn visit_ts_type_param_decl(&mut self, _: &TsTypeParamDecl, _: &dyn Node)
[src]
fn visit_ts_type_param_instantiation(
&mut self,
_: &TsTypeParamInstantiation,
_: &dyn Node
)
[src]
&mut self,
_: &TsTypeParamInstantiation,
_: &dyn Node
)
fn visit_ts_type_predicate(&mut self, _: &TsTypePredicate, _: &dyn Node)
[src]
fn visit_ts_type_query(&mut self, _: &TsTypeQuery, _: &dyn Node)
[src]
fn visit_ts_type_query_expr(&mut self, _: &TsTypeQueryExpr, _: &dyn Node)
[src]
fn visit_ts_type_ref(&mut self, _: &TsTypeRef, _: &dyn Node)
[src]
fn visit_ts_union_or_intersection_type(
&mut self,
_: &TsUnionOrIntersectionType,
_: &dyn Node
)
[src]
&mut self,
_: &TsUnionOrIntersectionType,
_: &dyn Node
)
fn visit_ts_union_type(&mut self, _: &TsUnionType, _: &dyn Node)
[src]
fn visit_ident(&mut self, i: &Ident, _: &dyn Node)
[src]
fn visit_member_expr(&mut self, e: &MemberExpr, _: &dyn Node)
[src]
fn visit_array_lit(&mut self, n: &ArrayLit, _parent: &(dyn Node + 'static))
[src]
fn visit_array_pat(&mut self, n: &ArrayPat, _parent: &(dyn Node + 'static))
[src]
fn visit_arrow_expr(&mut self, n: &ArrowExpr, _parent: &(dyn Node + 'static))
[src]
fn visit_assign_expr(&mut self, n: &AssignExpr, _parent: &(dyn Node + 'static))
[src]
fn visit_assign_op(&mut self, n: &AssignOp, _parent: &(dyn Node + 'static))
[src]
fn visit_assign_pat(&mut self, n: &AssignPat, _parent: &(dyn Node + 'static))
[src]
fn visit_assign_pat_prop(
&mut self,
n: &AssignPatProp,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &AssignPatProp,
_parent: &(dyn Node + 'static)
)
fn visit_assign_prop(&mut self, n: &AssignProp, _parent: &(dyn Node + 'static))
[src]
fn visit_await_expr(&mut self, n: &AwaitExpr, _parent: &(dyn Node + 'static))
[src]
fn visit_big_int(&mut self, n: &BigInt, _parent: &(dyn Node + 'static))
[src]
fn visit_bin_expr(&mut self, n: &BinExpr, _parent: &(dyn Node + 'static))
[src]
fn visit_binary_op(&mut self, n: &BinaryOp, _parent: &(dyn Node + 'static))
[src]
fn visit_block_stmt(&mut self, n: &BlockStmt, _parent: &(dyn Node + 'static))
[src]
fn visit_block_stmt_or_expr(
&mut self,
n: &BlockStmtOrExpr,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &BlockStmtOrExpr,
_parent: &(dyn Node + 'static)
)
fn visit_bool(&mut self, n: &Bool, _parent: &(dyn Node + 'static))
[src]
fn visit_break_stmt(&mut self, n: &BreakStmt, _parent: &(dyn Node + 'static))
[src]
fn visit_call_expr(&mut self, n: &CallExpr, _parent: &(dyn Node + 'static))
[src]
fn visit_catch_clause(
&mut self,
n: &CatchClause,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &CatchClause,
_parent: &(dyn Node + 'static)
)
fn visit_class(&mut self, n: &Class, _parent: &(dyn Node + 'static))
[src]
fn visit_class_decl(&mut self, n: &ClassDecl, _parent: &(dyn Node + 'static))
[src]
fn visit_class_expr(&mut self, n: &ClassExpr, _parent: &(dyn Node + 'static))
[src]
fn visit_class_member(
&mut self,
n: &ClassMember,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &ClassMember,
_parent: &(dyn Node + 'static)
)
fn visit_class_method(
&mut self,
n: &ClassMethod,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &ClassMethod,
_parent: &(dyn Node + 'static)
)
fn visit_class_prop(&mut self, n: &ClassProp, _parent: &(dyn Node + 'static))
[src]
fn visit_computed_prop_name(
&mut self,
n: &ComputedPropName,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &ComputedPropName,
_parent: &(dyn Node + 'static)
)
fn visit_cond_expr(&mut self, n: &CondExpr, _parent: &(dyn Node + 'static))
[src]
fn visit_constructor(&mut self, n: &Constructor, _parent: &(dyn Node + 'static))
[src]
fn visit_continue_stmt(
&mut self,
n: &ContinueStmt,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &ContinueStmt,
_parent: &(dyn Node + 'static)
)
fn visit_debugger_stmt(
&mut self,
n: &DebuggerStmt,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &DebuggerStmt,
_parent: &(dyn Node + 'static)
)
fn visit_decl(&mut self, n: &Decl, _parent: &(dyn Node + 'static))
[src]
fn visit_decorator(&mut self, n: &Decorator, _parent: &(dyn Node + 'static))
[src]
fn visit_default_decl(
&mut self,
n: &DefaultDecl,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &DefaultDecl,
_parent: &(dyn Node + 'static)
)
fn visit_do_while_stmt(
&mut self,
n: &DoWhileStmt,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &DoWhileStmt,
_parent: &(dyn Node + 'static)
)
fn visit_empty_stmt(&mut self, n: &EmptyStmt, _parent: &(dyn Node + 'static))
[src]
fn visit_export_all(&mut self, n: &ExportAll, _parent: &(dyn Node + 'static))
[src]
fn visit_export_decl(&mut self, n: &ExportDecl, _parent: &(dyn Node + 'static))
[src]
fn visit_export_default_decl(
&mut self,
n: &ExportDefaultDecl,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &ExportDefaultDecl,
_parent: &(dyn Node + 'static)
)
fn visit_export_default_expr(
&mut self,
n: &ExportDefaultExpr,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &ExportDefaultExpr,
_parent: &(dyn Node + 'static)
)
fn visit_export_default_specifier(
&mut self,
n: &ExportDefaultSpecifier,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &ExportDefaultSpecifier,
_parent: &(dyn Node + 'static)
)
fn visit_export_named_specifier(
&mut self,
n: &ExportNamedSpecifier,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &ExportNamedSpecifier,
_parent: &(dyn Node + 'static)
)
fn visit_export_namespace_specifier(
&mut self,
n: &ExportNamespaceSpecifier,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &ExportNamespaceSpecifier,
_parent: &(dyn Node + 'static)
)
fn visit_export_specifier(
&mut self,
n: &ExportSpecifier,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &ExportSpecifier,
_parent: &(dyn Node + 'static)
)
fn visit_expr(&mut self, n: &Expr, _parent: &(dyn Node + 'static))
[src]
fn visit_expr_or_spread(
&mut self,
n: &ExprOrSpread,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &ExprOrSpread,
_parent: &(dyn Node + 'static)
)
fn visit_expr_or_super(
&mut self,
n: &ExprOrSuper,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &ExprOrSuper,
_parent: &(dyn Node + 'static)
)
fn visit_expr_stmt(&mut self, n: &ExprStmt, _parent: &(dyn Node + 'static))
[src]
fn visit_fn_decl(&mut self, n: &FnDecl, _parent: &(dyn Node + 'static))
[src]
fn visit_fn_expr(&mut self, n: &FnExpr, _parent: &(dyn Node + 'static))
[src]
fn visit_for_in_stmt(&mut self, n: &ForInStmt, _parent: &(dyn Node + 'static))
[src]
fn visit_for_of_stmt(&mut self, n: &ForOfStmt, _parent: &(dyn Node + 'static))
[src]
fn visit_for_stmt(&mut self, n: &ForStmt, _parent: &(dyn Node + 'static))
[src]
fn visit_function(&mut self, n: &Function, _parent: &(dyn Node + 'static))
[src]
fn visit_getter_prop(&mut self, n: &GetterProp, _parent: &(dyn Node + 'static))
[src]
fn visit_if_stmt(&mut self, n: &IfStmt, _parent: &(dyn Node + 'static))
[src]
fn visit_import_decl(&mut self, n: &ImportDecl, _parent: &(dyn Node + 'static))
[src]
fn visit_import_default_specifier(
&mut self,
n: &ImportDefaultSpecifier,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &ImportDefaultSpecifier,
_parent: &(dyn Node + 'static)
)
fn visit_import_named_specifier(
&mut self,
n: &ImportNamedSpecifier,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &ImportNamedSpecifier,
_parent: &(dyn Node + 'static)
)
fn visit_import_specifier(
&mut self,
n: &ImportSpecifier,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &ImportSpecifier,
_parent: &(dyn Node + 'static)
)
fn visit_import_star_as_specifier(
&mut self,
n: &ImportStarAsSpecifier,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &ImportStarAsSpecifier,
_parent: &(dyn Node + 'static)
)
fn visit_invalid(&mut self, n: &Invalid, _parent: &(dyn Node + 'static))
[src]
fn visit_jsx_attr(&mut self, n: &JSXAttr, _parent: &(dyn Node + 'static))
[src]
fn visit_jsx_attr_name(
&mut self,
n: &JSXAttrName,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &JSXAttrName,
_parent: &(dyn Node + 'static)
)
fn visit_jsx_attr_or_spread(
&mut self,
n: &JSXAttrOrSpread,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &JSXAttrOrSpread,
_parent: &(dyn Node + 'static)
)
fn visit_jsx_attr_value(
&mut self,
n: &JSXAttrValue,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &JSXAttrValue,
_parent: &(dyn Node + 'static)
)
fn visit_jsx_closing_element(
&mut self,
n: &JSXClosingElement,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &JSXClosingElement,
_parent: &(dyn Node + 'static)
)
fn visit_jsx_closing_fragment(
&mut self,
n: &JSXClosingFragment,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &JSXClosingFragment,
_parent: &(dyn Node + 'static)
)
fn visit_jsx_element(&mut self, n: &JSXElement, _parent: &(dyn Node + 'static))
[src]
fn visit_jsx_element_child(
&mut self,
n: &JSXElementChild,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &JSXElementChild,
_parent: &(dyn Node + 'static)
)
fn visit_jsx_element_name(
&mut self,
n: &JSXElementName,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &JSXElementName,
_parent: &(dyn Node + 'static)
)
fn visit_jsx_empty_expr(
&mut self,
n: &JSXEmptyExpr,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &JSXEmptyExpr,
_parent: &(dyn Node + 'static)
)
fn visit_jsx_expr(&mut self, n: &JSXExpr, _parent: &(dyn Node + 'static))
[src]
fn visit_jsx_expr_container(
&mut self,
n: &JSXExprContainer,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &JSXExprContainer,
_parent: &(dyn Node + 'static)
)
fn visit_jsx_fragment(
&mut self,
n: &JSXFragment,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &JSXFragment,
_parent: &(dyn Node + 'static)
)
fn visit_jsx_member_expr(
&mut self,
n: &JSXMemberExpr,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &JSXMemberExpr,
_parent: &(dyn Node + 'static)
)
fn visit_jsx_namespaced_name(
&mut self,
n: &JSXNamespacedName,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &JSXNamespacedName,
_parent: &(dyn Node + 'static)
)
fn visit_jsx_object(&mut self, n: &JSXObject, _parent: &(dyn Node + 'static))
[src]
fn visit_jsx_opening_element(
&mut self,
n: &JSXOpeningElement,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &JSXOpeningElement,
_parent: &(dyn Node + 'static)
)
fn visit_jsx_opening_fragment(
&mut self,
n: &JSXOpeningFragment,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &JSXOpeningFragment,
_parent: &(dyn Node + 'static)
)
fn visit_jsx_spread_child(
&mut self,
n: &JSXSpreadChild,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &JSXSpreadChild,
_parent: &(dyn Node + 'static)
)
fn visit_jsx_text(&mut self, n: &JSXText, _parent: &(dyn Node + 'static))
[src]
fn visit_key_value_pat_prop(
&mut self,
n: &KeyValuePatProp,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &KeyValuePatProp,
_parent: &(dyn Node + 'static)
)
fn visit_key_value_prop(
&mut self,
n: &KeyValueProp,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &KeyValueProp,
_parent: &(dyn Node + 'static)
)
fn visit_labeled_stmt(
&mut self,
n: &LabeledStmt,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &LabeledStmt,
_parent: &(dyn Node + 'static)
)
fn visit_lit(&mut self, n: &Lit, _parent: &(dyn Node + 'static))
[src]
fn visit_meta_prop_expr(
&mut self,
n: &MetaPropExpr,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &MetaPropExpr,
_parent: &(dyn Node + 'static)
)
fn visit_method_kind(&mut self, n: &MethodKind, _parent: &(dyn Node + 'static))
[src]
fn visit_method_prop(&mut self, n: &MethodProp, _parent: &(dyn Node + 'static))
[src]
fn visit_module(&mut self, n: &Module, _parent: &(dyn Node + 'static))
[src]
fn visit_module_decl(&mut self, n: &ModuleDecl, _parent: &(dyn Node + 'static))
[src]
fn visit_module_item(&mut self, n: &ModuleItem, _parent: &(dyn Node + 'static))
[src]
fn visit_named_export(
&mut self,
n: &NamedExport,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &NamedExport,
_parent: &(dyn Node + 'static)
)
fn visit_new_expr(&mut self, n: &NewExpr, _parent: &(dyn Node + 'static))
[src]
fn visit_null(&mut self, n: &Null, _parent: &(dyn Node + 'static))
[src]
fn visit_number(&mut self, n: &Number, _parent: &(dyn Node + 'static))
[src]
fn visit_object_lit(&mut self, n: &ObjectLit, _parent: &(dyn Node + 'static))
[src]
fn visit_object_pat(&mut self, n: &ObjectPat, _parent: &(dyn Node + 'static))
[src]
fn visit_object_pat_prop(
&mut self,
n: &ObjectPatProp,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &ObjectPatProp,
_parent: &(dyn Node + 'static)
)
fn visit_opt_chain_expr(
&mut self,
n: &OptChainExpr,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &OptChainExpr,
_parent: &(dyn Node + 'static)
)
fn visit_param(&mut self, n: &Param, _parent: &(dyn Node + 'static))
[src]
fn visit_param_or_ts_param_prop(
&mut self,
n: &ParamOrTsParamProp,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &ParamOrTsParamProp,
_parent: &(dyn Node + 'static)
)
fn visit_paren_expr(&mut self, n: &ParenExpr, _parent: &(dyn Node + 'static))
[src]
fn visit_pat(&mut self, n: &Pat, _parent: &(dyn Node + 'static))
[src]
fn visit_pat_or_expr(&mut self, n: &PatOrExpr, _parent: &(dyn Node + 'static))
[src]
fn visit_private_method(
&mut self,
n: &PrivateMethod,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &PrivateMethod,
_parent: &(dyn Node + 'static)
)
fn visit_private_name(
&mut self,
n: &PrivateName,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &PrivateName,
_parent: &(dyn Node + 'static)
)
fn visit_private_prop(
&mut self,
n: &PrivateProp,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &PrivateProp,
_parent: &(dyn Node + 'static)
)
fn visit_program(&mut self, n: &Program, _parent: &(dyn Node + 'static))
[src]
fn visit_prop(&mut self, n: &Prop, _parent: &(dyn Node + 'static))
[src]
fn visit_prop_name(&mut self, n: &PropName, _parent: &(dyn Node + 'static))
[src]
fn visit_prop_or_spread(
&mut self,
n: &PropOrSpread,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &PropOrSpread,
_parent: &(dyn Node + 'static)
)
fn visit_regex(&mut self, n: &Regex, _parent: &(dyn Node + 'static))
[src]
fn visit_rest_pat(&mut self, n: &RestPat, _parent: &(dyn Node + 'static))
[src]
fn visit_return_stmt(&mut self, n: &ReturnStmt, _parent: &(dyn Node + 'static))
[src]
fn visit_script(&mut self, n: &Script, _parent: &(dyn Node + 'static))
[src]
fn visit_seq_expr(&mut self, n: &SeqExpr, _parent: &(dyn Node + 'static))
[src]
fn visit_setter_prop(&mut self, n: &SetterProp, _parent: &(dyn Node + 'static))
[src]
fn visit_spread_element(
&mut self,
n: &SpreadElement,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &SpreadElement,
_parent: &(dyn Node + 'static)
)
fn visit_stmt(&mut self, n: &Stmt, _parent: &(dyn Node + 'static))
[src]
fn visit_str(&mut self, n: &Str, _parent: &(dyn Node + 'static))
[src]
fn visit_super(&mut self, n: &Super, _parent: &(dyn Node + 'static))
[src]
fn visit_switch_case(&mut self, n: &SwitchCase, _parent: &(dyn Node + 'static))
[src]
fn visit_switch_stmt(&mut self, n: &SwitchStmt, _parent: &(dyn Node + 'static))
[src]
fn visit_tagged_tpl(&mut self, n: &TaggedTpl, _parent: &(dyn Node + 'static))
[src]
fn visit_this_expr(&mut self, n: &ThisExpr, _parent: &(dyn Node + 'static))
[src]
fn visit_throw_stmt(&mut self, n: &ThrowStmt, _parent: &(dyn Node + 'static))
[src]
fn visit_tpl(&mut self, n: &Tpl, _parent: &(dyn Node + 'static))
[src]
fn visit_tpl_element(&mut self, n: &TplElement, _parent: &(dyn Node + 'static))
[src]
fn visit_try_stmt(&mut self, n: &TryStmt, _parent: &(dyn Node + 'static))
[src]
fn visit_ts_as_expr(&mut self, n: &TsAsExpr, _parent: &(dyn Node + 'static))
[src]
fn visit_ts_const_assertion(
&mut self,
n: &TsConstAssertion,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &TsConstAssertion,
_parent: &(dyn Node + 'static)
)
fn visit_ts_export_assignment(
&mut self,
n: &TsExportAssignment,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &TsExportAssignment,
_parent: &(dyn Node + 'static)
)
fn visit_ts_expr_with_type_args(
&mut self,
n: &TsExprWithTypeArgs,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &TsExprWithTypeArgs,
_parent: &(dyn Node + 'static)
)
fn visit_ts_lit(&mut self, n: &TsLit, _parent: &(dyn Node + 'static))
[src]
fn visit_ts_lit_type(&mut self, n: &TsLitType, _parent: &(dyn Node + 'static))
[src]
fn visit_ts_non_null_expr(
&mut self,
n: &TsNonNullExpr,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &TsNonNullExpr,
_parent: &(dyn Node + 'static)
)
fn visit_ts_tpl_lit_type(
&mut self,
n: &TsTplLitType,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &TsTplLitType,
_parent: &(dyn Node + 'static)
)
fn visit_ts_tuple_element(
&mut self,
n: &TsTupleElement,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &TsTupleElement,
_parent: &(dyn Node + 'static)
)
fn visit_unary_expr(&mut self, n: &UnaryExpr, _parent: &(dyn Node + 'static))
[src]
fn visit_unary_op(&mut self, n: &UnaryOp, _parent: &(dyn Node + 'static))
[src]
fn visit_update_expr(&mut self, n: &UpdateExpr, _parent: &(dyn Node + 'static))
[src]
fn visit_update_op(&mut self, n: &UpdateOp, _parent: &(dyn Node + 'static))
[src]
fn visit_var_decl(&mut self, n: &VarDecl, _parent: &(dyn Node + 'static))
[src]
fn visit_var_decl_kind(
&mut self,
n: &VarDeclKind,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &VarDeclKind,
_parent: &(dyn Node + 'static)
)
fn visit_var_decl_or_expr(
&mut self,
n: &VarDeclOrExpr,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &VarDeclOrExpr,
_parent: &(dyn Node + 'static)
)
fn visit_var_decl_or_pat(
&mut self,
n: &VarDeclOrPat,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &VarDeclOrPat,
_parent: &(dyn Node + 'static)
)
fn visit_var_declarator(
&mut self,
n: &VarDeclarator,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &VarDeclarator,
_parent: &(dyn Node + 'static)
)
fn visit_while_stmt(&mut self, n: &WhileStmt, _parent: &(dyn Node + 'static))
[src]
fn visit_with_stmt(&mut self, n: &WithStmt, _parent: &(dyn Node + 'static))
[src]
fn visit_yield_expr(&mut self, n: &YieldExpr, _parent: &(dyn Node + 'static))
[src]
fn visit_span(&mut self, n: &Span, _parent: &(dyn Node + 'static))
[src]
fn visit_decorators(&mut self, n: &[Decorator], _parent: &(dyn Node + 'static))
[src]
fn visit_class_members(
&mut self,
n: &[ClassMember],
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &[ClassMember],
_parent: &(dyn Node + 'static)
)
fn visit_opt_expr(
&mut self,
n: Option<&Box<Expr, Global>>,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: Option<&Box<Expr, Global>>,
_parent: &(dyn Node + 'static)
)
fn visit_opt_ts_type_param_decl(
&mut self,
n: Option<&TsTypeParamDecl>,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: Option<&TsTypeParamDecl>,
_parent: &(dyn Node + 'static)
)
fn visit_opt_ts_type_param_instantiation(
&mut self,
n: Option<&TsTypeParamInstantiation>,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: Option<&TsTypeParamInstantiation>,
_parent: &(dyn Node + 'static)
)
fn visit_ts_expr_with_type_args_vec(
&mut self,
n: &[TsExprWithTypeArgs],
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &[TsExprWithTypeArgs],
_parent: &(dyn Node + 'static)
)
fn visit_opt_ts_type_ann(
&mut self,
n: Option<&TsTypeAnn>,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: Option<&TsTypeAnn>,
_parent: &(dyn Node + 'static)
)
fn visit_opt_accessibility(
&mut self,
n: Option<&Accessibility>,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: Option<&Accessibility>,
_parent: &(dyn Node + 'static)
)
fn visit_param_or_ts_param_props(
&mut self,
n: &[ParamOrTsParamProp],
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &[ParamOrTsParamProp],
_parent: &(dyn Node + 'static)
)
fn visit_opt_block_stmt(
&mut self,
n: Option<&BlockStmt>,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: Option<&BlockStmt>,
_parent: &(dyn Node + 'static)
)
fn visit_var_declarators(
&mut self,
n: &[VarDeclarator],
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &[VarDeclarator],
_parent: &(dyn Node + 'static)
)
fn visit_opt_vec_expr_or_spreads(
&mut self,
n: &[Option<ExprOrSpread>],
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &[Option<ExprOrSpread>],
_parent: &(dyn Node + 'static)
)
fn visit_prop_or_spreads(
&mut self,
n: &[PropOrSpread],
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &[PropOrSpread],
_parent: &(dyn Node + 'static)
)
fn visit_opt_ident(&mut self, n: Option<&Ident>, _parent: &(dyn Node + 'static))
[src]
fn visit_expr_or_spreads(
&mut self,
n: &[ExprOrSpread],
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &[ExprOrSpread],
_parent: &(dyn Node + 'static)
)
fn visit_opt_expr_or_spreads(
&mut self,
n: Option<&[ExprOrSpread]>,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: Option<&[ExprOrSpread]>,
_parent: &(dyn Node + 'static)
)
fn visit_exprs(
&mut self,
n: &[Box<Expr, Global>],
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &[Box<Expr, Global>],
_parent: &(dyn Node + 'static)
)
fn visit_pats(&mut self, n: &[Pat], _parent: &(dyn Node + 'static))
[src]
fn visit_tpl_elements(
&mut self,
n: &[TplElement],
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &[TplElement],
_parent: &(dyn Node + 'static)
)
fn visit_opt_str(&mut self, n: Option<&Str>, _parent: &(dyn Node + 'static))
[src]
fn visit_opt_span(&mut self, n: Option<&Span>, _parent: &(dyn Node + 'static))
[src]
fn visit_params(&mut self, n: &[Param], _parent: &(dyn Node + 'static))
[src]
fn visit_js_word(
&mut self,
n: &Atom<JsWordStaticSet>,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &Atom<JsWordStaticSet>,
_parent: &(dyn Node + 'static)
)
fn visit_jsx_attr_or_spreads(
&mut self,
n: &[JSXAttrOrSpread],
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &[JSXAttrOrSpread],
_parent: &(dyn Node + 'static)
)
fn visit_opt_jsx_attr_value(
&mut self,
n: Option<&JSXAttrValue>,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: Option<&JSXAttrValue>,
_parent: &(dyn Node + 'static)
)
fn visit_jsx_element_children(
&mut self,
n: &[JSXElementChild],
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &[JSXElementChild],
_parent: &(dyn Node + 'static)
)
fn visit_opt_jsx_closing_element(
&mut self,
n: Option<&JSXClosingElement>,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: Option<&JSXClosingElement>,
_parent: &(dyn Node + 'static)
)
fn visit_big_int_value(&mut self, n: &BigInt, _parent: &(dyn Node + 'static))
[src]
fn visit_module_items(
&mut self,
n: &[ModuleItem],
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &[ModuleItem],
_parent: &(dyn Node + 'static)
)
fn visit_opt_js_word(
&mut self,
n: Option<&Atom<JsWordStaticSet>>,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: Option<&Atom<JsWordStaticSet>>,
_parent: &(dyn Node + 'static)
)
fn visit_stmts(&mut self, n: &[Stmt], _parent: &(dyn Node + 'static))
[src]
fn visit_import_specifiers(
&mut self,
n: &[ImportSpecifier],
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &[ImportSpecifier],
_parent: &(dyn Node + 'static)
)
fn visit_opt_object_lit(
&mut self,
n: Option<&ObjectLit>,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: Option<&ObjectLit>,
_parent: &(dyn Node + 'static)
)
fn visit_export_specifiers(
&mut self,
n: &[ExportSpecifier],
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &[ExportSpecifier],
_parent: &(dyn Node + 'static)
)
fn visit_opt_vec_pats(
&mut self,
n: &[Option<Pat>],
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &[Option<Pat>],
_parent: &(dyn Node + 'static)
)
fn visit_object_pat_props(
&mut self,
n: &[ObjectPatProp],
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &[ObjectPatProp],
_parent: &(dyn Node + 'static)
)
fn visit_opt_stmt(
&mut self,
n: Option<&Box<Stmt, Global>>,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: Option<&Box<Stmt, Global>>,
_parent: &(dyn Node + 'static)
)
fn visit_switch_cases(
&mut self,
n: &[SwitchCase],
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &[SwitchCase],
_parent: &(dyn Node + 'static)
)
fn visit_opt_catch_clause(
&mut self,
n: Option<&CatchClause>,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: Option<&CatchClause>,
_parent: &(dyn Node + 'static)
)
fn visit_opt_var_decl_or_expr(
&mut self,
n: Option<&VarDeclOrExpr>,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: Option<&VarDeclOrExpr>,
_parent: &(dyn Node + 'static)
)
fn visit_opt_pat(&mut self, n: Option<&Pat>, _parent: &(dyn Node + 'static))
[src]
fn visit_ts_type_params(
&mut self,
n: &[TsTypeParam],
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &[TsTypeParam],
_parent: &(dyn Node + 'static)
)
fn visit_opt_ts_type(
&mut self,
n: Option<&Box<TsType, Global>>,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: Option<&Box<TsType, Global>>,
_parent: &(dyn Node + 'static)
)
fn visit_ts_types(
&mut self,
n: &[Box<TsType, Global>],
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &[Box<TsType, Global>],
_parent: &(dyn Node + 'static)
)
fn visit_ts_fn_params(
&mut self,
n: &[TsFnParam],
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &[TsFnParam],
_parent: &(dyn Node + 'static)
)
fn visit_opt_ts_entity_name(
&mut self,
n: Option<&TsEntityName>,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: Option<&TsEntityName>,
_parent: &(dyn Node + 'static)
)
fn visit_ts_type_elements(
&mut self,
n: &[TsTypeElement],
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &[TsTypeElement],
_parent: &(dyn Node + 'static)
)
fn visit_ts_tuple_elements(
&mut self,
n: &[TsTupleElement],
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &[TsTupleElement],
_parent: &(dyn Node + 'static)
)
fn visit_opt_true_plus_minus(
&mut self,
n: Option<&TruePlusMinus>,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: Option<&TruePlusMinus>,
_parent: &(dyn Node + 'static)
)
fn visit_ts_enum_members(
&mut self,
n: &[TsEnumMember],
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: &[TsEnumMember],
_parent: &(dyn Node + 'static)
)
fn visit_opt_ts_namespace_body(
&mut self,
n: Option<&TsNamespaceBody>,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: Option<&TsNamespaceBody>,
_parent: &(dyn Node + 'static)
)
fn visit_opt_expr_or_spread(
&mut self,
n: Option<&ExprOrSpread>,
_parent: &(dyn Node + 'static)
)
[src]
&mut self,
n: Option<&ExprOrSpread>,
_parent: &(dyn Node + 'static)
)
Auto Trait Implementations
impl<'a> RefUnwindSafe for UsageFinder<'a>
impl<'a> Send for UsageFinder<'a>
impl<'a> Sync for UsageFinder<'a>
impl<'a> Unpin for UsageFinder<'a>
impl<'a> UnwindSafe for UsageFinder<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Node for T where
T: Any + ?Sized,
[src]
T: Any + ?Sized,
impl<T> Send for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Sync for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,