From dd7db943742bb1029d00b1969030dd07b7c95a74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Sun, 21 Jul 2024 04:17:02 +0900 Subject: [PATCH] GEN --- crates/swc_css_visit/src/generated.rs | 2428 ++++++++++++++++++++ crates/swc_ecma_visit/src/generated.rs | 2876 ++++++++++++++++++++++++ crates/swc_html_visit/src/generated.rs | 307 +++ crates/swc_xml_visit/src/generated.rs | 265 +++ 4 files changed, 5876 insertions(+) diff --git a/crates/swc_css_visit/src/generated.rs b/crates/swc_css_visit/src/generated.rs index ff0e25efb69f..725804165630 100644 --- a/crates/swc_css_visit/src/generated.rs +++ b/crates/swc_css_visit/src/generated.rs @@ -8,392 +8,458 @@ pub trait Visit { #[doc = "Visit a node of type `AbsoluteColorBase`.\n\nBy default, this method calls \ [`AbsoluteColorBase::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_absolute_color_base(&mut self, node: &AbsoluteColorBase) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `AlphaValue`.\n\nBy default, this method calls \ [`AlphaValue::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_alpha_value(&mut self, node: &AlphaValue) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `AnPlusB`.\n\nBy default, this method calls \ [`AnPlusB::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_an_plus_b(&mut self, node: &AnPlusB) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `AnPlusBNotation`.\n\nBy default, this method calls \ [`AnPlusBNotation::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_an_plus_b_notation(&mut self, node: &AnPlusBNotation) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Angle`.\n\nBy default, this method calls \ [`Angle::visit_children_with`]. If you want to recurse, you need to call it manually."] + #[inline] fn visit_angle(&mut self, node: &Angle) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `AnglePercentage`.\n\nBy default, this method calls \ [`AnglePercentage::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_angle_percentage(&mut self, node: &AnglePercentage) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `AnyNamespace`.\n\nBy default, this method calls \ [`AnyNamespace::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_any_namespace(&mut self, node: &AnyNamespace) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `AtRule`.\n\nBy default, this method calls \ [`AtRule::visit_children_with`]. If you want to recurse, you need to call it manually."] + #[inline] fn visit_at_rule(&mut self, node: &AtRule) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `AtRuleName`.\n\nBy default, this method calls \ [`AtRuleName::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_at_rule_name(&mut self, node: &AtRuleName) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `AtRulePrelude`.\n\nBy default, this method calls \ [`AtRulePrelude::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_at_rule_prelude(&mut self, node: &AtRulePrelude) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `swc_atoms :: Atom`.\n\nBy default, this method calls \ [`swc_atoms :: Atom::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_atom(&mut self, node: &swc_atoms::Atom) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `AttributeSelector`.\n\nBy default, this method calls \ [`AttributeSelector::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_attribute_selector(&mut self, node: &AttributeSelector) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `AttributeSelectorMatcher`.\n\nBy default, this method calls \ [`AttributeSelectorMatcher::visit_children_with`]. If you want to recurse, you need \ to call it manually."] + #[inline] fn visit_attribute_selector_matcher(&mut self, node: &AttributeSelectorMatcher) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `AttributeSelectorMatcherValue`.\n\nBy default, this method \ calls [`AttributeSelectorMatcherValue::visit_children_with`]. If you want to recurse, \ you need to call it manually."] + #[inline] fn visit_attribute_selector_matcher_value(&mut self, node: &AttributeSelectorMatcherValue) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `AttributeSelectorModifier`.\n\nBy default, this method calls \ [`AttributeSelectorModifier::visit_children_with`]. If you want to recurse, you need \ to call it manually."] + #[inline] fn visit_attribute_selector_modifier(&mut self, node: &AttributeSelectorModifier) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `AttributeSelectorValue`.\n\nBy default, this method calls \ [`AttributeSelectorValue::visit_children_with`]. If you want to recurse, you need to \ call it manually."] + #[inline] fn visit_attribute_selector_value(&mut self, node: &AttributeSelectorValue) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `BinOp`.\n\nBy default, this method calls \ [`BinOp::visit_children_with`]. If you want to recurse, you need to call it manually."] + #[inline] fn visit_bin_op(&mut self, node: &BinOp) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `CalcOperator`.\n\nBy default, this method calls \ [`CalcOperator::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_calc_operator(&mut self, node: &CalcOperator) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `CalcOperatorType`.\n\nBy default, this method calls \ [`CalcOperatorType::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_calc_operator_type(&mut self, node: &CalcOperatorType) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `CalcProduct`.\n\nBy default, this method calls \ [`CalcProduct::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_calc_product(&mut self, node: &CalcProduct) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `CalcProductOrOperator`.\n\nBy default, this method calls \ [`CalcProductOrOperator::visit_children_with`]. If you want to recurse, you need to \ call it manually."] + #[inline] fn visit_calc_product_or_operator(&mut self, node: &CalcProductOrOperator) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Vec < CalcProductOrOperator >`.\n\nBy default, this method \ calls [`Vec < CalcProductOrOperator >::visit_children_with`]. If you want to recurse, \ you need to call it manually."] + #[inline] fn visit_calc_product_or_operators(&mut self, node: &[CalcProductOrOperator]) { <[CalcProductOrOperator] as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `CalcSum`.\n\nBy default, this method calls \ [`CalcSum::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_calc_sum(&mut self, node: &CalcSum) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `CalcValue`.\n\nBy default, this method calls \ [`CalcValue::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_calc_value(&mut self, node: &CalcValue) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `CalcValueOrOperator`.\n\nBy default, this method calls \ [`CalcValueOrOperator::visit_children_with`]. If you want to recurse, you need to \ call it manually."] + #[inline] fn visit_calc_value_or_operator(&mut self, node: &CalcValueOrOperator) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Vec < CalcValueOrOperator >`.\n\nBy default, this method calls \ [`Vec < CalcValueOrOperator >::visit_children_with`]. If you want to recurse, you \ need to call it manually."] + #[inline] fn visit_calc_value_or_operators(&mut self, node: &[CalcValueOrOperator]) { <[CalcValueOrOperator] as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `ClassSelector`.\n\nBy default, this method calls \ [`ClassSelector::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_class_selector(&mut self, node: &ClassSelector) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `CmykComponent`.\n\nBy default, this method calls \ [`CmykComponent::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_cmyk_component(&mut self, node: &CmykComponent) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Color`.\n\nBy default, this method calls \ [`Color::visit_children_with`]. If you want to recurse, you need to call it manually."] + #[inline] fn visit_color(&mut self, node: &Color) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `ColorProfileName`.\n\nBy default, this method calls \ [`ColorProfileName::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_color_profile_name(&mut self, node: &ColorProfileName) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Combinator`.\n\nBy default, this method calls \ [`Combinator::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_combinator(&mut self, node: &Combinator) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `CombinatorValue`.\n\nBy default, this method calls \ [`CombinatorValue::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_combinator_value(&mut self, node: &CombinatorValue) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `ComplexSelector`.\n\nBy default, this method calls \ [`ComplexSelector::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_complex_selector(&mut self, node: &ComplexSelector) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `ComplexSelectorChildren`.\n\nBy default, this method calls \ [`ComplexSelectorChildren::visit_children_with`]. If you want to recurse, you need to \ call it manually."] + #[inline] fn visit_complex_selector_children(&mut self, node: &ComplexSelectorChildren) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Vec < ComplexSelectorChildren >`.\n\nBy default, this method \ calls [`Vec < ComplexSelectorChildren >::visit_children_with`]. If you want to \ recurse, you need to call it manually."] + #[inline] fn visit_complex_selector_childrens(&mut self, node: &[ComplexSelectorChildren]) { <[ComplexSelectorChildren] as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `Vec < ComplexSelector >`.\n\nBy default, this method calls \ [`Vec < ComplexSelector >::visit_children_with`]. If you want to recurse, you need to \ call it manually."] + #[inline] fn visit_complex_selectors(&mut self, node: &[ComplexSelector]) { <[ComplexSelector] as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `ComponentValue`.\n\nBy default, this method calls \ [`ComponentValue::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_component_value(&mut self, node: &ComponentValue) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Vec < ComponentValue >`.\n\nBy default, this method calls [`Vec \ < ComponentValue >::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_component_values(&mut self, node: &[ComponentValue]) { <[ComponentValue] as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `CompoundSelector`.\n\nBy default, this method calls \ [`CompoundSelector::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_compound_selector(&mut self, node: &CompoundSelector) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `CompoundSelectorList`.\n\nBy default, this method calls \ [`CompoundSelectorList::visit_children_with`]. If you want to recurse, you need to \ call it manually."] + #[inline] fn visit_compound_selector_list(&mut self, node: &CompoundSelectorList) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Vec < CompoundSelector >`.\n\nBy default, this method calls \ [`Vec < CompoundSelector >::visit_children_with`]. If you want to recurse, you need \ to call it manually."] + #[inline] fn visit_compound_selectors(&mut self, node: &[CompoundSelector]) { <[CompoundSelector] as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `ContainerCondition`.\n\nBy default, this method calls \ [`ContainerCondition::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_container_condition(&mut self, node: &ContainerCondition) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `ContainerName`.\n\nBy default, this method calls \ [`ContainerName::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_container_name(&mut self, node: &ContainerName) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `ContainerQuery`.\n\nBy default, this method calls \ [`ContainerQuery::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_container_query(&mut self, node: &ContainerQuery) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `ContainerQueryAnd`.\n\nBy default, this method calls \ [`ContainerQueryAnd::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_container_query_and(&mut self, node: &ContainerQueryAnd) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `ContainerQueryNot`.\n\nBy default, this method calls \ [`ContainerQueryNot::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_container_query_not(&mut self, node: &ContainerQueryNot) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `ContainerQueryOr`.\n\nBy default, this method calls \ [`ContainerQueryOr::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_container_query_or(&mut self, node: &ContainerQueryOr) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `ContainerQueryType`.\n\nBy default, this method calls \ [`ContainerQueryType::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_container_query_type(&mut self, node: &ContainerQueryType) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Vec < ContainerQueryType >`.\n\nBy default, this method calls \ [`Vec < ContainerQueryType >::visit_children_with`]. If you want to recurse, you need \ to call it manually."] + #[inline] fn visit_container_query_types(&mut self, node: &[ContainerQueryType]) { <[ContainerQueryType] as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `CustomHighlightName`.\n\nBy default, this method calls \ [`CustomHighlightName::visit_children_with`]. If you want to recurse, you need to \ call it manually."] + #[inline] fn visit_custom_highlight_name(&mut self, node: &CustomHighlightName) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `CustomIdent`.\n\nBy default, this method calls \ [`CustomIdent::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_custom_ident(&mut self, node: &CustomIdent) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Vec < CustomIdent >`.\n\nBy default, this method calls [`Vec < \ CustomIdent >::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_custom_idents(&mut self, node: &[CustomIdent]) { <[CustomIdent] as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `CustomMediaQuery`.\n\nBy default, this method calls \ [`CustomMediaQuery::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_custom_media_query(&mut self, node: &CustomMediaQuery) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `CustomMediaQueryMediaType`.\n\nBy default, this method calls \ [`CustomMediaQueryMediaType::visit_children_with`]. If you want to recurse, you need \ to call it manually."] + #[inline] fn visit_custom_media_query_media_type(&mut self, node: &CustomMediaQueryMediaType) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `CustomPropertyName`.\n\nBy default, this method calls \ [`CustomPropertyName::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_custom_property_name(&mut self, node: &CustomPropertyName) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `DashedIdent`.\n\nBy default, this method calls \ [`DashedIdent::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_dashed_ident(&mut self, node: &DashedIdent) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Declaration`.\n\nBy default, this method calls \ [`Declaration::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_declaration(&mut self, node: &Declaration) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `DeclarationName`.\n\nBy default, this method calls \ [`DeclarationName::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_declaration_name(&mut self, node: &DeclarationName) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `DeclarationOrAtRule`.\n\nBy default, this method calls \ [`DeclarationOrAtRule::visit_children_with`]. If you want to recurse, you need to \ call it manually."] + #[inline] fn visit_declaration_or_at_rule(&mut self, node: &DeclarationOrAtRule) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Delimiter`.\n\nBy default, this method calls \ [`Delimiter::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_delimiter(&mut self, node: &Delimiter) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `DelimiterValue`.\n\nBy default, this method calls \ [`DelimiterValue::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_delimiter_value(&mut self, node: &DelimiterValue) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Dimension`.\n\nBy default, this method calls \ [`Dimension::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_dimension(&mut self, node: &Dimension) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `DimensionToken`.\n\nBy default, this method calls \ [`DimensionToken::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_dimension_token(&mut self, node: &DimensionToken) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `DocumentPrelude`.\n\nBy default, this method calls \ [`DocumentPrelude::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_document_prelude(&mut self, node: &DocumentPrelude) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `DocumentPreludeMatchingFunction`.\n\nBy default, this method \ calls [`DocumentPreludeMatchingFunction::visit_children_with`]. If you want to \ recurse, you need to call it manually."] + #[inline] fn visit_document_prelude_matching_function(&mut self, node: &DocumentPreludeMatchingFunction) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Vec < DocumentPreludeMatchingFunction >`.\n\nBy default, this \ method calls [`Vec < DocumentPreludeMatchingFunction >::visit_children_with`]. If you \ want to recurse, you need to call it manually."] + #[inline] fn visit_document_prelude_matching_functions( &mut self, node: &[DocumentPreludeMatchingFunction], @@ -403,556 +469,650 @@ pub trait Visit { #[doc = "Visit a node of type `ExtensionName`.\n\nBy default, this method calls \ [`ExtensionName::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_extension_name(&mut self, node: &ExtensionName) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `FamilyName`.\n\nBy default, this method calls \ [`FamilyName::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_family_name(&mut self, node: &FamilyName) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Vec < FamilyName >`.\n\nBy default, this method calls [`Vec < \ FamilyName >::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_family_names(&mut self, node: &[FamilyName]) { <[FamilyName] as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `Flex`.\n\nBy default, this method calls \ [`Flex::visit_children_with`]. If you want to recurse, you need to call it manually."] + #[inline] fn visit_flex(&mut self, node: &Flex) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `FontFeatureValuesPrelude`.\n\nBy default, this method calls \ [`FontFeatureValuesPrelude::visit_children_with`]. If you want to recurse, you need \ to call it manually."] + #[inline] fn visit_font_feature_values_prelude(&mut self, node: &FontFeatureValuesPrelude) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `ForgivingComplexSelector`.\n\nBy default, this method calls \ [`ForgivingComplexSelector::visit_children_with`]. If you want to recurse, you need \ to call it manually."] + #[inline] fn visit_forgiving_complex_selector(&mut self, node: &ForgivingComplexSelector) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Vec < ForgivingComplexSelector >`.\n\nBy default, this method \ calls [`Vec < ForgivingComplexSelector >::visit_children_with`]. If you want to \ recurse, you need to call it manually."] + #[inline] fn visit_forgiving_complex_selectors(&mut self, node: &[ForgivingComplexSelector]) { <[ForgivingComplexSelector] as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `ForgivingRelativeSelector`.\n\nBy default, this method calls \ [`ForgivingRelativeSelector::visit_children_with`]. If you want to recurse, you need \ to call it manually."] + #[inline] fn visit_forgiving_relative_selector(&mut self, node: &ForgivingRelativeSelector) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `ForgivingRelativeSelectorList`.\n\nBy default, this method \ calls [`ForgivingRelativeSelectorList::visit_children_with`]. If you want to recurse, \ you need to call it manually."] + #[inline] fn visit_forgiving_relative_selector_list(&mut self, node: &ForgivingRelativeSelectorList) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Vec < ForgivingRelativeSelector >`.\n\nBy default, this method \ calls [`Vec < ForgivingRelativeSelector >::visit_children_with`]. If you want to \ recurse, you need to call it manually."] + #[inline] fn visit_forgiving_relative_selectors(&mut self, node: &[ForgivingRelativeSelector]) { <[ForgivingRelativeSelector] as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `ForgivingSelectorList`.\n\nBy default, this method calls \ [`ForgivingSelectorList::visit_children_with`]. If you want to recurse, you need to \ call it manually."] + #[inline] fn visit_forgiving_selector_list(&mut self, node: &ForgivingSelectorList) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Frequency`.\n\nBy default, this method calls \ [`Frequency::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_frequency(&mut self, node: &Frequency) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `FrequencyPercentage`.\n\nBy default, this method calls \ [`FrequencyPercentage::visit_children_with`]. If you want to recurse, you need to \ call it manually."] + #[inline] fn visit_frequency_percentage(&mut self, node: &FrequencyPercentage) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Function`.\n\nBy default, this method calls \ [`Function::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_function(&mut self, node: &Function) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `FunctionName`.\n\nBy default, this method calls \ [`FunctionName::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_function_name(&mut self, node: &FunctionName) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `GeneralEnclosed`.\n\nBy default, this method calls \ [`GeneralEnclosed::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_general_enclosed(&mut self, node: &GeneralEnclosed) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `HexColor`.\n\nBy default, this method calls \ [`HexColor::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_hex_color(&mut self, node: &HexColor) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Hue`.\n\nBy default, this method calls \ [`Hue::visit_children_with`]. If you want to recurse, you need to call it manually."] + #[inline] fn visit_hue(&mut self, node: &Hue) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `IdSelector`.\n\nBy default, this method calls \ [`IdSelector::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_id_selector(&mut self, node: &IdSelector) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Ident`.\n\nBy default, this method calls \ [`Ident::visit_children_with`]. If you want to recurse, you need to call it manually."] + #[inline] fn visit_ident(&mut self, node: &Ident) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Vec < Ident >`.\n\nBy default, this method calls [`Vec < Ident \ >::visit_children_with`]. If you want to recurse, you need to call it manually."] + #[inline] fn visit_idents(&mut self, node: &[Ident]) { <[Ident] as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `ImportConditions`.\n\nBy default, this method calls \ [`ImportConditions::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_import_conditions(&mut self, node: &ImportConditions) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `ImportHref`.\n\nBy default, this method calls \ [`ImportHref::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_import_href(&mut self, node: &ImportHref) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `ImportLayerName`.\n\nBy default, this method calls \ [`ImportLayerName::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_import_layer_name(&mut self, node: &ImportLayerName) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `ImportPrelude`.\n\nBy default, this method calls \ [`ImportPrelude::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_import_prelude(&mut self, node: &ImportPrelude) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `ImportantFlag`.\n\nBy default, this method calls \ [`ImportantFlag::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_important_flag(&mut self, node: &ImportantFlag) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Integer`.\n\nBy default, this method calls \ [`Integer::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_integer(&mut self, node: &Integer) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `KeyframeBlock`.\n\nBy default, this method calls \ [`KeyframeBlock::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_keyframe_block(&mut self, node: &KeyframeBlock) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `KeyframeSelector`.\n\nBy default, this method calls \ [`KeyframeSelector::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_keyframe_selector(&mut self, node: &KeyframeSelector) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Vec < KeyframeSelector >`.\n\nBy default, this method calls \ [`Vec < KeyframeSelector >::visit_children_with`]. If you want to recurse, you need \ to call it manually."] + #[inline] fn visit_keyframe_selectors(&mut self, node: &[KeyframeSelector]) { <[KeyframeSelector] as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `KeyframesName`.\n\nBy default, this method calls \ [`KeyframesName::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_keyframes_name(&mut self, node: &KeyframesName) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `KeyframesPseudoFunction`.\n\nBy default, this method calls \ [`KeyframesPseudoFunction::visit_children_with`]. If you want to recurse, you need to \ call it manually."] + #[inline] fn visit_keyframes_pseudo_function(&mut self, node: &KeyframesPseudoFunction) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `KeyframesPseudoPrefix`.\n\nBy default, this method calls \ [`KeyframesPseudoPrefix::visit_children_with`]. If you want to recurse, you need to \ call it manually."] + #[inline] fn visit_keyframes_pseudo_prefix(&mut self, node: &KeyframesPseudoPrefix) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `LayerName`.\n\nBy default, this method calls \ [`LayerName::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_layer_name(&mut self, node: &LayerName) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `LayerNameList`.\n\nBy default, this method calls \ [`LayerNameList::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_layer_name_list(&mut self, node: &LayerNameList) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Vec < LayerName >`.\n\nBy default, this method calls [`Vec < \ LayerName >::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_layer_names(&mut self, node: &[LayerName]) { <[LayerName] as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `LayerPrelude`.\n\nBy default, this method calls \ [`LayerPrelude::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_layer_prelude(&mut self, node: &LayerPrelude) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Length`.\n\nBy default, this method calls \ [`Length::visit_children_with`]. If you want to recurse, you need to call it manually."] + #[inline] fn visit_length(&mut self, node: &Length) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `LengthPercentage`.\n\nBy default, this method calls \ [`LengthPercentage::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_length_percentage(&mut self, node: &LengthPercentage) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `ListOfComponentValues`.\n\nBy default, this method calls \ [`ListOfComponentValues::visit_children_with`]. If you want to recurse, you need to \ call it manually."] + #[inline] fn visit_list_of_component_values(&mut self, node: &ListOfComponentValues) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `MediaAnd`.\n\nBy default, this method calls \ [`MediaAnd::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_media_and(&mut self, node: &MediaAnd) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `MediaCondition`.\n\nBy default, this method calls \ [`MediaCondition::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_media_condition(&mut self, node: &MediaCondition) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `MediaConditionAllType`.\n\nBy default, this method calls \ [`MediaConditionAllType::visit_children_with`]. If you want to recurse, you need to \ call it manually."] + #[inline] fn visit_media_condition_all_type(&mut self, node: &MediaConditionAllType) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Vec < MediaConditionAllType >`.\n\nBy default, this method \ calls [`Vec < MediaConditionAllType >::visit_children_with`]. If you want to recurse, \ you need to call it manually."] + #[inline] fn visit_media_condition_all_types(&mut self, node: &[MediaConditionAllType]) { <[MediaConditionAllType] as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `MediaConditionType`.\n\nBy default, this method calls \ [`MediaConditionType::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_media_condition_type(&mut self, node: &MediaConditionType) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `MediaConditionWithoutOr`.\n\nBy default, this method calls \ [`MediaConditionWithoutOr::visit_children_with`]. If you want to recurse, you need to \ call it manually."] + #[inline] fn visit_media_condition_without_or(&mut self, node: &MediaConditionWithoutOr) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `MediaConditionWithoutOrType`.\n\nBy default, this method calls \ [`MediaConditionWithoutOrType::visit_children_with`]. If you want to recurse, you \ need to call it manually."] + #[inline] fn visit_media_condition_without_or_type(&mut self, node: &MediaConditionWithoutOrType) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Vec < MediaConditionWithoutOrType >`.\n\nBy default, this \ method calls [`Vec < MediaConditionWithoutOrType >::visit_children_with`]. If you \ want to recurse, you need to call it manually."] + #[inline] fn visit_media_condition_without_or_types(&mut self, node: &[MediaConditionWithoutOrType]) { <[MediaConditionWithoutOrType] as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `MediaFeature`.\n\nBy default, this method calls \ [`MediaFeature::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_media_feature(&mut self, node: &MediaFeature) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `MediaFeatureBoolean`.\n\nBy default, this method calls \ [`MediaFeatureBoolean::visit_children_with`]. If you want to recurse, you need to \ call it manually."] + #[inline] fn visit_media_feature_boolean(&mut self, node: &MediaFeatureBoolean) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `MediaFeatureName`.\n\nBy default, this method calls \ [`MediaFeatureName::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_media_feature_name(&mut self, node: &MediaFeatureName) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `MediaFeaturePlain`.\n\nBy default, this method calls \ [`MediaFeaturePlain::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_media_feature_plain(&mut self, node: &MediaFeaturePlain) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `MediaFeatureRange`.\n\nBy default, this method calls \ [`MediaFeatureRange::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_media_feature_range(&mut self, node: &MediaFeatureRange) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `MediaFeatureRangeComparison`.\n\nBy default, this method calls \ [`MediaFeatureRangeComparison::visit_children_with`]. If you want to recurse, you \ need to call it manually."] + #[inline] fn visit_media_feature_range_comparison(&mut self, node: &MediaFeatureRangeComparison) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `MediaFeatureRangeInterval`.\n\nBy default, this method calls \ [`MediaFeatureRangeInterval::visit_children_with`]. If you want to recurse, you need \ to call it manually."] + #[inline] fn visit_media_feature_range_interval(&mut self, node: &MediaFeatureRangeInterval) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `MediaFeatureValue`.\n\nBy default, this method calls \ [`MediaFeatureValue::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_media_feature_value(&mut self, node: &MediaFeatureValue) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `MediaInParens`.\n\nBy default, this method calls \ [`MediaInParens::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_media_in_parens(&mut self, node: &MediaInParens) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `MediaNot`.\n\nBy default, this method calls \ [`MediaNot::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_media_not(&mut self, node: &MediaNot) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `MediaOr`.\n\nBy default, this method calls \ [`MediaOr::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_media_or(&mut self, node: &MediaOr) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `MediaQuery`.\n\nBy default, this method calls \ [`MediaQuery::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_media_query(&mut self, node: &MediaQuery) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `MediaQueryList`.\n\nBy default, this method calls \ [`MediaQueryList::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_media_query_list(&mut self, node: &MediaQueryList) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Vec < MediaQuery >`.\n\nBy default, this method calls [`Vec < \ MediaQuery >::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_media_querys(&mut self, node: &[MediaQuery]) { <[MediaQuery] as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `MediaType`.\n\nBy default, this method calls \ [`MediaType::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_media_type(&mut self, node: &MediaType) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `NamedNamespace`.\n\nBy default, this method calls \ [`NamedNamespace::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_named_namespace(&mut self, node: &NamedNamespace) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Namespace`.\n\nBy default, this method calls \ [`Namespace::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_namespace(&mut self, node: &Namespace) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `NamespacePrefix`.\n\nBy default, this method calls \ [`NamespacePrefix::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_namespace_prefix(&mut self, node: &NamespacePrefix) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `NamespacePrelude`.\n\nBy default, this method calls \ [`NamespacePrelude::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_namespace_prelude(&mut self, node: &NamespacePrelude) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `NamespacePreludeUri`.\n\nBy default, this method calls \ [`NamespacePreludeUri::visit_children_with`]. If you want to recurse, you need to \ call it manually."] + #[inline] fn visit_namespace_prelude_uri(&mut self, node: &NamespacePreludeUri) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `NestingSelector`.\n\nBy default, this method calls \ [`NestingSelector::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_nesting_selector(&mut self, node: &NestingSelector) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Number`.\n\nBy default, this method calls \ [`Number::visit_children_with`]. If you want to recurse, you need to call it manually."] + #[inline] fn visit_number(&mut self, node: &Number) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `NumberType`.\n\nBy default, this method calls \ [`NumberType::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_number_type(&mut self, node: &NumberType) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Option < Box < AtRulePrelude > >`.\n\nBy default, this method \ calls [`Option < Box < AtRulePrelude > >::visit_children_with`]. If you want to \ recurse, you need to call it manually."] + #[inline] fn visit_opt_at_rule_prelude(&mut self, node: &Option>) { > as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `Option < swc_atoms :: Atom >`.\n\nBy default, this method calls \ [`Option < swc_atoms :: Atom >::visit_children_with`]. If you want to recurse, you \ need to call it manually."] + #[inline] fn visit_opt_atom(&mut self, node: &Option) { as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `Option < AttributeSelectorMatcher >`.\n\nBy default, this \ method calls [`Option < AttributeSelectorMatcher >::visit_children_with`]. If you \ want to recurse, you need to call it manually."] + #[inline] fn visit_opt_attribute_selector_matcher(&mut self, node: &Option) { as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `Option < AttributeSelectorModifier >`.\n\nBy default, this \ method calls [`Option < AttributeSelectorModifier >::visit_children_with`]. If you \ want to recurse, you need to call it manually."] + #[inline] fn visit_opt_attribute_selector_modifier(&mut self, node: &Option) { as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `Option < AttributeSelectorValue >`.\n\nBy default, this method \ calls [`Option < AttributeSelectorValue >::visit_children_with`]. If you want to \ recurse, you need to call it manually."] + #[inline] fn visit_opt_attribute_selector_value(&mut self, node: &Option) { as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `Option < Combinator >`.\n\nBy default, this method calls \ [`Option < Combinator >::visit_children_with`]. If you want to recurse, you need to \ call it manually."] + #[inline] fn visit_opt_combinator(&mut self, node: &Option) { as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `Option < ContainerName >`.\n\nBy default, this method calls \ [`Option < ContainerName >::visit_children_with`]. If you want to recurse, you need \ to call it manually."] + #[inline] fn visit_opt_container_name(&mut self, node: &Option) { as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `Option < ForgivingSelectorList >`.\n\nBy default, this method \ calls [`Option < ForgivingSelectorList >::visit_children_with`]. If you want to \ recurse, you need to call it manually."] + #[inline] fn visit_opt_forgiving_selector_list(&mut self, node: &Option) { as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `Option < Box < Function > >`.\n\nBy default, this method calls \ [`Option < Box < Function > >::visit_children_with`]. If you want to recurse, you \ need to call it manually."] + #[inline] fn visit_opt_function(&mut self, node: &Option>) { > as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `Option < Ident >`.\n\nBy default, this method calls [`Option < \ Ident >::visit_children_with`]. If you want to recurse, you need to call it manually."] + #[inline] fn visit_opt_ident(&mut self, node: &Option) { as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `Option < Box < ImportConditions > >`.\n\nBy default, this \ method calls [`Option < Box < ImportConditions > >::visit_children_with`]. If you \ want to recurse, you need to call it manually."] + #[inline] fn visit_opt_import_conditions(&mut self, node: &Option>) { > as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `Option < Box < ImportLayerName > >`.\n\nBy default, this method \ calls [`Option < Box < ImportLayerName > >::visit_children_with`]. If you want to \ recurse, you need to call it manually."] + #[inline] fn visit_opt_import_layer_name(&mut self, node: &Option>) { > as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `Option < ImportantFlag >`.\n\nBy default, this method calls \ [`Option < ImportantFlag >::visit_children_with`]. If you want to recurse, you need \ to call it manually."] + #[inline] fn visit_opt_important_flag(&mut self, node: &Option) { as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `Option < Box < MediaConditionType > >`.\n\nBy default, this \ method calls [`Option < Box < MediaConditionType > >::visit_children_with`]. If you \ want to recurse, you need to call it manually."] + #[inline] fn visit_opt_media_condition_type(&mut self, node: &Option>) { > as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `Option < Box < MediaQueryList > >`.\n\nBy default, this method \ calls [`Option < Box < MediaQueryList > >::visit_children_with`]. If you want to \ recurse, you need to call it manually."] + #[inline] fn visit_opt_media_query_list(&mut self, node: &Option>) { > as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `Option < MediaType >`.\n\nBy default, this method calls \ [`Option < MediaType >::visit_children_with`]. If you want to recurse, you need to \ call it manually."] + #[inline] fn visit_opt_media_type(&mut self, node: &Option) { as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `Option < Namespace >`.\n\nBy default, this method calls \ [`Option < Namespace >::visit_children_with`]. If you want to recurse, you need to \ call it manually."] + #[inline] fn visit_opt_namespace(&mut self, node: &Option) { as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `Option < NamespacePrefix >`.\n\nBy default, this method calls \ [`Option < NamespacePrefix >::visit_children_with`]. If you want to recurse, you need \ to call it manually."] + #[inline] fn visit_opt_namespace_prefix(&mut self, node: &Option) { as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `Option < NestingSelector >`.\n\nBy default, this method calls \ [`Option < NestingSelector >::visit_children_with`]. If you want to recurse, you need \ to call it manually."] + #[inline] fn visit_opt_nesting_selector(&mut self, node: &Option) { as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `Option < Number >`.\n\nBy default, this method calls [`Option < \ Number >::visit_children_with`]. If you want to recurse, you need to call it manually."] + #[inline] fn visit_opt_number(&mut self, node: &Option) { as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `Option < Vec < PageSelectorPseudo > >`.\n\nBy default, this \ method calls [`Option < Vec < PageSelectorPseudo > >::visit_children_with`]. If you \ want to recurse, you need to call it manually."] + #[inline] fn visit_opt_page_selector_pseudos(&mut self, node: &Option>) { > as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `Option < PageSelectorType >`.\n\nBy default, this method calls \ [`Option < PageSelectorType >::visit_children_with`]. If you want to recurse, you \ need to call it manually."] + #[inline] fn visit_opt_page_selector_type(&mut self, node: &Option) { as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `Option < Vec < PseudoClassSelectorChildren > >`.\n\nBy default, \ this method calls [`Option < Vec < PseudoClassSelectorChildren > \ >::visit_children_with`]. If you want to recurse, you need to call it manually."] + #[inline] fn visit_opt_pseudo_class_selector_childrens( &mut self, node: &Option>, @@ -964,6 +1124,7 @@ pub trait Visit { #[doc = "Visit a node of type `Option < Vec < PseudoElementSelectorChildren > >`.\n\nBy \ default, this method calls [`Option < Vec < PseudoElementSelectorChildren > \ >::visit_children_with`]. If you want to recurse, you need to call it manually."] + #[inline] fn visit_opt_pseudo_element_selector_childrens( &mut self, node: &Option>, @@ -975,406 +1136,475 @@ pub trait Visit { #[doc = "Visit a node of type `Option < SimpleBlock >`.\n\nBy default, this method calls \ [`Option < SimpleBlock >::visit_children_with`]. If you want to recurse, you need to \ call it manually."] + #[inline] fn visit_opt_simple_block(&mut self, node: &Option) { as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `Option < Box < TypeSelector > >`.\n\nBy default, this method \ calls [`Option < Box < TypeSelector > >::visit_children_with`]. If you want to \ recurse, you need to call it manually."] + #[inline] fn visit_opt_type_selector(&mut self, node: &Option>) { > as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `Option < Vec < UrlModifier > >`.\n\nBy default, this method \ calls [`Option < Vec < UrlModifier > >::visit_children_with`]. If you want to \ recurse, you need to call it manually."] + #[inline] fn visit_opt_url_modifiers(&mut self, node: &Option>) { > as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `Option < Box < UrlValue > >`.\n\nBy default, this method calls \ [`Option < Box < UrlValue > >::visit_children_with`]. If you want to recurse, you \ need to call it manually."] + #[inline] fn visit_opt_url_value(&mut self, node: &Option>) { > as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `PageSelector`.\n\nBy default, this method calls \ [`PageSelector::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_page_selector(&mut self, node: &PageSelector) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `PageSelectorList`.\n\nBy default, this method calls \ [`PageSelectorList::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_page_selector_list(&mut self, node: &PageSelectorList) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `PageSelectorPseudo`.\n\nBy default, this method calls \ [`PageSelectorPseudo::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_page_selector_pseudo(&mut self, node: &PageSelectorPseudo) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Vec < PageSelectorPseudo >`.\n\nBy default, this method calls \ [`Vec < PageSelectorPseudo >::visit_children_with`]. If you want to recurse, you need \ to call it manually."] + #[inline] fn visit_page_selector_pseudos(&mut self, node: &[PageSelectorPseudo]) { <[PageSelectorPseudo] as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `PageSelectorType`.\n\nBy default, this method calls \ [`PageSelectorType::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_page_selector_type(&mut self, node: &PageSelectorType) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Vec < PageSelector >`.\n\nBy default, this method calls [`Vec < \ PageSelector >::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_page_selectors(&mut self, node: &[PageSelector]) { <[PageSelector] as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `Percentage`.\n\nBy default, this method calls \ [`Percentage::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_percentage(&mut self, node: &Percentage) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `PseudoClassSelector`.\n\nBy default, this method calls \ [`PseudoClassSelector::visit_children_with`]. If you want to recurse, you need to \ call it manually."] + #[inline] fn visit_pseudo_class_selector(&mut self, node: &PseudoClassSelector) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `PseudoClassSelectorChildren`.\n\nBy default, this method calls \ [`PseudoClassSelectorChildren::visit_children_with`]. If you want to recurse, you \ need to call it manually."] + #[inline] fn visit_pseudo_class_selector_children(&mut self, node: &PseudoClassSelectorChildren) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Vec < PseudoClassSelectorChildren >`.\n\nBy default, this \ method calls [`Vec < PseudoClassSelectorChildren >::visit_children_with`]. If you \ want to recurse, you need to call it manually."] + #[inline] fn visit_pseudo_class_selector_childrens(&mut self, node: &[PseudoClassSelectorChildren]) { <[PseudoClassSelectorChildren] as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `PseudoElementSelector`.\n\nBy default, this method calls \ [`PseudoElementSelector::visit_children_with`]. If you want to recurse, you need to \ call it manually."] + #[inline] fn visit_pseudo_element_selector(&mut self, node: &PseudoElementSelector) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `PseudoElementSelectorChildren`.\n\nBy default, this method \ calls [`PseudoElementSelectorChildren::visit_children_with`]. If you want to recurse, \ you need to call it manually."] + #[inline] fn visit_pseudo_element_selector_children(&mut self, node: &PseudoElementSelectorChildren) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Vec < PseudoElementSelectorChildren >`.\n\nBy default, this \ method calls [`Vec < PseudoElementSelectorChildren >::visit_children_with`]. If you \ want to recurse, you need to call it manually."] + #[inline] fn visit_pseudo_element_selector_childrens(&mut self, node: &[PseudoElementSelectorChildren]) { <[PseudoElementSelectorChildren] as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `QualifiedRule`.\n\nBy default, this method calls \ [`QualifiedRule::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_qualified_rule(&mut self, node: &QualifiedRule) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `QualifiedRulePrelude`.\n\nBy default, this method calls \ [`QualifiedRulePrelude::visit_children_with`]. If you want to recurse, you need to \ call it manually."] + #[inline] fn visit_qualified_rule_prelude(&mut self, node: &QualifiedRulePrelude) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `QueryInParens`.\n\nBy default, this method calls \ [`QueryInParens::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_query_in_parens(&mut self, node: &QueryInParens) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Ratio`.\n\nBy default, this method calls \ [`Ratio::visit_children_with`]. If you want to recurse, you need to call it manually."] + #[inline] fn visit_ratio(&mut self, node: &Ratio) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `RelativeSelector`.\n\nBy default, this method calls \ [`RelativeSelector::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_relative_selector(&mut self, node: &RelativeSelector) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `RelativeSelectorList`.\n\nBy default, this method calls \ [`RelativeSelectorList::visit_children_with`]. If you want to recurse, you need to \ call it manually."] + #[inline] fn visit_relative_selector_list(&mut self, node: &RelativeSelectorList) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Vec < RelativeSelector >`.\n\nBy default, this method calls \ [`Vec < RelativeSelector >::visit_children_with`]. If you want to recurse, you need \ to call it manually."] + #[inline] fn visit_relative_selectors(&mut self, node: &[RelativeSelector]) { <[RelativeSelector] as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `Resolution`.\n\nBy default, this method calls \ [`Resolution::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_resolution(&mut self, node: &Resolution) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Rule`.\n\nBy default, this method calls \ [`Rule::visit_children_with`]. If you want to recurse, you need to call it manually."] + #[inline] fn visit_rule(&mut self, node: &Rule) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Vec < Rule >`.\n\nBy default, this method calls [`Vec < Rule \ >::visit_children_with`]. If you want to recurse, you need to call it manually."] + #[inline] fn visit_rules(&mut self, node: &[Rule]) { <[Rule] as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `ScopeRange`.\n\nBy default, this method calls \ [`ScopeRange::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_scope_range(&mut self, node: &ScopeRange) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `SelectorList`.\n\nBy default, this method calls \ [`SelectorList::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_selector_list(&mut self, node: &SelectorList) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `SequenceOfCustomIdents`.\n\nBy default, this method calls \ [`SequenceOfCustomIdents::visit_children_with`]. If you want to recurse, you need to \ call it manually."] + #[inline] fn visit_sequence_of_custom_idents(&mut self, node: &SequenceOfCustomIdents) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `SimpleBlock`.\n\nBy default, this method calls \ [`SimpleBlock::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_simple_block(&mut self, node: &SimpleBlock) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `SizeFeature`.\n\nBy default, this method calls \ [`SizeFeature::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_size_feature(&mut self, node: &SizeFeature) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `SizeFeatureBoolean`.\n\nBy default, this method calls \ [`SizeFeatureBoolean::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_size_feature_boolean(&mut self, node: &SizeFeatureBoolean) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `SizeFeatureName`.\n\nBy default, this method calls \ [`SizeFeatureName::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_size_feature_name(&mut self, node: &SizeFeatureName) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `SizeFeaturePlain`.\n\nBy default, this method calls \ [`SizeFeaturePlain::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_size_feature_plain(&mut self, node: &SizeFeaturePlain) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `SizeFeatureRange`.\n\nBy default, this method calls \ [`SizeFeatureRange::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_size_feature_range(&mut self, node: &SizeFeatureRange) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `SizeFeatureRangeComparison`.\n\nBy default, this method calls \ [`SizeFeatureRangeComparison::visit_children_with`]. If you want to recurse, you need \ to call it manually."] + #[inline] fn visit_size_feature_range_comparison(&mut self, node: &SizeFeatureRangeComparison) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `SizeFeatureRangeInterval`.\n\nBy default, this method calls \ [`SizeFeatureRangeInterval::visit_children_with`]. If you want to recurse, you need \ to call it manually."] + #[inline] fn visit_size_feature_range_interval(&mut self, node: &SizeFeatureRangeInterval) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `SizeFeatureValue`.\n\nBy default, this method calls \ [`SizeFeatureValue::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_size_feature_value(&mut self, node: &SizeFeatureValue) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `swc_common :: Span`.\n\nBy default, this method calls \ [`swc_common :: Span::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_span(&mut self, node: &swc_common::Span) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Str`.\n\nBy default, this method calls \ [`Str::visit_children_with`]. If you want to recurse, you need to call it manually."] + #[inline] fn visit_str(&mut self, node: &Str) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `StyleBlock`.\n\nBy default, this method calls \ [`StyleBlock::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_style_block(&mut self, node: &StyleBlock) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Stylesheet`.\n\nBy default, this method calls \ [`Stylesheet::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_stylesheet(&mut self, node: &Stylesheet) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `SubclassSelector`.\n\nBy default, this method calls \ [`SubclassSelector::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_subclass_selector(&mut self, node: &SubclassSelector) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Vec < SubclassSelector >`.\n\nBy default, this method calls \ [`Vec < SubclassSelector >::visit_children_with`]. If you want to recurse, you need \ to call it manually."] + #[inline] fn visit_subclass_selectors(&mut self, node: &[SubclassSelector]) { <[SubclassSelector] as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `SupportsAnd`.\n\nBy default, this method calls \ [`SupportsAnd::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_supports_and(&mut self, node: &SupportsAnd) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `SupportsCondition`.\n\nBy default, this method calls \ [`SupportsCondition::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_supports_condition(&mut self, node: &SupportsCondition) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `SupportsConditionType`.\n\nBy default, this method calls \ [`SupportsConditionType::visit_children_with`]. If you want to recurse, you need to \ call it manually."] + #[inline] fn visit_supports_condition_type(&mut self, node: &SupportsConditionType) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Vec < SupportsConditionType >`.\n\nBy default, this method \ calls [`Vec < SupportsConditionType >::visit_children_with`]. If you want to recurse, \ you need to call it manually."] + #[inline] fn visit_supports_condition_types(&mut self, node: &[SupportsConditionType]) { <[SupportsConditionType] as VisitWith>::visit_children_with(node, self) } #[doc = "Visit a node of type `SupportsFeature`.\n\nBy default, this method calls \ [`SupportsFeature::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_supports_feature(&mut self, node: &SupportsFeature) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `SupportsInParens`.\n\nBy default, this method calls \ [`SupportsInParens::visit_children_with`]. If you want to recurse, you need to call \ it manually."] + #[inline] fn visit_supports_in_parens(&mut self, node: &SupportsInParens) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `SupportsNot`.\n\nBy default, this method calls \ [`SupportsNot::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_supports_not(&mut self, node: &SupportsNot) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `SupportsOr`.\n\nBy default, this method calls \ [`SupportsOr::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_supports_or(&mut self, node: &SupportsOr) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `TagNameSelector`.\n\nBy default, this method calls \ [`TagNameSelector::visit_children_with`]. If you want to recurse, you need to call it \ manually."] + #[inline] fn visit_tag_name_selector(&mut self, node: &TagNameSelector) { >::visit_children_with(node, self) } #[doc = "Visit a node of type `Time`.\n\nBy default, this method calls \ [`Time::visit_children_with`]. If you want to recurse, you need to call it manually."] + #[inline] fn visit_time(&mut self, node: &Time) {