Struct swc_ecma_utils::var::VarCollector [−][src]
Expand description
This collects variables bindings while ignoring if it’s nested in expression.
Fields
to: &'a mut Vec<Id>
Trait Implementations
fn visit_ts_union_or_intersection_type(
&mut self,
_: &TsUnionOrIntersectionType,
_: &dyn Node
)
fn visit_export_default_decl(
&mut self,
n: &ExportDefaultDecl,
_parent: &(dyn Node + 'static)
)
fn visit_export_default_expr(
&mut self,
n: &ExportDefaultExpr,
_parent: &(dyn Node + 'static)
)
fn visit_export_default_specifier(
&mut self,
n: &ExportDefaultSpecifier,
_parent: &(dyn Node + 'static)
)
fn visit_export_named_specifier(
&mut self,
n: &ExportNamedSpecifier,
_parent: &(dyn Node + 'static)
)
fn visit_export_namespace_specifier(
&mut self,
n: &ExportNamespaceSpecifier,
_parent: &(dyn Node + 'static)
)
fn visit_import_default_specifier(
&mut self,
n: &ImportDefaultSpecifier,
_parent: &(dyn Node + 'static)
)
fn visit_import_named_specifier(
&mut self,
n: &ImportNamedSpecifier,
_parent: &(dyn Node + 'static)
)
fn visit_import_star_as_specifier(
&mut self,
n: &ImportStarAsSpecifier,
_parent: &(dyn Node + 'static)
)
fn visit_jsx_attr_or_spreads(
&mut self,
n: &[JSXAttrOrSpread],
_parent: &(dyn Node + 'static)
)
fn visit_jsx_closing_element(
&mut self,
n: &JSXClosingElement,
_parent: &(dyn Node + 'static)
)
fn visit_jsx_closing_fragment(
&mut self,
n: &JSXClosingFragment,
_parent: &(dyn Node + 'static)
)
fn visit_jsx_element_children(
&mut self,
n: &[JSXElementChild],
_parent: &(dyn Node + 'static)
)
fn visit_jsx_namespaced_name(
&mut self,
n: &JSXNamespacedName,
_parent: &(dyn Node + 'static)
)
fn visit_jsx_opening_element(
&mut self,
n: &JSXOpeningElement,
_parent: &(dyn Node + 'static)
)
fn visit_jsx_opening_fragment(
&mut self,
n: &JSXOpeningFragment,
_parent: &(dyn Node + 'static)
)
fn visit_opt_accessibility(
&mut self,
n: Option<&Accessibility>,
_parent: &(dyn Node + 'static)
)
fn visit_opt_expr_or_spread(
&mut self,
n: Option<&ExprOrSpread>,
_parent: &(dyn Node + 'static)
)
fn visit_opt_expr_or_spreads(
&mut self,
n: Option<&[ExprOrSpread]>,
_parent: &(dyn Node + 'static)
)
fn visit_opt_js_word(
&mut self,
n: Option<&Atom<JsWordStaticSet>>,
_parent: &(dyn Node + 'static)
)
fn visit_opt_jsx_attr_value(
&mut self,
n: Option<&JSXAttrValue>,
_parent: &(dyn Node + 'static)
)
fn visit_opt_jsx_closing_element(
&mut self,
n: Option<&JSXClosingElement>,
_parent: &(dyn Node + 'static)
)
fn visit_opt_true_plus_minus(
&mut self,
n: Option<&TruePlusMinus>,
_parent: &(dyn Node + 'static)
)
fn visit_opt_ts_entity_name(
&mut self,
n: Option<&TsEntityName>,
_parent: &(dyn Node + 'static)
)
fn visit_opt_ts_namespace_body(
&mut self,
n: Option<&TsNamespaceBody>,
_parent: &(dyn Node + 'static)
)
fn visit_opt_ts_type_param_decl(
&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)
)
fn visit_opt_var_decl_or_expr(
&mut self,
n: Option<&VarDeclOrExpr>,
_parent: &(dyn Node + 'static)
)
fn visit_opt_vec_expr_or_spreads(
&mut self,
n: &[Option<ExprOrSpread>],
_parent: &(dyn Node + 'static)
)
fn visit_param_or_ts_param_prop(
&mut self,
n: &ParamOrTsParamProp,
_parent: &(dyn Node + 'static)
)
fn visit_param_or_ts_param_props(
&mut self,
n: &[ParamOrTsParamProp],
_parent: &(dyn Node + 'static)
)
fn visit_ts_export_assignment(
&mut self,
n: &TsExportAssignment,
_parent: &(dyn Node + 'static)
)
fn visit_ts_expr_with_type_args(
&mut self,
n: &TsExprWithTypeArgs,
_parent: &(dyn Node + 'static)
)
fn visit_ts_expr_with_type_args_vec(
&mut self,
n: &[TsExprWithTypeArgs],
_parent: &(dyn Node + 'static)
)
fn visit_ts_getter_signature(
&mut self,
n: &TsGetterSignature,
_parent: &(dyn Node + 'static)
)
fn visit_ts_setter_signature(
&mut self,
n: &TsSetterSignature,
_parent: &(dyn Node + 'static)
)
Auto Trait Implementations
impl<'a> RefUnwindSafe for VarCollector<'a>
impl<'a> Send for VarCollector<'a>
impl<'a> Sync for VarCollector<'a>
impl<'a> Unpin for VarCollector<'a>
impl<'a> !UnwindSafe for VarCollector<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more