Struct swc_ecma_utils::DestructuringFinder [−][src]
Expand description
Finds all binding idents of variables.
Fields
found: &'a mut Vec<I>
Trait Implementations
No-op (we don’t care about expressions)
No-op (we don’t care about expressions)
fn visit_ts_union_or_intersection_type(
&mut self,
_: &TsUnionOrIntersectionType,
_: &dyn Node
)
[src]fn visit_export_default_decl(
&mut self,
n: &ExportDefaultDecl,
_parent: &(dyn Node + 'static)
)
[src]fn visit_export_default_expr(
&mut self,
n: &ExportDefaultExpr,
_parent: &(dyn Node + 'static)
)
[src]fn visit_export_default_specifier(
&mut self,
n: &ExportDefaultSpecifier,
_parent: &(dyn Node + 'static)
)
[src]fn visit_export_named_specifier(
&mut self,
n: &ExportNamedSpecifier,
_parent: &(dyn Node + 'static)
)
[src]fn visit_export_namespace_specifier(
&mut self,
n: &ExportNamespaceSpecifier,
_parent: &(dyn Node + 'static)
)
[src]fn visit_import_default_specifier(
&mut self,
n: &ImportDefaultSpecifier,
_parent: &(dyn Node + 'static)
)
[src]fn visit_import_named_specifier(
&mut self,
n: &ImportNamedSpecifier,
_parent: &(dyn Node + 'static)
)
[src]fn visit_import_star_as_specifier(
&mut self,
n: &ImportStarAsSpecifier,
_parent: &(dyn Node + 'static)
)
[src]fn visit_jsx_attr_or_spreads(
&mut self,
n: &[JSXAttrOrSpread],
_parent: &(dyn Node + 'static)
)
[src]fn visit_jsx_closing_element(
&mut self,
n: &JSXClosingElement,
_parent: &(dyn Node + 'static)
)
[src]fn visit_jsx_closing_fragment(
&mut self,
n: &JSXClosingFragment,
_parent: &(dyn Node + 'static)
)
[src]fn visit_jsx_element_children(
&mut self,
n: &[JSXElementChild],
_parent: &(dyn Node + 'static)
)
[src]fn visit_jsx_namespaced_name(
&mut self,
n: &JSXNamespacedName,
_parent: &(dyn Node + 'static)
)
[src]fn visit_jsx_opening_element(
&mut self,
n: &JSXOpeningElement,
_parent: &(dyn Node + 'static)
)
[src]fn visit_jsx_opening_fragment(
&mut self,
n: &JSXOpeningFragment,
_parent: &(dyn Node + 'static)
)
[src]fn visit_opt_accessibility(
&mut self,
n: Option<&Accessibility>,
_parent: &(dyn Node + 'static)
)
[src]fn visit_opt_expr_or_spread(
&mut self,
n: Option<&ExprOrSpread>,
_parent: &(dyn Node + 'static)
)
[src]fn visit_opt_expr_or_spreads(
&mut self,
n: Option<&[ExprOrSpread]>,
_parent: &(dyn Node + 'static)
)
[src]fn visit_opt_js_word(
&mut self,
n: Option<&Atom<JsWordStaticSet>>,
_parent: &(dyn Node + 'static)
)
[src]fn visit_opt_jsx_attr_value(
&mut self,
n: Option<&JSXAttrValue>,
_parent: &(dyn Node + 'static)
)
[src]fn visit_opt_jsx_closing_element(
&mut self,
n: Option<&JSXClosingElement>,
_parent: &(dyn Node + 'static)
)
[src]fn visit_opt_true_plus_minus(
&mut self,
n: Option<&TruePlusMinus>,
_parent: &(dyn Node + 'static)
)
[src]fn visit_opt_ts_entity_name(
&mut self,
n: Option<&TsEntityName>,
_parent: &(dyn Node + 'static)
)
[src]fn visit_opt_ts_namespace_body(
&mut self,
n: Option<&TsNamespaceBody>,
_parent: &(dyn Node + 'static)
)
[src]fn visit_opt_ts_type(
&mut self,
n: Option<&Box<TsType, Global>>,
_parent: &(dyn Node + 'static)
)
[src]fn visit_opt_ts_type_param_decl(
&mut self,
n: Option<&TsTypeParamDecl>,
_parent: &(dyn Node + 'static)
)
[src]fn visit_opt_ts_type_param_instantiation(
&mut self,
n: Option<&TsTypeParamInstantiation>,
_parent: &(dyn Node + 'static)
)
[src]fn visit_opt_var_decl_or_expr(
&mut self,
n: Option<&VarDeclOrExpr>,
_parent: &(dyn Node + 'static)
)
[src]fn visit_opt_vec_expr_or_spreads(
&mut self,
n: &[Option<ExprOrSpread>],
_parent: &(dyn Node + 'static)
)
[src]fn visit_param_or_ts_param_prop(
&mut self,
n: &ParamOrTsParamProp,
_parent: &(dyn Node + 'static)
)
[src]fn visit_param_or_ts_param_props(
&mut self,
n: &[ParamOrTsParamProp],
_parent: &(dyn Node + 'static)
)
[src]fn visit_ts_export_assignment(
&mut self,
n: &TsExportAssignment,
_parent: &(dyn Node + 'static)
)
[src]fn visit_ts_expr_with_type_args(
&mut self,
n: &TsExprWithTypeArgs,
_parent: &(dyn Node + 'static)
)
[src]fn visit_ts_expr_with_type_args_vec(
&mut self,
n: &[TsExprWithTypeArgs],
_parent: &(dyn Node + 'static)
)
[src]fn visit_ts_getter_signature(
&mut self,
n: &TsGetterSignature,
_parent: &(dyn Node + 'static)
)
[src]fn visit_ts_setter_signature(
&mut self,
n: &TsSetterSignature,
_parent: &(dyn Node + 'static)
)
[src]Auto Trait Implementations
impl<'a, I> RefUnwindSafe for DestructuringFinder<'a, I> where
I: RefUnwindSafe,
impl<'a, I> Send for DestructuringFinder<'a, I> where
I: Send,
impl<'a, I> Sync for DestructuringFinder<'a, I> where
I: Sync,
impl<'a, I> Unpin for DestructuringFinder<'a, I>
impl<'a, I> !UnwindSafe for DestructuringFinder<'a, I>