Struct swc_ecma_transforms_base::pass::Optional [−]
pub struct Optional<V> {
pub enabled: bool,
pub visitor: V,
}
Expand description
A visitor which visits node only if enabled
is true.
Fields
enabled: bool
visitor: V
Implementations
Trait Implementations
pub fn fold_export_default_specifier(
&mut self,
n: ExportDefaultSpecifier
) -> ExportDefaultSpecifier
pub fn fold_export_named_specifier(
&mut self,
n: ExportNamedSpecifier
) -> ExportNamedSpecifier
pub fn fold_export_namespace_specifier(
&mut self,
n: ExportNamespaceSpecifier
) -> ExportNamespaceSpecifier
pub fn fold_export_specifiers(
&mut self,
n: Vec<ExportSpecifier, Global>
) -> Vec<ExportSpecifier, Global>
pub fn fold_expr_or_spreads(
&mut self,
n: Vec<ExprOrSpread, Global>
) -> Vec<ExprOrSpread, Global>
pub fn fold_import_default_specifier(
&mut self,
n: ImportDefaultSpecifier
) -> ImportDefaultSpecifier
pub fn fold_import_named_specifier(
&mut self,
n: ImportNamedSpecifier
) -> ImportNamedSpecifier
pub fn fold_import_specifiers(
&mut self,
n: Vec<ImportSpecifier, Global>
) -> Vec<ImportSpecifier, Global>
pub fn fold_import_star_as_specifier(
&mut self,
n: ImportStarAsSpecifier
) -> ImportStarAsSpecifier
pub fn fold_jsx_attr_or_spreads(
&mut self,
n: Vec<JSXAttrOrSpread, Global>
) -> Vec<JSXAttrOrSpread, Global>
pub fn fold_jsx_element_children(
&mut self,
n: Vec<JSXElementChild, Global>
) -> Vec<JSXElementChild, Global>
pub fn fold_object_pat_props(
&mut self,
n: Vec<ObjectPatProp, Global>
) -> Vec<ObjectPatProp, Global>
pub fn fold_opt_expr_or_spreads(
&mut self,
n: Option<Vec<ExprOrSpread, Global>>
) -> Option<Vec<ExprOrSpread, Global>>
pub fn fold_opt_js_word(
&mut self,
n: Option<Atom<JsWordStaticSet>>
) -> Option<Atom<JsWordStaticSet>>
pub fn fold_opt_jsx_closing_element(
&mut self,
n: Option<JSXClosingElement>
) -> Option<JSXClosingElement>
pub fn fold_opt_ts_namespace_body(
&mut self,
n: Option<TsNamespaceBody>
) -> Option<TsNamespaceBody>
pub fn fold_opt_ts_type_param_decl(
&mut self,
n: Option<TsTypeParamDecl>
) -> Option<TsTypeParamDecl>
pub fn fold_opt_ts_type_param_instantiation(
&mut self,
n: Option<TsTypeParamInstantiation>
) -> Option<TsTypeParamInstantiation>
pub fn fold_opt_var_decl_or_expr(
&mut self,
n: Option<VarDeclOrExpr>
) -> Option<VarDeclOrExpr>
pub fn fold_opt_vec_expr_or_spreads(
&mut self,
n: Vec<Option<ExprOrSpread>, Global>
) -> Vec<Option<ExprOrSpread>, Global>
pub fn fold_param_or_ts_param_props(
&mut self,
n: Vec<ParamOrTsParamProp, Global>
) -> Vec<ParamOrTsParamProp, Global>
pub fn fold_prop_or_spreads(
&mut self,
n: Vec<PropOrSpread, Global>
) -> Vec<PropOrSpread, Global>
pub fn fold_ts_construct_signature_decl(
&mut self,
n: TsConstructSignatureDecl
) -> TsConstructSignatureDecl
pub fn fold_ts_enum_members(
&mut self,
n: Vec<TsEnumMember, Global>
) -> Vec<TsEnumMember, Global>
pub fn fold_ts_expr_with_type_args_vec(
&mut self,
n: Vec<TsExprWithTypeArgs, Global>
) -> Vec<TsExprWithTypeArgs, Global>
pub fn fold_ts_fn_or_constructor_type(
&mut self,
n: TsFnOrConstructorType
) -> TsFnOrConstructorType
pub fn fold_ts_namespace_export_decl(
&mut self,
n: TsNamespaceExportDecl
) -> TsNamespaceExportDecl
pub fn fold_ts_tuple_elements(
&mut self,
n: Vec<TsTupleElement, Global>
) -> Vec<TsTupleElement, Global>
pub fn fold_ts_type_elements(
&mut self,
n: Vec<TsTypeElement, Global>
) -> Vec<TsTypeElement, Global>
pub fn fold_ts_type_param_instantiation(
&mut self,
n: TsTypeParamInstantiation
) -> TsTypeParamInstantiation
pub fn fold_ts_type_params(
&mut self,
n: Vec<TsTypeParam, Global>
) -> Vec<TsTypeParam, Global>
pub fn fold_ts_types(
&mut self,
n: Vec<Box<TsType, Global>, Global>
) -> Vec<Box<TsType, Global>, Global>
pub fn fold_ts_union_or_intersection_type(
&mut self,
n: TsUnionOrIntersectionType
) -> TsUnionOrIntersectionType
pub fn fold_var_declarators(
&mut self,
n: Vec<VarDeclarator, Global>
) -> Vec<VarDeclarator, Global>
pub fn visit_block_stmt_or_expr(
&mut self,
n: &BlockStmtOrExpr,
_parent: &(dyn Node + 'static)
)
pub fn visit_computed_prop_name(
&mut self,
n: &ComputedPropName,
_parent: &(dyn Node + 'static)
)
pub fn visit_export_default_decl(
&mut self,
n: &ExportDefaultDecl,
_parent: &(dyn Node + 'static)
)
pub fn visit_export_default_expr(
&mut self,
n: &ExportDefaultExpr,
_parent: &(dyn Node + 'static)
)
pub fn visit_export_default_specifier(
&mut self,
n: &ExportDefaultSpecifier,
_parent: &(dyn Node + 'static)
)
pub fn visit_export_named_specifier(
&mut self,
n: &ExportNamedSpecifier,
_parent: &(dyn Node + 'static)
)
pub fn visit_export_namespace_specifier(
&mut self,
n: &ExportNamespaceSpecifier,
_parent: &(dyn Node + 'static)
)
pub fn visit_export_specifiers(
&mut self,
n: &[ExportSpecifier],
_parent: &(dyn Node + 'static)
)
pub fn visit_import_default_specifier(
&mut self,
n: &ImportDefaultSpecifier,
_parent: &(dyn Node + 'static)
)
pub fn visit_import_named_specifier(
&mut self,
n: &ImportNamedSpecifier,
_parent: &(dyn Node + 'static)
)
pub fn visit_import_specifiers(
&mut self,
n: &[ImportSpecifier],
_parent: &(dyn Node + 'static)
)
pub fn visit_import_star_as_specifier(
&mut self,
n: &ImportStarAsSpecifier,
_parent: &(dyn Node + 'static)
)
pub fn visit_jsx_attr_or_spread(
&mut self,
n: &JSXAttrOrSpread,
_parent: &(dyn Node + 'static)
)
pub fn visit_jsx_attr_or_spreads(
&mut self,
n: &[JSXAttrOrSpread],
_parent: &(dyn Node + 'static)
)
pub fn visit_jsx_closing_element(
&mut self,
n: &JSXClosingElement,
_parent: &(dyn Node + 'static)
)
pub fn visit_jsx_closing_fragment(
&mut self,
n: &JSXClosingFragment,
_parent: &(dyn Node + 'static)
)
pub fn visit_jsx_element_child(
&mut self,
n: &JSXElementChild,
_parent: &(dyn Node + 'static)
)
pub fn visit_jsx_element_children(
&mut self,
n: &[JSXElementChild],
_parent: &(dyn Node + 'static)
)
pub fn visit_jsx_expr_container(
&mut self,
n: &JSXExprContainer,
_parent: &(dyn Node + 'static)
)
pub fn visit_jsx_namespaced_name(
&mut self,
n: &JSXNamespacedName,
_parent: &(dyn Node + 'static)
)
pub fn visit_jsx_opening_element(
&mut self,
n: &JSXOpeningElement,
_parent: &(dyn Node + 'static)
)
pub fn visit_jsx_opening_fragment(
&mut self,
n: &JSXOpeningFragment,
_parent: &(dyn Node + 'static)
)
pub fn visit_key_value_pat_prop(
&mut self,
n: &KeyValuePatProp,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_accessibility(
&mut self,
n: Option<&Accessibility>,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_catch_clause(
&mut self,
n: Option<&CatchClause>,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_expr_or_spread(
&mut self,
n: Option<&ExprOrSpread>,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_expr_or_spreads(
&mut self,
n: Option<&[ExprOrSpread]>,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_js_word(
&mut self,
n: Option<&Atom<JsWordStaticSet>>,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_jsx_attr_value(
&mut self,
n: Option<&JSXAttrValue>,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_jsx_closing_element(
&mut self,
n: Option<&JSXClosingElement>,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_true_plus_minus(
&mut self,
n: Option<&TruePlusMinus>,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_ts_entity_name(
&mut self,
n: Option<&TsEntityName>,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_ts_namespace_body(
&mut self,
n: Option<&TsNamespaceBody>,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_ts_type(
&mut self,
n: Option<&Box<TsType, Global>>,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_ts_type_ann(
&mut self,
n: Option<&TsTypeAnn>,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_ts_type_param_decl(
&mut self,
n: Option<&TsTypeParamDecl>,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_ts_type_param_instantiation(
&mut self,
n: Option<&TsTypeParamInstantiation>,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_var_decl_or_expr(
&mut self,
n: Option<&VarDeclOrExpr>,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_vec_expr_or_spreads(
&mut self,
n: &[Option<ExprOrSpread>],
_parent: &(dyn Node + 'static)
)
pub fn visit_param_or_ts_param_prop(
&mut self,
n: &ParamOrTsParamProp,
_parent: &(dyn Node + 'static)
)
pub fn visit_param_or_ts_param_props(
&mut self,
n: &[ParamOrTsParamProp],
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_call_signature_decl(
&mut self,
n: &TsCallSignatureDecl,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_conditional_type(
&mut self,
n: &TsConditionalType,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_const_assertion(
&mut self,
n: &TsConstAssertion,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_construct_signature_decl(
&mut self,
n: &TsConstructSignatureDecl,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_constructor_type(
&mut self,
n: &TsConstructorType,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_export_assignment(
&mut self,
n: &TsExportAssignment,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_expr_with_type_args(
&mut self,
n: &TsExprWithTypeArgs,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_expr_with_type_args_vec(
&mut self,
n: &[TsExprWithTypeArgs],
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_external_module_ref(
&mut self,
n: &TsExternalModuleRef,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_fn_or_constructor_type(
&mut self,
n: &TsFnOrConstructorType,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_getter_signature(
&mut self,
n: &TsGetterSignature,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_import_equals_decl(
&mut self,
n: &TsImportEqualsDecl,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_index_signature(
&mut self,
n: &TsIndexSignature,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_indexed_access_type(
&mut self,
n: &TsIndexedAccessType,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_interface_body(
&mut self,
n: &TsInterfaceBody,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_interface_decl(
&mut self,
n: &TsInterfaceDecl,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_intersection_type(
&mut self,
n: &TsIntersectionType,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_keyword_type_kind(
&mut self,
n: &TsKeywordTypeKind,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_method_signature(
&mut self,
n: &TsMethodSignature,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_namespace_body(
&mut self,
n: &TsNamespaceBody,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_namespace_decl(
&mut self,
n: &TsNamespaceDecl,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_namespace_export_decl(
&mut self,
n: &TsNamespaceExportDecl,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_param_prop_param(
&mut self,
n: &TsParamPropParam,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_parenthesized_type(
&mut self,
n: &TsParenthesizedType,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_property_signature(
&mut self,
n: &TsPropertySignature,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_qualified_name(
&mut self,
n: &TsQualifiedName,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_setter_signature(
&mut self,
n: &TsSetterSignature,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_this_type_or_ident(
&mut self,
n: &TsThisTypeOrIdent,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_tuple_elements(
&mut self,
n: &[TsTupleElement],
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_type_alias_decl(
&mut self,
n: &TsTypeAliasDecl,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_type_assertion(
&mut self,
n: &TsTypeAssertion,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_type_operator_op(
&mut self,
n: &TsTypeOperatorOp,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_type_param_decl(
&mut self,
n: &TsTypeParamDecl,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_type_param_instantiation(
&mut self,
n: &TsTypeParamInstantiation,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_type_predicate(
&mut self,
n: &TsTypePredicate,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_type_query_expr(
&mut self,
n: &TsTypeQueryExpr,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_union_or_intersection_type(
&mut self,
n: &TsUnionOrIntersectionType,
_parent: &(dyn Node + 'static)
)
pub fn visit_block_stmt_or_expr(
&mut self,
n: &BlockStmtOrExpr,
_parent: &(dyn Node + 'static)
)
pub fn visit_computed_prop_name(
&mut self,
n: &ComputedPropName,
_parent: &(dyn Node + 'static)
)
pub fn visit_export_default_decl(
&mut self,
n: &ExportDefaultDecl,
_parent: &(dyn Node + 'static)
)
pub fn visit_export_default_expr(
&mut self,
n: &ExportDefaultExpr,
_parent: &(dyn Node + 'static)
)
pub fn visit_export_default_specifier(
&mut self,
n: &ExportDefaultSpecifier,
_parent: &(dyn Node + 'static)
)
pub fn visit_export_named_specifier(
&mut self,
n: &ExportNamedSpecifier,
_parent: &(dyn Node + 'static)
)
pub fn visit_export_namespace_specifier(
&mut self,
n: &ExportNamespaceSpecifier,
_parent: &(dyn Node + 'static)
)
pub fn visit_export_specifiers(
&mut self,
n: &[ExportSpecifier],
_parent: &(dyn Node + 'static)
)
pub fn visit_import_default_specifier(
&mut self,
n: &ImportDefaultSpecifier,
_parent: &(dyn Node + 'static)
)
pub fn visit_import_named_specifier(
&mut self,
n: &ImportNamedSpecifier,
_parent: &(dyn Node + 'static)
)
pub fn visit_import_specifiers(
&mut self,
n: &[ImportSpecifier],
_parent: &(dyn Node + 'static)
)
pub fn visit_import_star_as_specifier(
&mut self,
n: &ImportStarAsSpecifier,
_parent: &(dyn Node + 'static)
)
pub fn visit_jsx_attr_or_spread(
&mut self,
n: &JSXAttrOrSpread,
_parent: &(dyn Node + 'static)
)
pub fn visit_jsx_attr_or_spreads(
&mut self,
n: &[JSXAttrOrSpread],
_parent: &(dyn Node + 'static)
)
pub fn visit_jsx_closing_element(
&mut self,
n: &JSXClosingElement,
_parent: &(dyn Node + 'static)
)
pub fn visit_jsx_closing_fragment(
&mut self,
n: &JSXClosingFragment,
_parent: &(dyn Node + 'static)
)
pub fn visit_jsx_element_child(
&mut self,
n: &JSXElementChild,
_parent: &(dyn Node + 'static)
)
pub fn visit_jsx_element_children(
&mut self,
n: &[JSXElementChild],
_parent: &(dyn Node + 'static)
)
pub fn visit_jsx_expr_container(
&mut self,
n: &JSXExprContainer,
_parent: &(dyn Node + 'static)
)
pub fn visit_jsx_namespaced_name(
&mut self,
n: &JSXNamespacedName,
_parent: &(dyn Node + 'static)
)
pub fn visit_jsx_opening_element(
&mut self,
n: &JSXOpeningElement,
_parent: &(dyn Node + 'static)
)
pub fn visit_jsx_opening_fragment(
&mut self,
n: &JSXOpeningFragment,
_parent: &(dyn Node + 'static)
)
pub fn visit_key_value_pat_prop(
&mut self,
n: &KeyValuePatProp,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_accessibility(
&mut self,
n: Option<&Accessibility>,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_catch_clause(
&mut self,
n: Option<&CatchClause>,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_expr_or_spread(
&mut self,
n: Option<&ExprOrSpread>,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_expr_or_spreads(
&mut self,
n: Option<&[ExprOrSpread]>,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_js_word(
&mut self,
n: Option<&Atom<JsWordStaticSet>>,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_jsx_attr_value(
&mut self,
n: Option<&JSXAttrValue>,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_jsx_closing_element(
&mut self,
n: Option<&JSXClosingElement>,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_true_plus_minus(
&mut self,
n: Option<&TruePlusMinus>,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_ts_entity_name(
&mut self,
n: Option<&TsEntityName>,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_ts_namespace_body(
&mut self,
n: Option<&TsNamespaceBody>,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_ts_type(
&mut self,
n: Option<&Box<TsType, Global>>,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_ts_type_ann(
&mut self,
n: Option<&TsTypeAnn>,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_ts_type_param_decl(
&mut self,
n: Option<&TsTypeParamDecl>,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_ts_type_param_instantiation(
&mut self,
n: Option<&TsTypeParamInstantiation>,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_var_decl_or_expr(
&mut self,
n: Option<&VarDeclOrExpr>,
_parent: &(dyn Node + 'static)
)
pub fn visit_opt_vec_expr_or_spreads(
&mut self,
n: &[Option<ExprOrSpread>],
_parent: &(dyn Node + 'static)
)
pub fn visit_param_or_ts_param_prop(
&mut self,
n: &ParamOrTsParamProp,
_parent: &(dyn Node + 'static)
)
pub fn visit_param_or_ts_param_props(
&mut self,
n: &[ParamOrTsParamProp],
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_call_signature_decl(
&mut self,
n: &TsCallSignatureDecl,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_conditional_type(
&mut self,
n: &TsConditionalType,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_const_assertion(
&mut self,
n: &TsConstAssertion,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_construct_signature_decl(
&mut self,
n: &TsConstructSignatureDecl,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_constructor_type(
&mut self,
n: &TsConstructorType,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_export_assignment(
&mut self,
n: &TsExportAssignment,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_expr_with_type_args(
&mut self,
n: &TsExprWithTypeArgs,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_expr_with_type_args_vec(
&mut self,
n: &[TsExprWithTypeArgs],
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_external_module_ref(
&mut self,
n: &TsExternalModuleRef,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_fn_or_constructor_type(
&mut self,
n: &TsFnOrConstructorType,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_getter_signature(
&mut self,
n: &TsGetterSignature,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_import_equals_decl(
&mut self,
n: &TsImportEqualsDecl,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_index_signature(
&mut self,
n: &TsIndexSignature,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_indexed_access_type(
&mut self,
n: &TsIndexedAccessType,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_interface_body(
&mut self,
n: &TsInterfaceBody,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_interface_decl(
&mut self,
n: &TsInterfaceDecl,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_intersection_type(
&mut self,
n: &TsIntersectionType,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_keyword_type_kind(
&mut self,
n: &TsKeywordTypeKind,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_method_signature(
&mut self,
n: &TsMethodSignature,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_namespace_body(
&mut self,
n: &TsNamespaceBody,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_namespace_decl(
&mut self,
n: &TsNamespaceDecl,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_namespace_export_decl(
&mut self,
n: &TsNamespaceExportDecl,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_param_prop_param(
&mut self,
n: &TsParamPropParam,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_parenthesized_type(
&mut self,
n: &TsParenthesizedType,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_property_signature(
&mut self,
n: &TsPropertySignature,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_qualified_name(
&mut self,
n: &TsQualifiedName,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_setter_signature(
&mut self,
n: &TsSetterSignature,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_this_type_or_ident(
&mut self,
n: &TsThisTypeOrIdent,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_tuple_elements(
&mut self,
n: &[TsTupleElement],
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_type_alias_decl(
&mut self,
n: &TsTypeAliasDecl,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_type_assertion(
&mut self,
n: &TsTypeAssertion,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_type_operator_op(
&mut self,
n: &TsTypeOperatorOp,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_type_param_decl(
&mut self,
n: &TsTypeParamDecl,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_type_param_instantiation(
&mut self,
n: &TsTypeParamInstantiation,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_type_predicate(
&mut self,
n: &TsTypePredicate,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_type_query_expr(
&mut self,
n: &TsTypeQueryExpr,
_parent: &(dyn Node + 'static)
)
pub fn visit_ts_union_or_intersection_type(
&mut self,
n: &TsUnionOrIntersectionType,
_parent: &(dyn Node + 'static)
)
pub fn visit_mut_opt_ts_type_param_instantiation(
&mut self,
n: &mut Option<TsTypeParamInstantiation>
)
pub fn visit_mut_opt_vec_expr_or_spreads(
&mut self,
n: &mut Vec<Option<ExprOrSpread>, Global>
)
pub fn visit_mut_ts_expr_with_type_args_vec(
&mut self,
n: &mut Vec<TsExprWithTypeArgs, Global>
)
impl<V> StructuralEq for Optional<V>
impl<V> StructuralPartialEq for Optional<V>
Auto Trait Implementations
impl<V> RefUnwindSafe for Optional<V> where
V: RefUnwindSafe,
impl<V> UnwindSafe for Optional<V> where
V: UnwindSafe,
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