pub trait Visit {
Show 230 methods
// Provided methods
fn visit_absolute_color_base(&mut self, node: &AbsoluteColorBase) { ... }
fn visit_alpha_value(&mut self, node: &AlphaValue) { ... }
fn visit_an_plus_b(&mut self, node: &AnPlusB) { ... }
fn visit_an_plus_b_notation(&mut self, node: &AnPlusBNotation) { ... }
fn visit_angle(&mut self, node: &Angle) { ... }
fn visit_angle_percentage(&mut self, node: &AnglePercentage) { ... }
fn visit_any_namespace(&mut self, node: &AnyNamespace) { ... }
fn visit_at_rule(&mut self, node: &AtRule) { ... }
fn visit_at_rule_name(&mut self, node: &AtRuleName) { ... }
fn visit_at_rule_prelude(&mut self, node: &AtRulePrelude) { ... }
fn visit_atom(&mut self, node: &Atom) { ... }
fn visit_attribute_selector(&mut self, node: &AttributeSelector) { ... }
fn visit_attribute_selector_matcher(
&mut self,
node: &AttributeSelectorMatcher,
) { ... }
fn visit_attribute_selector_matcher_value(
&mut self,
node: &AttributeSelectorMatcherValue,
) { ... }
fn visit_attribute_selector_modifier(
&mut self,
node: &AttributeSelectorModifier,
) { ... }
fn visit_attribute_selector_value(&mut self, node: &AttributeSelectorValue) { ... }
fn visit_bin_op(&mut self, node: &BinOp) { ... }
fn visit_calc_operator(&mut self, node: &CalcOperator) { ... }
fn visit_calc_operator_type(&mut self, node: &CalcOperatorType) { ... }
fn visit_calc_product(&mut self, node: &CalcProduct) { ... }
fn visit_calc_product_or_operator(&mut self, node: &CalcProductOrOperator) { ... }
fn visit_calc_product_or_operators(
&mut self,
node: &[CalcProductOrOperator],
) { ... }
fn visit_calc_sum(&mut self, node: &CalcSum) { ... }
fn visit_calc_value(&mut self, node: &CalcValue) { ... }
fn visit_calc_value_or_operator(&mut self, node: &CalcValueOrOperator) { ... }
fn visit_calc_value_or_operators(&mut self, node: &[CalcValueOrOperator]) { ... }
fn visit_class_selector(&mut self, node: &ClassSelector) { ... }
fn visit_cmyk_component(&mut self, node: &CmykComponent) { ... }
fn visit_color(&mut self, node: &Color) { ... }
fn visit_color_profile_name(&mut self, node: &ColorProfileName) { ... }
fn visit_combinator(&mut self, node: &Combinator) { ... }
fn visit_combinator_value(&mut self, node: &CombinatorValue) { ... }
fn visit_complex_selector(&mut self, node: &ComplexSelector) { ... }
fn visit_complex_selector_children(
&mut self,
node: &ComplexSelectorChildren,
) { ... }
fn visit_complex_selector_childrens(
&mut self,
node: &[ComplexSelectorChildren],
) { ... }
fn visit_complex_selectors(&mut self, node: &[ComplexSelector]) { ... }
fn visit_component_value(&mut self, node: &ComponentValue) { ... }
fn visit_component_values(&mut self, node: &[ComponentValue]) { ... }
fn visit_compound_selector(&mut self, node: &CompoundSelector) { ... }
fn visit_compound_selector_list(&mut self, node: &CompoundSelectorList) { ... }
fn visit_compound_selectors(&mut self, node: &[CompoundSelector]) { ... }
fn visit_container_condition(&mut self, node: &ContainerCondition) { ... }
fn visit_container_name(&mut self, node: &ContainerName) { ... }
fn visit_container_query(&mut self, node: &ContainerQuery) { ... }
fn visit_container_query_and(&mut self, node: &ContainerQueryAnd) { ... }
fn visit_container_query_not(&mut self, node: &ContainerQueryNot) { ... }
fn visit_container_query_or(&mut self, node: &ContainerQueryOr) { ... }
fn visit_container_query_type(&mut self, node: &ContainerQueryType) { ... }
fn visit_container_query_types(&mut self, node: &[ContainerQueryType]) { ... }
fn visit_custom_highlight_name(&mut self, node: &CustomHighlightName) { ... }
fn visit_custom_ident(&mut self, node: &CustomIdent) { ... }
fn visit_custom_idents(&mut self, node: &[CustomIdent]) { ... }
fn visit_custom_media_query(&mut self, node: &CustomMediaQuery) { ... }
fn visit_custom_media_query_media_type(
&mut self,
node: &CustomMediaQueryMediaType,
) { ... }
fn visit_custom_property_name(&mut self, node: &CustomPropertyName) { ... }
fn visit_dashed_ident(&mut self, node: &DashedIdent) { ... }
fn visit_declaration(&mut self, node: &Declaration) { ... }
fn visit_declaration_name(&mut self, node: &DeclarationName) { ... }
fn visit_declaration_or_at_rule(&mut self, node: &DeclarationOrAtRule) { ... }
fn visit_delimiter(&mut self, node: &Delimiter) { ... }
fn visit_delimiter_value(&mut self, node: &DelimiterValue) { ... }
fn visit_dimension(&mut self, node: &Dimension) { ... }
fn visit_dimension_token(&mut self, node: &DimensionToken) { ... }
fn visit_document_prelude(&mut self, node: &DocumentPrelude) { ... }
fn visit_document_prelude_matching_function(
&mut self,
node: &DocumentPreludeMatchingFunction,
) { ... }
fn visit_document_prelude_matching_functions(
&mut self,
node: &[DocumentPreludeMatchingFunction],
) { ... }
fn visit_extension_name(&mut self, node: &ExtensionName) { ... }
fn visit_family_name(&mut self, node: &FamilyName) { ... }
fn visit_family_names(&mut self, node: &[FamilyName]) { ... }
fn visit_flex(&mut self, node: &Flex) { ... }
fn visit_font_feature_values_prelude(
&mut self,
node: &FontFeatureValuesPrelude,
) { ... }
fn visit_forgiving_complex_selector(
&mut self,
node: &ForgivingComplexSelector,
) { ... }
fn visit_forgiving_complex_selectors(
&mut self,
node: &[ForgivingComplexSelector],
) { ... }
fn visit_forgiving_relative_selector(
&mut self,
node: &ForgivingRelativeSelector,
) { ... }
fn visit_forgiving_relative_selector_list(
&mut self,
node: &ForgivingRelativeSelectorList,
) { ... }
fn visit_forgiving_relative_selectors(
&mut self,
node: &[ForgivingRelativeSelector],
) { ... }
fn visit_forgiving_selector_list(&mut self, node: &ForgivingSelectorList) { ... }
fn visit_frequency(&mut self, node: &Frequency) { ... }
fn visit_frequency_percentage(&mut self, node: &FrequencyPercentage) { ... }
fn visit_function(&mut self, node: &Function) { ... }
fn visit_function_name(&mut self, node: &FunctionName) { ... }
fn visit_general_enclosed(&mut self, node: &GeneralEnclosed) { ... }
fn visit_hex_color(&mut self, node: &HexColor) { ... }
fn visit_hue(&mut self, node: &Hue) { ... }
fn visit_id_selector(&mut self, node: &IdSelector) { ... }
fn visit_ident(&mut self, node: &Ident) { ... }
fn visit_idents(&mut self, node: &[Ident]) { ... }
fn visit_import_conditions(&mut self, node: &ImportConditions) { ... }
fn visit_import_href(&mut self, node: &ImportHref) { ... }
fn visit_import_layer_name(&mut self, node: &ImportLayerName) { ... }
fn visit_import_prelude(&mut self, node: &ImportPrelude) { ... }
fn visit_important_flag(&mut self, node: &ImportantFlag) { ... }
fn visit_integer(&mut self, node: &Integer) { ... }
fn visit_keyframe_block(&mut self, node: &KeyframeBlock) { ... }
fn visit_keyframe_selector(&mut self, node: &KeyframeSelector) { ... }
fn visit_keyframe_selectors(&mut self, node: &[KeyframeSelector]) { ... }
fn visit_keyframes_name(&mut self, node: &KeyframesName) { ... }
fn visit_keyframes_pseudo_function(
&mut self,
node: &KeyframesPseudoFunction,
) { ... }
fn visit_keyframes_pseudo_prefix(&mut self, node: &KeyframesPseudoPrefix) { ... }
fn visit_layer_name(&mut self, node: &LayerName) { ... }
fn visit_layer_name_list(&mut self, node: &LayerNameList) { ... }
fn visit_layer_names(&mut self, node: &[LayerName]) { ... }
fn visit_layer_prelude(&mut self, node: &LayerPrelude) { ... }
fn visit_length(&mut self, node: &Length) { ... }
fn visit_length_percentage(&mut self, node: &LengthPercentage) { ... }
fn visit_list_of_component_values(&mut self, node: &ListOfComponentValues) { ... }
fn visit_media_and(&mut self, node: &MediaAnd) { ... }
fn visit_media_condition(&mut self, node: &MediaCondition) { ... }
fn visit_media_condition_all_type(&mut self, node: &MediaConditionAllType) { ... }
fn visit_media_condition_all_types(
&mut self,
node: &[MediaConditionAllType],
) { ... }
fn visit_media_condition_type(&mut self, node: &MediaConditionType) { ... }
fn visit_media_condition_without_or(
&mut self,
node: &MediaConditionWithoutOr,
) { ... }
fn visit_media_condition_without_or_type(
&mut self,
node: &MediaConditionWithoutOrType,
) { ... }
fn visit_media_condition_without_or_types(
&mut self,
node: &[MediaConditionWithoutOrType],
) { ... }
fn visit_media_feature(&mut self, node: &MediaFeature) { ... }
fn visit_media_feature_boolean(&mut self, node: &MediaFeatureBoolean) { ... }
fn visit_media_feature_name(&mut self, node: &MediaFeatureName) { ... }
fn visit_media_feature_plain(&mut self, node: &MediaFeaturePlain) { ... }
fn visit_media_feature_range(&mut self, node: &MediaFeatureRange) { ... }
fn visit_media_feature_range_comparison(
&mut self,
node: &MediaFeatureRangeComparison,
) { ... }
fn visit_media_feature_range_interval(
&mut self,
node: &MediaFeatureRangeInterval,
) { ... }
fn visit_media_feature_value(&mut self, node: &MediaFeatureValue) { ... }
fn visit_media_in_parens(&mut self, node: &MediaInParens) { ... }
fn visit_media_not(&mut self, node: &MediaNot) { ... }
fn visit_media_or(&mut self, node: &MediaOr) { ... }
fn visit_media_query(&mut self, node: &MediaQuery) { ... }
fn visit_media_query_list(&mut self, node: &MediaQueryList) { ... }
fn visit_media_querys(&mut self, node: &[MediaQuery]) { ... }
fn visit_media_type(&mut self, node: &MediaType) { ... }
fn visit_named_namespace(&mut self, node: &NamedNamespace) { ... }
fn visit_namespace(&mut self, node: &Namespace) { ... }
fn visit_namespace_prefix(&mut self, node: &NamespacePrefix) { ... }
fn visit_namespace_prelude(&mut self, node: &NamespacePrelude) { ... }
fn visit_namespace_prelude_uri(&mut self, node: &NamespacePreludeUri) { ... }
fn visit_nesting_selector(&mut self, node: &NestingSelector) { ... }
fn visit_number(&mut self, node: &Number) { ... }
fn visit_number_type(&mut self, node: &NumberType) { ... }
fn visit_opt_at_rule_prelude(&mut self, node: &Option<Box<AtRulePrelude>>) { ... }
fn visit_opt_atom(&mut self, node: &Option<Atom>) { ... }
fn visit_opt_attribute_selector_matcher(
&mut self,
node: &Option<AttributeSelectorMatcher>,
) { ... }
fn visit_opt_attribute_selector_modifier(
&mut self,
node: &Option<AttributeSelectorModifier>,
) { ... }
fn visit_opt_attribute_selector_value(
&mut self,
node: &Option<AttributeSelectorValue>,
) { ... }
fn visit_opt_combinator(&mut self, node: &Option<Combinator>) { ... }
fn visit_opt_container_name(&mut self, node: &Option<ContainerName>) { ... }
fn visit_opt_forgiving_selector_list(
&mut self,
node: &Option<ForgivingSelectorList>,
) { ... }
fn visit_opt_function(&mut self, node: &Option<Box<Function>>) { ... }
fn visit_opt_ident(&mut self, node: &Option<Ident>) { ... }
fn visit_opt_import_conditions(
&mut self,
node: &Option<Box<ImportConditions>>,
) { ... }
fn visit_opt_import_layer_name(
&mut self,
node: &Option<Box<ImportLayerName>>,
) { ... }
fn visit_opt_important_flag(&mut self, node: &Option<ImportantFlag>) { ... }
fn visit_opt_media_condition_type(
&mut self,
node: &Option<Box<MediaConditionType>>,
) { ... }
fn visit_opt_media_query_list(&mut self, node: &Option<Box<MediaQueryList>>) { ... }
fn visit_opt_media_type(&mut self, node: &Option<MediaType>) { ... }
fn visit_opt_namespace(&mut self, node: &Option<Namespace>) { ... }
fn visit_opt_namespace_prefix(&mut self, node: &Option<NamespacePrefix>) { ... }
fn visit_opt_nesting_selector(&mut self, node: &Option<NestingSelector>) { ... }
fn visit_opt_number(&mut self, node: &Option<Number>) { ... }
fn visit_opt_page_selector_pseudos(
&mut self,
node: &Option<Vec<PageSelectorPseudo>>,
) { ... }
fn visit_opt_page_selector_type(&mut self, node: &Option<PageSelectorType>) { ... }
fn visit_opt_pseudo_class_selector_childrens(
&mut self,
node: &Option<Vec<PseudoClassSelectorChildren>>,
) { ... }
fn visit_opt_pseudo_element_selector_childrens(
&mut self,
node: &Option<Vec<PseudoElementSelectorChildren>>,
) { ... }
fn visit_opt_simple_block(&mut self, node: &Option<SimpleBlock>) { ... }
fn visit_opt_type_selector(&mut self, node: &Option<Box<TypeSelector>>) { ... }
fn visit_opt_url_modifiers(&mut self, node: &Option<Vec<UrlModifier>>) { ... }
fn visit_opt_url_value(&mut self, node: &Option<Box<UrlValue>>) { ... }
fn visit_page_selector(&mut self, node: &PageSelector) { ... }
fn visit_page_selector_list(&mut self, node: &PageSelectorList) { ... }
fn visit_page_selector_pseudo(&mut self, node: &PageSelectorPseudo) { ... }
fn visit_page_selector_pseudos(&mut self, node: &[PageSelectorPseudo]) { ... }
fn visit_page_selector_type(&mut self, node: &PageSelectorType) { ... }
fn visit_page_selectors(&mut self, node: &[PageSelector]) { ... }
fn visit_percentage(&mut self, node: &Percentage) { ... }
fn visit_pseudo_class_selector(&mut self, node: &PseudoClassSelector) { ... }
fn visit_pseudo_class_selector_children(
&mut self,
node: &PseudoClassSelectorChildren,
) { ... }
fn visit_pseudo_class_selector_childrens(
&mut self,
node: &[PseudoClassSelectorChildren],
) { ... }
fn visit_pseudo_element_selector(&mut self, node: &PseudoElementSelector) { ... }
fn visit_pseudo_element_selector_children(
&mut self,
node: &PseudoElementSelectorChildren,
) { ... }
fn visit_pseudo_element_selector_childrens(
&mut self,
node: &[PseudoElementSelectorChildren],
) { ... }
fn visit_qualified_rule(&mut self, node: &QualifiedRule) { ... }
fn visit_qualified_rule_prelude(&mut self, node: &QualifiedRulePrelude) { ... }
fn visit_query_in_parens(&mut self, node: &QueryInParens) { ... }
fn visit_ratio(&mut self, node: &Ratio) { ... }
fn visit_relative_selector(&mut self, node: &RelativeSelector) { ... }
fn visit_relative_selector_list(&mut self, node: &RelativeSelectorList) { ... }
fn visit_relative_selectors(&mut self, node: &[RelativeSelector]) { ... }
fn visit_resolution(&mut self, node: &Resolution) { ... }
fn visit_rule(&mut self, node: &Rule) { ... }
fn visit_rules(&mut self, node: &[Rule]) { ... }
fn visit_scope_range(&mut self, node: &ScopeRange) { ... }
fn visit_selector_list(&mut self, node: &SelectorList) { ... }
fn visit_sequence_of_custom_idents(&mut self, node: &SequenceOfCustomIdents) { ... }
fn visit_simple_block(&mut self, node: &SimpleBlock) { ... }
fn visit_size_feature(&mut self, node: &SizeFeature) { ... }
fn visit_size_feature_boolean(&mut self, node: &SizeFeatureBoolean) { ... }
fn visit_size_feature_name(&mut self, node: &SizeFeatureName) { ... }
fn visit_size_feature_plain(&mut self, node: &SizeFeaturePlain) { ... }
fn visit_size_feature_range(&mut self, node: &SizeFeatureRange) { ... }
fn visit_size_feature_range_comparison(
&mut self,
node: &SizeFeatureRangeComparison,
) { ... }
fn visit_size_feature_range_interval(
&mut self,
node: &SizeFeatureRangeInterval,
) { ... }
fn visit_size_feature_value(&mut self, node: &SizeFeatureValue) { ... }
fn visit_span(&mut self, node: &Span) { ... }
fn visit_str(&mut self, node: &Str) { ... }
fn visit_style_block(&mut self, node: &StyleBlock) { ... }
fn visit_stylesheet(&mut self, node: &Stylesheet) { ... }
fn visit_subclass_selector(&mut self, node: &SubclassSelector) { ... }
fn visit_subclass_selectors(&mut self, node: &[SubclassSelector]) { ... }
fn visit_supports_and(&mut self, node: &SupportsAnd) { ... }
fn visit_supports_condition(&mut self, node: &SupportsCondition) { ... }
fn visit_supports_condition_type(&mut self, node: &SupportsConditionType) { ... }
fn visit_supports_condition_types(&mut self, node: &[SupportsConditionType]) { ... }
fn visit_supports_feature(&mut self, node: &SupportsFeature) { ... }
fn visit_supports_in_parens(&mut self, node: &SupportsInParens) { ... }
fn visit_supports_not(&mut self, node: &SupportsNot) { ... }
fn visit_supports_or(&mut self, node: &SupportsOr) { ... }
fn visit_tag_name_selector(&mut self, node: &TagNameSelector) { ... }
fn visit_time(&mut self, node: &Time) { ... }
fn visit_time_percentage(&mut self, node: &TimePercentage) { ... }
fn visit_token(&mut self, node: &Token) { ... }
fn visit_token_and_span(&mut self, node: &TokenAndSpan) { ... }
fn visit_type_selector(&mut self, node: &TypeSelector) { ... }
fn visit_unicode_range(&mut self, node: &UnicodeRange) { ... }
fn visit_universal_selector(&mut self, node: &UniversalSelector) { ... }
fn visit_unknown_dimension(&mut self, node: &UnknownDimension) { ... }
fn visit_url(&mut self, node: &Url) { ... }
fn visit_url_key_value(&mut self, node: &UrlKeyValue) { ... }
fn visit_url_modifier(&mut self, node: &UrlModifier) { ... }
fn visit_url_modifiers(&mut self, node: &[UrlModifier]) { ... }
fn visit_url_value(&mut self, node: &UrlValue) { ... }
fn visit_url_value_raw(&mut self, node: &UrlValueRaw) { ... }
fn visit_wq_name(&mut self, node: &WqName) { ... }
}
Expand description
A visitor trait for traversing the AST.
Provided Methods§
sourcefn visit_absolute_color_base(&mut self, node: &AbsoluteColorBase)
fn visit_absolute_color_base(&mut self, node: &AbsoluteColorBase)
Visit a node of type AbsoluteColorBase
.
By default, this method calls [AbsoluteColorBase::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_alpha_value(&mut self, node: &AlphaValue)
fn visit_alpha_value(&mut self, node: &AlphaValue)
Visit a node of type AlphaValue
.
By default, this method calls [AlphaValue::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_an_plus_b(&mut self, node: &AnPlusB)
fn visit_an_plus_b(&mut self, node: &AnPlusB)
Visit a node of type AnPlusB
.
By default, this method calls [AnPlusB::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_an_plus_b_notation(&mut self, node: &AnPlusBNotation)
fn visit_an_plus_b_notation(&mut self, node: &AnPlusBNotation)
Visit a node of type AnPlusBNotation
.
By default, this method calls [AnPlusBNotation::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_angle(&mut self, node: &Angle)
fn visit_angle(&mut self, node: &Angle)
Visit a node of type Angle
.
By default, this method calls [Angle::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_angle_percentage(&mut self, node: &AnglePercentage)
fn visit_angle_percentage(&mut self, node: &AnglePercentage)
Visit a node of type AnglePercentage
.
By default, this method calls [AnglePercentage::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_any_namespace(&mut self, node: &AnyNamespace)
fn visit_any_namespace(&mut self, node: &AnyNamespace)
Visit a node of type AnyNamespace
.
By default, this method calls [AnyNamespace::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_at_rule(&mut self, node: &AtRule)
fn visit_at_rule(&mut self, node: &AtRule)
Visit a node of type AtRule
.
By default, this method calls [AtRule::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_at_rule_name(&mut self, node: &AtRuleName)
fn visit_at_rule_name(&mut self, node: &AtRuleName)
Visit a node of type AtRuleName
.
By default, this method calls [AtRuleName::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_at_rule_prelude(&mut self, node: &AtRulePrelude)
fn visit_at_rule_prelude(&mut self, node: &AtRulePrelude)
Visit a node of type AtRulePrelude
.
By default, this method calls [AtRulePrelude::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_atom(&mut self, node: &Atom)
fn visit_atom(&mut self, node: &Atom)
Visit a node of type swc_atoms :: Atom
.
By default, this method calls [swc_atoms :: Atom::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_attribute_selector(&mut self, node: &AttributeSelector)
fn visit_attribute_selector(&mut self, node: &AttributeSelector)
Visit a node of type AttributeSelector
.
By default, this method calls [AttributeSelector::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_attribute_selector_matcher(&mut self, node: &AttributeSelectorMatcher)
fn visit_attribute_selector_matcher(&mut self, node: &AttributeSelectorMatcher)
Visit a node of type AttributeSelectorMatcher
.
By default, this method calls [AttributeSelectorMatcher::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_attribute_selector_matcher_value(
&mut self,
node: &AttributeSelectorMatcherValue,
)
fn visit_attribute_selector_matcher_value( &mut self, node: &AttributeSelectorMatcherValue, )
Visit a node of type AttributeSelectorMatcherValue
.
By default, this method calls [AttributeSelectorMatcherValue::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_attribute_selector_modifier(
&mut self,
node: &AttributeSelectorModifier,
)
fn visit_attribute_selector_modifier( &mut self, node: &AttributeSelectorModifier, )
Visit a node of type AttributeSelectorModifier
.
By default, this method calls [AttributeSelectorModifier::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_attribute_selector_value(&mut self, node: &AttributeSelectorValue)
fn visit_attribute_selector_value(&mut self, node: &AttributeSelectorValue)
Visit a node of type AttributeSelectorValue
.
By default, this method calls [AttributeSelectorValue::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_bin_op(&mut self, node: &BinOp)
fn visit_bin_op(&mut self, node: &BinOp)
Visit a node of type BinOp
.
By default, this method calls [BinOp::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_calc_operator(&mut self, node: &CalcOperator)
fn visit_calc_operator(&mut self, node: &CalcOperator)
Visit a node of type CalcOperator
.
By default, this method calls [CalcOperator::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_calc_operator_type(&mut self, node: &CalcOperatorType)
fn visit_calc_operator_type(&mut self, node: &CalcOperatorType)
Visit a node of type CalcOperatorType
.
By default, this method calls [CalcOperatorType::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_calc_product(&mut self, node: &CalcProduct)
fn visit_calc_product(&mut self, node: &CalcProduct)
Visit a node of type CalcProduct
.
By default, this method calls [CalcProduct::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_calc_product_or_operator(&mut self, node: &CalcProductOrOperator)
fn visit_calc_product_or_operator(&mut self, node: &CalcProductOrOperator)
Visit a node of type CalcProductOrOperator
.
By default, this method calls [CalcProductOrOperator::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_calc_product_or_operators(&mut self, node: &[CalcProductOrOperator])
fn visit_calc_product_or_operators(&mut self, node: &[CalcProductOrOperator])
Visit a node of type Vec < CalcProductOrOperator >
.
By default, this method calls [Vec < CalcProductOrOperator >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_calc_sum(&mut self, node: &CalcSum)
fn visit_calc_sum(&mut self, node: &CalcSum)
Visit a node of type CalcSum
.
By default, this method calls [CalcSum::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_calc_value(&mut self, node: &CalcValue)
fn visit_calc_value(&mut self, node: &CalcValue)
Visit a node of type CalcValue
.
By default, this method calls [CalcValue::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_calc_value_or_operator(&mut self, node: &CalcValueOrOperator)
fn visit_calc_value_or_operator(&mut self, node: &CalcValueOrOperator)
Visit a node of type CalcValueOrOperator
.
By default, this method calls [CalcValueOrOperator::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_calc_value_or_operators(&mut self, node: &[CalcValueOrOperator])
fn visit_calc_value_or_operators(&mut self, node: &[CalcValueOrOperator])
Visit a node of type Vec < CalcValueOrOperator >
.
By default, this method calls [Vec < CalcValueOrOperator >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_class_selector(&mut self, node: &ClassSelector)
fn visit_class_selector(&mut self, node: &ClassSelector)
Visit a node of type ClassSelector
.
By default, this method calls [ClassSelector::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_cmyk_component(&mut self, node: &CmykComponent)
fn visit_cmyk_component(&mut self, node: &CmykComponent)
Visit a node of type CmykComponent
.
By default, this method calls [CmykComponent::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_color(&mut self, node: &Color)
fn visit_color(&mut self, node: &Color)
Visit a node of type Color
.
By default, this method calls [Color::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_color_profile_name(&mut self, node: &ColorProfileName)
fn visit_color_profile_name(&mut self, node: &ColorProfileName)
Visit a node of type ColorProfileName
.
By default, this method calls [ColorProfileName::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_combinator(&mut self, node: &Combinator)
fn visit_combinator(&mut self, node: &Combinator)
Visit a node of type Combinator
.
By default, this method calls [Combinator::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_combinator_value(&mut self, node: &CombinatorValue)
fn visit_combinator_value(&mut self, node: &CombinatorValue)
Visit a node of type CombinatorValue
.
By default, this method calls [CombinatorValue::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_complex_selector(&mut self, node: &ComplexSelector)
fn visit_complex_selector(&mut self, node: &ComplexSelector)
Visit a node of type ComplexSelector
.
By default, this method calls [ComplexSelector::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_complex_selector_children(&mut self, node: &ComplexSelectorChildren)
fn visit_complex_selector_children(&mut self, node: &ComplexSelectorChildren)
Visit a node of type ComplexSelectorChildren
.
By default, this method calls [ComplexSelectorChildren::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_complex_selector_childrens(&mut self, node: &[ComplexSelectorChildren])
fn visit_complex_selector_childrens(&mut self, node: &[ComplexSelectorChildren])
Visit a node of type Vec < ComplexSelectorChildren >
.
By default, this method calls [Vec < ComplexSelectorChildren >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_complex_selectors(&mut self, node: &[ComplexSelector])
fn visit_complex_selectors(&mut self, node: &[ComplexSelector])
Visit a node of type Vec < ComplexSelector >
.
By default, this method calls [Vec < ComplexSelector >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_component_value(&mut self, node: &ComponentValue)
fn visit_component_value(&mut self, node: &ComponentValue)
Visit a node of type ComponentValue
.
By default, this method calls [ComponentValue::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_component_values(&mut self, node: &[ComponentValue])
fn visit_component_values(&mut self, node: &[ComponentValue])
Visit a node of type Vec < ComponentValue >
.
By default, this method calls [Vec < ComponentValue >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_compound_selector(&mut self, node: &CompoundSelector)
fn visit_compound_selector(&mut self, node: &CompoundSelector)
Visit a node of type CompoundSelector
.
By default, this method calls [CompoundSelector::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_compound_selector_list(&mut self, node: &CompoundSelectorList)
fn visit_compound_selector_list(&mut self, node: &CompoundSelectorList)
Visit a node of type CompoundSelectorList
.
By default, this method calls [CompoundSelectorList::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_compound_selectors(&mut self, node: &[CompoundSelector])
fn visit_compound_selectors(&mut self, node: &[CompoundSelector])
Visit a node of type Vec < CompoundSelector >
.
By default, this method calls [Vec < CompoundSelector >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_container_condition(&mut self, node: &ContainerCondition)
fn visit_container_condition(&mut self, node: &ContainerCondition)
Visit a node of type ContainerCondition
.
By default, this method calls [ContainerCondition::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_container_name(&mut self, node: &ContainerName)
fn visit_container_name(&mut self, node: &ContainerName)
Visit a node of type ContainerName
.
By default, this method calls [ContainerName::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_container_query(&mut self, node: &ContainerQuery)
fn visit_container_query(&mut self, node: &ContainerQuery)
Visit a node of type ContainerQuery
.
By default, this method calls [ContainerQuery::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_container_query_and(&mut self, node: &ContainerQueryAnd)
fn visit_container_query_and(&mut self, node: &ContainerQueryAnd)
Visit a node of type ContainerQueryAnd
.
By default, this method calls [ContainerQueryAnd::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_container_query_not(&mut self, node: &ContainerQueryNot)
fn visit_container_query_not(&mut self, node: &ContainerQueryNot)
Visit a node of type ContainerQueryNot
.
By default, this method calls [ContainerQueryNot::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_container_query_or(&mut self, node: &ContainerQueryOr)
fn visit_container_query_or(&mut self, node: &ContainerQueryOr)
Visit a node of type ContainerQueryOr
.
By default, this method calls [ContainerQueryOr::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_container_query_type(&mut self, node: &ContainerQueryType)
fn visit_container_query_type(&mut self, node: &ContainerQueryType)
Visit a node of type ContainerQueryType
.
By default, this method calls [ContainerQueryType::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_container_query_types(&mut self, node: &[ContainerQueryType])
fn visit_container_query_types(&mut self, node: &[ContainerQueryType])
Visit a node of type Vec < ContainerQueryType >
.
By default, this method calls [Vec < ContainerQueryType >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_custom_highlight_name(&mut self, node: &CustomHighlightName)
fn visit_custom_highlight_name(&mut self, node: &CustomHighlightName)
Visit a node of type CustomHighlightName
.
By default, this method calls [CustomHighlightName::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_custom_ident(&mut self, node: &CustomIdent)
fn visit_custom_ident(&mut self, node: &CustomIdent)
Visit a node of type CustomIdent
.
By default, this method calls [CustomIdent::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_custom_idents(&mut self, node: &[CustomIdent])
fn visit_custom_idents(&mut self, node: &[CustomIdent])
Visit a node of type Vec < CustomIdent >
.
By default, this method calls [Vec < CustomIdent >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_custom_media_query(&mut self, node: &CustomMediaQuery)
fn visit_custom_media_query(&mut self, node: &CustomMediaQuery)
Visit a node of type CustomMediaQuery
.
By default, this method calls [CustomMediaQuery::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_custom_media_query_media_type(
&mut self,
node: &CustomMediaQueryMediaType,
)
fn visit_custom_media_query_media_type( &mut self, node: &CustomMediaQueryMediaType, )
Visit a node of type CustomMediaQueryMediaType
.
By default, this method calls [CustomMediaQueryMediaType::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_custom_property_name(&mut self, node: &CustomPropertyName)
fn visit_custom_property_name(&mut self, node: &CustomPropertyName)
Visit a node of type CustomPropertyName
.
By default, this method calls [CustomPropertyName::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_dashed_ident(&mut self, node: &DashedIdent)
fn visit_dashed_ident(&mut self, node: &DashedIdent)
Visit a node of type DashedIdent
.
By default, this method calls [DashedIdent::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_declaration(&mut self, node: &Declaration)
fn visit_declaration(&mut self, node: &Declaration)
Visit a node of type Declaration
.
By default, this method calls [Declaration::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_declaration_name(&mut self, node: &DeclarationName)
fn visit_declaration_name(&mut self, node: &DeclarationName)
Visit a node of type DeclarationName
.
By default, this method calls [DeclarationName::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_declaration_or_at_rule(&mut self, node: &DeclarationOrAtRule)
fn visit_declaration_or_at_rule(&mut self, node: &DeclarationOrAtRule)
Visit a node of type DeclarationOrAtRule
.
By default, this method calls [DeclarationOrAtRule::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_delimiter(&mut self, node: &Delimiter)
fn visit_delimiter(&mut self, node: &Delimiter)
Visit a node of type Delimiter
.
By default, this method calls [Delimiter::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_delimiter_value(&mut self, node: &DelimiterValue)
fn visit_delimiter_value(&mut self, node: &DelimiterValue)
Visit a node of type DelimiterValue
.
By default, this method calls [DelimiterValue::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_dimension(&mut self, node: &Dimension)
fn visit_dimension(&mut self, node: &Dimension)
Visit a node of type Dimension
.
By default, this method calls [Dimension::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_dimension_token(&mut self, node: &DimensionToken)
fn visit_dimension_token(&mut self, node: &DimensionToken)
Visit a node of type DimensionToken
.
By default, this method calls [DimensionToken::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_document_prelude(&mut self, node: &DocumentPrelude)
fn visit_document_prelude(&mut self, node: &DocumentPrelude)
Visit a node of type DocumentPrelude
.
By default, this method calls [DocumentPrelude::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_document_prelude_matching_function(
&mut self,
node: &DocumentPreludeMatchingFunction,
)
fn visit_document_prelude_matching_function( &mut self, node: &DocumentPreludeMatchingFunction, )
Visit a node of type DocumentPreludeMatchingFunction
.
By default, this method calls [DocumentPreludeMatchingFunction::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_document_prelude_matching_functions(
&mut self,
node: &[DocumentPreludeMatchingFunction],
)
fn visit_document_prelude_matching_functions( &mut self, node: &[DocumentPreludeMatchingFunction], )
Visit a node of type Vec < DocumentPreludeMatchingFunction >
.
By default, this method calls [Vec < DocumentPreludeMatchingFunction >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_extension_name(&mut self, node: &ExtensionName)
fn visit_extension_name(&mut self, node: &ExtensionName)
Visit a node of type ExtensionName
.
By default, this method calls [ExtensionName::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_family_name(&mut self, node: &FamilyName)
fn visit_family_name(&mut self, node: &FamilyName)
Visit a node of type FamilyName
.
By default, this method calls [FamilyName::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_family_names(&mut self, node: &[FamilyName])
fn visit_family_names(&mut self, node: &[FamilyName])
Visit a node of type Vec < FamilyName >
.
By default, this method calls [Vec < FamilyName >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_flex(&mut self, node: &Flex)
fn visit_flex(&mut self, node: &Flex)
Visit a node of type Flex
.
By default, this method calls [Flex::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_font_feature_values_prelude(&mut self, node: &FontFeatureValuesPrelude)
fn visit_font_feature_values_prelude(&mut self, node: &FontFeatureValuesPrelude)
Visit a node of type FontFeatureValuesPrelude
.
By default, this method calls [FontFeatureValuesPrelude::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_forgiving_complex_selector(&mut self, node: &ForgivingComplexSelector)
fn visit_forgiving_complex_selector(&mut self, node: &ForgivingComplexSelector)
Visit a node of type ForgivingComplexSelector
.
By default, this method calls [ForgivingComplexSelector::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_forgiving_complex_selectors(
&mut self,
node: &[ForgivingComplexSelector],
)
fn visit_forgiving_complex_selectors( &mut self, node: &[ForgivingComplexSelector], )
Visit a node of type Vec < ForgivingComplexSelector >
.
By default, this method calls [Vec < ForgivingComplexSelector >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_forgiving_relative_selector(
&mut self,
node: &ForgivingRelativeSelector,
)
fn visit_forgiving_relative_selector( &mut self, node: &ForgivingRelativeSelector, )
Visit a node of type ForgivingRelativeSelector
.
By default, this method calls [ForgivingRelativeSelector::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_forgiving_relative_selector_list(
&mut self,
node: &ForgivingRelativeSelectorList,
)
fn visit_forgiving_relative_selector_list( &mut self, node: &ForgivingRelativeSelectorList, )
Visit a node of type ForgivingRelativeSelectorList
.
By default, this method calls [ForgivingRelativeSelectorList::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_forgiving_relative_selectors(
&mut self,
node: &[ForgivingRelativeSelector],
)
fn visit_forgiving_relative_selectors( &mut self, node: &[ForgivingRelativeSelector], )
Visit a node of type Vec < ForgivingRelativeSelector >
.
By default, this method calls [Vec < ForgivingRelativeSelector >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_forgiving_selector_list(&mut self, node: &ForgivingSelectorList)
fn visit_forgiving_selector_list(&mut self, node: &ForgivingSelectorList)
Visit a node of type ForgivingSelectorList
.
By default, this method calls [ForgivingSelectorList::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_frequency(&mut self, node: &Frequency)
fn visit_frequency(&mut self, node: &Frequency)
Visit a node of type Frequency
.
By default, this method calls [Frequency::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_frequency_percentage(&mut self, node: &FrequencyPercentage)
fn visit_frequency_percentage(&mut self, node: &FrequencyPercentage)
Visit a node of type FrequencyPercentage
.
By default, this method calls [FrequencyPercentage::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_function(&mut self, node: &Function)
fn visit_function(&mut self, node: &Function)
Visit a node of type Function
.
By default, this method calls [Function::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_function_name(&mut self, node: &FunctionName)
fn visit_function_name(&mut self, node: &FunctionName)
Visit a node of type FunctionName
.
By default, this method calls [FunctionName::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_general_enclosed(&mut self, node: &GeneralEnclosed)
fn visit_general_enclosed(&mut self, node: &GeneralEnclosed)
Visit a node of type GeneralEnclosed
.
By default, this method calls [GeneralEnclosed::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_hex_color(&mut self, node: &HexColor)
fn visit_hex_color(&mut self, node: &HexColor)
Visit a node of type HexColor
.
By default, this method calls [HexColor::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_hue(&mut self, node: &Hue)
fn visit_hue(&mut self, node: &Hue)
Visit a node of type Hue
.
By default, this method calls [Hue::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_id_selector(&mut self, node: &IdSelector)
fn visit_id_selector(&mut self, node: &IdSelector)
Visit a node of type IdSelector
.
By default, this method calls [IdSelector::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_ident(&mut self, node: &Ident)
fn visit_ident(&mut self, node: &Ident)
Visit a node of type Ident
.
By default, this method calls [Ident::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_idents(&mut self, node: &[Ident])
fn visit_idents(&mut self, node: &[Ident])
Visit a node of type Vec < Ident >
.
By default, this method calls [Vec < Ident >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_import_conditions(&mut self, node: &ImportConditions)
fn visit_import_conditions(&mut self, node: &ImportConditions)
Visit a node of type ImportConditions
.
By default, this method calls [ImportConditions::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_import_href(&mut self, node: &ImportHref)
fn visit_import_href(&mut self, node: &ImportHref)
Visit a node of type ImportHref
.
By default, this method calls [ImportHref::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_import_layer_name(&mut self, node: &ImportLayerName)
fn visit_import_layer_name(&mut self, node: &ImportLayerName)
Visit a node of type ImportLayerName
.
By default, this method calls [ImportLayerName::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_import_prelude(&mut self, node: &ImportPrelude)
fn visit_import_prelude(&mut self, node: &ImportPrelude)
Visit a node of type ImportPrelude
.
By default, this method calls [ImportPrelude::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_important_flag(&mut self, node: &ImportantFlag)
fn visit_important_flag(&mut self, node: &ImportantFlag)
Visit a node of type ImportantFlag
.
By default, this method calls [ImportantFlag::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_integer(&mut self, node: &Integer)
fn visit_integer(&mut self, node: &Integer)
Visit a node of type Integer
.
By default, this method calls [Integer::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_keyframe_block(&mut self, node: &KeyframeBlock)
fn visit_keyframe_block(&mut self, node: &KeyframeBlock)
Visit a node of type KeyframeBlock
.
By default, this method calls [KeyframeBlock::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_keyframe_selector(&mut self, node: &KeyframeSelector)
fn visit_keyframe_selector(&mut self, node: &KeyframeSelector)
Visit a node of type KeyframeSelector
.
By default, this method calls [KeyframeSelector::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_keyframe_selectors(&mut self, node: &[KeyframeSelector])
fn visit_keyframe_selectors(&mut self, node: &[KeyframeSelector])
Visit a node of type Vec < KeyframeSelector >
.
By default, this method calls [Vec < KeyframeSelector >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_keyframes_name(&mut self, node: &KeyframesName)
fn visit_keyframes_name(&mut self, node: &KeyframesName)
Visit a node of type KeyframesName
.
By default, this method calls [KeyframesName::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_keyframes_pseudo_function(&mut self, node: &KeyframesPseudoFunction)
fn visit_keyframes_pseudo_function(&mut self, node: &KeyframesPseudoFunction)
Visit a node of type KeyframesPseudoFunction
.
By default, this method calls [KeyframesPseudoFunction::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_keyframes_pseudo_prefix(&mut self, node: &KeyframesPseudoPrefix)
fn visit_keyframes_pseudo_prefix(&mut self, node: &KeyframesPseudoPrefix)
Visit a node of type KeyframesPseudoPrefix
.
By default, this method calls [KeyframesPseudoPrefix::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_layer_name(&mut self, node: &LayerName)
fn visit_layer_name(&mut self, node: &LayerName)
Visit a node of type LayerName
.
By default, this method calls [LayerName::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_layer_name_list(&mut self, node: &LayerNameList)
fn visit_layer_name_list(&mut self, node: &LayerNameList)
Visit a node of type LayerNameList
.
By default, this method calls [LayerNameList::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_layer_names(&mut self, node: &[LayerName])
fn visit_layer_names(&mut self, node: &[LayerName])
Visit a node of type Vec < LayerName >
.
By default, this method calls [Vec < LayerName >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_layer_prelude(&mut self, node: &LayerPrelude)
fn visit_layer_prelude(&mut self, node: &LayerPrelude)
Visit a node of type LayerPrelude
.
By default, this method calls [LayerPrelude::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_length(&mut self, node: &Length)
fn visit_length(&mut self, node: &Length)
Visit a node of type Length
.
By default, this method calls [Length::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_length_percentage(&mut self, node: &LengthPercentage)
fn visit_length_percentage(&mut self, node: &LengthPercentage)
Visit a node of type LengthPercentage
.
By default, this method calls [LengthPercentage::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_list_of_component_values(&mut self, node: &ListOfComponentValues)
fn visit_list_of_component_values(&mut self, node: &ListOfComponentValues)
Visit a node of type ListOfComponentValues
.
By default, this method calls [ListOfComponentValues::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_media_and(&mut self, node: &MediaAnd)
fn visit_media_and(&mut self, node: &MediaAnd)
Visit a node of type MediaAnd
.
By default, this method calls [MediaAnd::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_media_condition(&mut self, node: &MediaCondition)
fn visit_media_condition(&mut self, node: &MediaCondition)
Visit a node of type MediaCondition
.
By default, this method calls [MediaCondition::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_media_condition_all_type(&mut self, node: &MediaConditionAllType)
fn visit_media_condition_all_type(&mut self, node: &MediaConditionAllType)
Visit a node of type MediaConditionAllType
.
By default, this method calls [MediaConditionAllType::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_media_condition_all_types(&mut self, node: &[MediaConditionAllType])
fn visit_media_condition_all_types(&mut self, node: &[MediaConditionAllType])
Visit a node of type Vec < MediaConditionAllType >
.
By default, this method calls [Vec < MediaConditionAllType >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_media_condition_type(&mut self, node: &MediaConditionType)
fn visit_media_condition_type(&mut self, node: &MediaConditionType)
Visit a node of type MediaConditionType
.
By default, this method calls [MediaConditionType::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_media_condition_without_or(&mut self, node: &MediaConditionWithoutOr)
fn visit_media_condition_without_or(&mut self, node: &MediaConditionWithoutOr)
Visit a node of type MediaConditionWithoutOr
.
By default, this method calls [MediaConditionWithoutOr::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_media_condition_without_or_type(
&mut self,
node: &MediaConditionWithoutOrType,
)
fn visit_media_condition_without_or_type( &mut self, node: &MediaConditionWithoutOrType, )
Visit a node of type MediaConditionWithoutOrType
.
By default, this method calls [MediaConditionWithoutOrType::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_media_condition_without_or_types(
&mut self,
node: &[MediaConditionWithoutOrType],
)
fn visit_media_condition_without_or_types( &mut self, node: &[MediaConditionWithoutOrType], )
Visit a node of type Vec < MediaConditionWithoutOrType >
.
By default, this method calls [Vec < MediaConditionWithoutOrType >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_media_feature(&mut self, node: &MediaFeature)
fn visit_media_feature(&mut self, node: &MediaFeature)
Visit a node of type MediaFeature
.
By default, this method calls [MediaFeature::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_media_feature_boolean(&mut self, node: &MediaFeatureBoolean)
fn visit_media_feature_boolean(&mut self, node: &MediaFeatureBoolean)
Visit a node of type MediaFeatureBoolean
.
By default, this method calls [MediaFeatureBoolean::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_media_feature_name(&mut self, node: &MediaFeatureName)
fn visit_media_feature_name(&mut self, node: &MediaFeatureName)
Visit a node of type MediaFeatureName
.
By default, this method calls [MediaFeatureName::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_media_feature_plain(&mut self, node: &MediaFeaturePlain)
fn visit_media_feature_plain(&mut self, node: &MediaFeaturePlain)
Visit a node of type MediaFeaturePlain
.
By default, this method calls [MediaFeaturePlain::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_media_feature_range(&mut self, node: &MediaFeatureRange)
fn visit_media_feature_range(&mut self, node: &MediaFeatureRange)
Visit a node of type MediaFeatureRange
.
By default, this method calls [MediaFeatureRange::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_media_feature_range_comparison(
&mut self,
node: &MediaFeatureRangeComparison,
)
fn visit_media_feature_range_comparison( &mut self, node: &MediaFeatureRangeComparison, )
Visit a node of type MediaFeatureRangeComparison
.
By default, this method calls [MediaFeatureRangeComparison::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_media_feature_range_interval(
&mut self,
node: &MediaFeatureRangeInterval,
)
fn visit_media_feature_range_interval( &mut self, node: &MediaFeatureRangeInterval, )
Visit a node of type MediaFeatureRangeInterval
.
By default, this method calls [MediaFeatureRangeInterval::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_media_feature_value(&mut self, node: &MediaFeatureValue)
fn visit_media_feature_value(&mut self, node: &MediaFeatureValue)
Visit a node of type MediaFeatureValue
.
By default, this method calls [MediaFeatureValue::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_media_in_parens(&mut self, node: &MediaInParens)
fn visit_media_in_parens(&mut self, node: &MediaInParens)
Visit a node of type MediaInParens
.
By default, this method calls [MediaInParens::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_media_not(&mut self, node: &MediaNot)
fn visit_media_not(&mut self, node: &MediaNot)
Visit a node of type MediaNot
.
By default, this method calls [MediaNot::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_media_or(&mut self, node: &MediaOr)
fn visit_media_or(&mut self, node: &MediaOr)
Visit a node of type MediaOr
.
By default, this method calls [MediaOr::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_media_query(&mut self, node: &MediaQuery)
fn visit_media_query(&mut self, node: &MediaQuery)
Visit a node of type MediaQuery
.
By default, this method calls [MediaQuery::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_media_query_list(&mut self, node: &MediaQueryList)
fn visit_media_query_list(&mut self, node: &MediaQueryList)
Visit a node of type MediaQueryList
.
By default, this method calls [MediaQueryList::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_media_querys(&mut self, node: &[MediaQuery])
fn visit_media_querys(&mut self, node: &[MediaQuery])
Visit a node of type Vec < MediaQuery >
.
By default, this method calls [Vec < MediaQuery >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_media_type(&mut self, node: &MediaType)
fn visit_media_type(&mut self, node: &MediaType)
Visit a node of type MediaType
.
By default, this method calls [MediaType::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_named_namespace(&mut self, node: &NamedNamespace)
fn visit_named_namespace(&mut self, node: &NamedNamespace)
Visit a node of type NamedNamespace
.
By default, this method calls [NamedNamespace::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_namespace(&mut self, node: &Namespace)
fn visit_namespace(&mut self, node: &Namespace)
Visit a node of type Namespace
.
By default, this method calls [Namespace::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_namespace_prefix(&mut self, node: &NamespacePrefix)
fn visit_namespace_prefix(&mut self, node: &NamespacePrefix)
Visit a node of type NamespacePrefix
.
By default, this method calls [NamespacePrefix::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_namespace_prelude(&mut self, node: &NamespacePrelude)
fn visit_namespace_prelude(&mut self, node: &NamespacePrelude)
Visit a node of type NamespacePrelude
.
By default, this method calls [NamespacePrelude::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_namespace_prelude_uri(&mut self, node: &NamespacePreludeUri)
fn visit_namespace_prelude_uri(&mut self, node: &NamespacePreludeUri)
Visit a node of type NamespacePreludeUri
.
By default, this method calls [NamespacePreludeUri::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_nesting_selector(&mut self, node: &NestingSelector)
fn visit_nesting_selector(&mut self, node: &NestingSelector)
Visit a node of type NestingSelector
.
By default, this method calls [NestingSelector::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_number(&mut self, node: &Number)
fn visit_number(&mut self, node: &Number)
Visit a node of type Number
.
By default, this method calls [Number::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_number_type(&mut self, node: &NumberType)
fn visit_number_type(&mut self, node: &NumberType)
Visit a node of type NumberType
.
By default, this method calls [NumberType::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_opt_at_rule_prelude(&mut self, node: &Option<Box<AtRulePrelude>>)
fn visit_opt_at_rule_prelude(&mut self, node: &Option<Box<AtRulePrelude>>)
Visit a node of type Option < Box < AtRulePrelude > >
.
By default, this method calls [Option < Box < AtRulePrelude > >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_opt_atom(&mut self, node: &Option<Atom>)
fn visit_opt_atom(&mut self, node: &Option<Atom>)
Visit a node of type Option < swc_atoms :: Atom >
.
By default, this method calls [Option < swc_atoms :: Atom >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_opt_attribute_selector_matcher(
&mut self,
node: &Option<AttributeSelectorMatcher>,
)
fn visit_opt_attribute_selector_matcher( &mut self, node: &Option<AttributeSelectorMatcher>, )
Visit a node of type Option < AttributeSelectorMatcher >
.
By default, this method calls [Option < AttributeSelectorMatcher >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_opt_attribute_selector_modifier(
&mut self,
node: &Option<AttributeSelectorModifier>,
)
fn visit_opt_attribute_selector_modifier( &mut self, node: &Option<AttributeSelectorModifier>, )
Visit a node of type Option < AttributeSelectorModifier >
.
By default, this method calls [Option < AttributeSelectorModifier >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_opt_attribute_selector_value(
&mut self,
node: &Option<AttributeSelectorValue>,
)
fn visit_opt_attribute_selector_value( &mut self, node: &Option<AttributeSelectorValue>, )
Visit a node of type Option < AttributeSelectorValue >
.
By default, this method calls [Option < AttributeSelectorValue >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_opt_combinator(&mut self, node: &Option<Combinator>)
fn visit_opt_combinator(&mut self, node: &Option<Combinator>)
Visit a node of type Option < Combinator >
.
By default, this method calls [Option < Combinator >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_opt_container_name(&mut self, node: &Option<ContainerName>)
fn visit_opt_container_name(&mut self, node: &Option<ContainerName>)
Visit a node of type Option < ContainerName >
.
By default, this method calls [Option < ContainerName >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_opt_forgiving_selector_list(
&mut self,
node: &Option<ForgivingSelectorList>,
)
fn visit_opt_forgiving_selector_list( &mut self, node: &Option<ForgivingSelectorList>, )
Visit a node of type Option < ForgivingSelectorList >
.
By default, this method calls [Option < ForgivingSelectorList >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_opt_function(&mut self, node: &Option<Box<Function>>)
fn visit_opt_function(&mut self, node: &Option<Box<Function>>)
Visit a node of type Option < Box < Function > >
.
By default, this method calls [Option < Box < Function > >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_opt_ident(&mut self, node: &Option<Ident>)
fn visit_opt_ident(&mut self, node: &Option<Ident>)
Visit a node of type Option < Ident >
.
By default, this method calls [Option < Ident >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_opt_import_conditions(&mut self, node: &Option<Box<ImportConditions>>)
fn visit_opt_import_conditions(&mut self, node: &Option<Box<ImportConditions>>)
Visit a node of type Option < Box < ImportConditions > >
.
By default, this method calls [Option < Box < ImportConditions > >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_opt_import_layer_name(&mut self, node: &Option<Box<ImportLayerName>>)
fn visit_opt_import_layer_name(&mut self, node: &Option<Box<ImportLayerName>>)
Visit a node of type Option < Box < ImportLayerName > >
.
By default, this method calls [Option < Box < ImportLayerName > >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_opt_important_flag(&mut self, node: &Option<ImportantFlag>)
fn visit_opt_important_flag(&mut self, node: &Option<ImportantFlag>)
Visit a node of type Option < ImportantFlag >
.
By default, this method calls [Option < ImportantFlag >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_opt_media_condition_type(
&mut self,
node: &Option<Box<MediaConditionType>>,
)
fn visit_opt_media_condition_type( &mut self, node: &Option<Box<MediaConditionType>>, )
Visit a node of type Option < Box < MediaConditionType > >
.
By default, this method calls [Option < Box < MediaConditionType > >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_opt_media_query_list(&mut self, node: &Option<Box<MediaQueryList>>)
fn visit_opt_media_query_list(&mut self, node: &Option<Box<MediaQueryList>>)
Visit a node of type Option < Box < MediaQueryList > >
.
By default, this method calls [Option < Box < MediaQueryList > >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_opt_media_type(&mut self, node: &Option<MediaType>)
fn visit_opt_media_type(&mut self, node: &Option<MediaType>)
Visit a node of type Option < MediaType >
.
By default, this method calls [Option < MediaType >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_opt_namespace(&mut self, node: &Option<Namespace>)
fn visit_opt_namespace(&mut self, node: &Option<Namespace>)
Visit a node of type Option < Namespace >
.
By default, this method calls [Option < Namespace >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_opt_namespace_prefix(&mut self, node: &Option<NamespacePrefix>)
fn visit_opt_namespace_prefix(&mut self, node: &Option<NamespacePrefix>)
Visit a node of type Option < NamespacePrefix >
.
By default, this method calls [Option < NamespacePrefix >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_opt_nesting_selector(&mut self, node: &Option<NestingSelector>)
fn visit_opt_nesting_selector(&mut self, node: &Option<NestingSelector>)
Visit a node of type Option < NestingSelector >
.
By default, this method calls [Option < NestingSelector >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_opt_number(&mut self, node: &Option<Number>)
fn visit_opt_number(&mut self, node: &Option<Number>)
Visit a node of type Option < Number >
.
By default, this method calls [Option < Number >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_opt_page_selector_pseudos(
&mut self,
node: &Option<Vec<PageSelectorPseudo>>,
)
fn visit_opt_page_selector_pseudos( &mut self, node: &Option<Vec<PageSelectorPseudo>>, )
Visit a node of type Option < Vec < PageSelectorPseudo > >
.
By default, this method calls [Option < Vec < PageSelectorPseudo > >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_opt_page_selector_type(&mut self, node: &Option<PageSelectorType>)
fn visit_opt_page_selector_type(&mut self, node: &Option<PageSelectorType>)
Visit a node of type Option < PageSelectorType >
.
By default, this method calls [Option < PageSelectorType >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_opt_pseudo_class_selector_childrens(
&mut self,
node: &Option<Vec<PseudoClassSelectorChildren>>,
)
fn visit_opt_pseudo_class_selector_childrens( &mut self, node: &Option<Vec<PseudoClassSelectorChildren>>, )
Visit a node of type Option < Vec < PseudoClassSelectorChildren > >
.
By default, this method calls [Option < Vec < PseudoClassSelectorChildren > >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_opt_pseudo_element_selector_childrens(
&mut self,
node: &Option<Vec<PseudoElementSelectorChildren>>,
)
fn visit_opt_pseudo_element_selector_childrens( &mut self, node: &Option<Vec<PseudoElementSelectorChildren>>, )
Visit a node of type Option < Vec < PseudoElementSelectorChildren > >
.
By default, this method calls [Option < Vec < PseudoElementSelectorChildren > >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_opt_simple_block(&mut self, node: &Option<SimpleBlock>)
fn visit_opt_simple_block(&mut self, node: &Option<SimpleBlock>)
Visit a node of type Option < SimpleBlock >
.
By default, this method calls [Option < SimpleBlock >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_opt_type_selector(&mut self, node: &Option<Box<TypeSelector>>)
fn visit_opt_type_selector(&mut self, node: &Option<Box<TypeSelector>>)
Visit a node of type Option < Box < TypeSelector > >
.
By default, this method calls [Option < Box < TypeSelector > >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_opt_url_modifiers(&mut self, node: &Option<Vec<UrlModifier>>)
fn visit_opt_url_modifiers(&mut self, node: &Option<Vec<UrlModifier>>)
Visit a node of type Option < Vec < UrlModifier > >
.
By default, this method calls [Option < Vec < UrlModifier > >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_opt_url_value(&mut self, node: &Option<Box<UrlValue>>)
fn visit_opt_url_value(&mut self, node: &Option<Box<UrlValue>>)
Visit a node of type Option < Box < UrlValue > >
.
By default, this method calls [Option < Box < UrlValue > >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_page_selector(&mut self, node: &PageSelector)
fn visit_page_selector(&mut self, node: &PageSelector)
Visit a node of type PageSelector
.
By default, this method calls [PageSelector::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_page_selector_list(&mut self, node: &PageSelectorList)
fn visit_page_selector_list(&mut self, node: &PageSelectorList)
Visit a node of type PageSelectorList
.
By default, this method calls [PageSelectorList::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_page_selector_pseudo(&mut self, node: &PageSelectorPseudo)
fn visit_page_selector_pseudo(&mut self, node: &PageSelectorPseudo)
Visit a node of type PageSelectorPseudo
.
By default, this method calls [PageSelectorPseudo::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_page_selector_pseudos(&mut self, node: &[PageSelectorPseudo])
fn visit_page_selector_pseudos(&mut self, node: &[PageSelectorPseudo])
Visit a node of type Vec < PageSelectorPseudo >
.
By default, this method calls [Vec < PageSelectorPseudo >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_page_selector_type(&mut self, node: &PageSelectorType)
fn visit_page_selector_type(&mut self, node: &PageSelectorType)
Visit a node of type PageSelectorType
.
By default, this method calls [PageSelectorType::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_page_selectors(&mut self, node: &[PageSelector])
fn visit_page_selectors(&mut self, node: &[PageSelector])
Visit a node of type Vec < PageSelector >
.
By default, this method calls [Vec < PageSelector >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_percentage(&mut self, node: &Percentage)
fn visit_percentage(&mut self, node: &Percentage)
Visit a node of type Percentage
.
By default, this method calls [Percentage::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_pseudo_class_selector(&mut self, node: &PseudoClassSelector)
fn visit_pseudo_class_selector(&mut self, node: &PseudoClassSelector)
Visit a node of type PseudoClassSelector
.
By default, this method calls [PseudoClassSelector::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_pseudo_class_selector_children(
&mut self,
node: &PseudoClassSelectorChildren,
)
fn visit_pseudo_class_selector_children( &mut self, node: &PseudoClassSelectorChildren, )
Visit a node of type PseudoClassSelectorChildren
.
By default, this method calls [PseudoClassSelectorChildren::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_pseudo_class_selector_childrens(
&mut self,
node: &[PseudoClassSelectorChildren],
)
fn visit_pseudo_class_selector_childrens( &mut self, node: &[PseudoClassSelectorChildren], )
Visit a node of type Vec < PseudoClassSelectorChildren >
.
By default, this method calls [Vec < PseudoClassSelectorChildren >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_pseudo_element_selector(&mut self, node: &PseudoElementSelector)
fn visit_pseudo_element_selector(&mut self, node: &PseudoElementSelector)
Visit a node of type PseudoElementSelector
.
By default, this method calls [PseudoElementSelector::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_pseudo_element_selector_children(
&mut self,
node: &PseudoElementSelectorChildren,
)
fn visit_pseudo_element_selector_children( &mut self, node: &PseudoElementSelectorChildren, )
Visit a node of type PseudoElementSelectorChildren
.
By default, this method calls [PseudoElementSelectorChildren::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_pseudo_element_selector_childrens(
&mut self,
node: &[PseudoElementSelectorChildren],
)
fn visit_pseudo_element_selector_childrens( &mut self, node: &[PseudoElementSelectorChildren], )
Visit a node of type Vec < PseudoElementSelectorChildren >
.
By default, this method calls [Vec < PseudoElementSelectorChildren >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_qualified_rule(&mut self, node: &QualifiedRule)
fn visit_qualified_rule(&mut self, node: &QualifiedRule)
Visit a node of type QualifiedRule
.
By default, this method calls [QualifiedRule::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_qualified_rule_prelude(&mut self, node: &QualifiedRulePrelude)
fn visit_qualified_rule_prelude(&mut self, node: &QualifiedRulePrelude)
Visit a node of type QualifiedRulePrelude
.
By default, this method calls [QualifiedRulePrelude::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_query_in_parens(&mut self, node: &QueryInParens)
fn visit_query_in_parens(&mut self, node: &QueryInParens)
Visit a node of type QueryInParens
.
By default, this method calls [QueryInParens::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_ratio(&mut self, node: &Ratio)
fn visit_ratio(&mut self, node: &Ratio)
Visit a node of type Ratio
.
By default, this method calls [Ratio::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_relative_selector(&mut self, node: &RelativeSelector)
fn visit_relative_selector(&mut self, node: &RelativeSelector)
Visit a node of type RelativeSelector
.
By default, this method calls [RelativeSelector::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_relative_selector_list(&mut self, node: &RelativeSelectorList)
fn visit_relative_selector_list(&mut self, node: &RelativeSelectorList)
Visit a node of type RelativeSelectorList
.
By default, this method calls [RelativeSelectorList::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_relative_selectors(&mut self, node: &[RelativeSelector])
fn visit_relative_selectors(&mut self, node: &[RelativeSelector])
Visit a node of type Vec < RelativeSelector >
.
By default, this method calls [Vec < RelativeSelector >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_resolution(&mut self, node: &Resolution)
fn visit_resolution(&mut self, node: &Resolution)
Visit a node of type Resolution
.
By default, this method calls [Resolution::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_rule(&mut self, node: &Rule)
fn visit_rule(&mut self, node: &Rule)
Visit a node of type Rule
.
By default, this method calls [Rule::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_rules(&mut self, node: &[Rule])
fn visit_rules(&mut self, node: &[Rule])
Visit a node of type Vec < Rule >
.
By default, this method calls [Vec < Rule >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_scope_range(&mut self, node: &ScopeRange)
fn visit_scope_range(&mut self, node: &ScopeRange)
Visit a node of type ScopeRange
.
By default, this method calls [ScopeRange::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_selector_list(&mut self, node: &SelectorList)
fn visit_selector_list(&mut self, node: &SelectorList)
Visit a node of type SelectorList
.
By default, this method calls [SelectorList::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_sequence_of_custom_idents(&mut self, node: &SequenceOfCustomIdents)
fn visit_sequence_of_custom_idents(&mut self, node: &SequenceOfCustomIdents)
Visit a node of type SequenceOfCustomIdents
.
By default, this method calls [SequenceOfCustomIdents::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_simple_block(&mut self, node: &SimpleBlock)
fn visit_simple_block(&mut self, node: &SimpleBlock)
Visit a node of type SimpleBlock
.
By default, this method calls [SimpleBlock::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_size_feature(&mut self, node: &SizeFeature)
fn visit_size_feature(&mut self, node: &SizeFeature)
Visit a node of type SizeFeature
.
By default, this method calls [SizeFeature::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_size_feature_boolean(&mut self, node: &SizeFeatureBoolean)
fn visit_size_feature_boolean(&mut self, node: &SizeFeatureBoolean)
Visit a node of type SizeFeatureBoolean
.
By default, this method calls [SizeFeatureBoolean::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_size_feature_name(&mut self, node: &SizeFeatureName)
fn visit_size_feature_name(&mut self, node: &SizeFeatureName)
Visit a node of type SizeFeatureName
.
By default, this method calls [SizeFeatureName::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_size_feature_plain(&mut self, node: &SizeFeaturePlain)
fn visit_size_feature_plain(&mut self, node: &SizeFeaturePlain)
Visit a node of type SizeFeaturePlain
.
By default, this method calls [SizeFeaturePlain::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_size_feature_range(&mut self, node: &SizeFeatureRange)
fn visit_size_feature_range(&mut self, node: &SizeFeatureRange)
Visit a node of type SizeFeatureRange
.
By default, this method calls [SizeFeatureRange::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_size_feature_range_comparison(
&mut self,
node: &SizeFeatureRangeComparison,
)
fn visit_size_feature_range_comparison( &mut self, node: &SizeFeatureRangeComparison, )
Visit a node of type SizeFeatureRangeComparison
.
By default, this method calls [SizeFeatureRangeComparison::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_size_feature_range_interval(&mut self, node: &SizeFeatureRangeInterval)
fn visit_size_feature_range_interval(&mut self, node: &SizeFeatureRangeInterval)
Visit a node of type SizeFeatureRangeInterval
.
By default, this method calls [SizeFeatureRangeInterval::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_size_feature_value(&mut self, node: &SizeFeatureValue)
fn visit_size_feature_value(&mut self, node: &SizeFeatureValue)
Visit a node of type SizeFeatureValue
.
By default, this method calls [SizeFeatureValue::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_span(&mut self, node: &Span)
fn visit_span(&mut self, node: &Span)
Visit a node of type swc_common :: Span
.
By default, this method calls [swc_common :: Span::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_str(&mut self, node: &Str)
fn visit_str(&mut self, node: &Str)
Visit a node of type Str
.
By default, this method calls [Str::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_style_block(&mut self, node: &StyleBlock)
fn visit_style_block(&mut self, node: &StyleBlock)
Visit a node of type StyleBlock
.
By default, this method calls [StyleBlock::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_stylesheet(&mut self, node: &Stylesheet)
fn visit_stylesheet(&mut self, node: &Stylesheet)
Visit a node of type Stylesheet
.
By default, this method calls [Stylesheet::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_subclass_selector(&mut self, node: &SubclassSelector)
fn visit_subclass_selector(&mut self, node: &SubclassSelector)
Visit a node of type SubclassSelector
.
By default, this method calls [SubclassSelector::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_subclass_selectors(&mut self, node: &[SubclassSelector])
fn visit_subclass_selectors(&mut self, node: &[SubclassSelector])
Visit a node of type Vec < SubclassSelector >
.
By default, this method calls [Vec < SubclassSelector >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_supports_and(&mut self, node: &SupportsAnd)
fn visit_supports_and(&mut self, node: &SupportsAnd)
Visit a node of type SupportsAnd
.
By default, this method calls [SupportsAnd::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_supports_condition(&mut self, node: &SupportsCondition)
fn visit_supports_condition(&mut self, node: &SupportsCondition)
Visit a node of type SupportsCondition
.
By default, this method calls [SupportsCondition::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_supports_condition_type(&mut self, node: &SupportsConditionType)
fn visit_supports_condition_type(&mut self, node: &SupportsConditionType)
Visit a node of type SupportsConditionType
.
By default, this method calls [SupportsConditionType::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_supports_condition_types(&mut self, node: &[SupportsConditionType])
fn visit_supports_condition_types(&mut self, node: &[SupportsConditionType])
Visit a node of type Vec < SupportsConditionType >
.
By default, this method calls [Vec < SupportsConditionType >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_supports_feature(&mut self, node: &SupportsFeature)
fn visit_supports_feature(&mut self, node: &SupportsFeature)
Visit a node of type SupportsFeature
.
By default, this method calls [SupportsFeature::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_supports_in_parens(&mut self, node: &SupportsInParens)
fn visit_supports_in_parens(&mut self, node: &SupportsInParens)
Visit a node of type SupportsInParens
.
By default, this method calls [SupportsInParens::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_supports_not(&mut self, node: &SupportsNot)
fn visit_supports_not(&mut self, node: &SupportsNot)
Visit a node of type SupportsNot
.
By default, this method calls [SupportsNot::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_supports_or(&mut self, node: &SupportsOr)
fn visit_supports_or(&mut self, node: &SupportsOr)
Visit a node of type SupportsOr
.
By default, this method calls [SupportsOr::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_tag_name_selector(&mut self, node: &TagNameSelector)
fn visit_tag_name_selector(&mut self, node: &TagNameSelector)
Visit a node of type TagNameSelector
.
By default, this method calls [TagNameSelector::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_time(&mut self, node: &Time)
fn visit_time(&mut self, node: &Time)
Visit a node of type Time
.
By default, this method calls [Time::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_time_percentage(&mut self, node: &TimePercentage)
fn visit_time_percentage(&mut self, node: &TimePercentage)
Visit a node of type TimePercentage
.
By default, this method calls [TimePercentage::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_token(&mut self, node: &Token)
fn visit_token(&mut self, node: &Token)
Visit a node of type Token
.
By default, this method calls [Token::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_token_and_span(&mut self, node: &TokenAndSpan)
fn visit_token_and_span(&mut self, node: &TokenAndSpan)
Visit a node of type TokenAndSpan
.
By default, this method calls [TokenAndSpan::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_type_selector(&mut self, node: &TypeSelector)
fn visit_type_selector(&mut self, node: &TypeSelector)
Visit a node of type TypeSelector
.
By default, this method calls [TypeSelector::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_unicode_range(&mut self, node: &UnicodeRange)
fn visit_unicode_range(&mut self, node: &UnicodeRange)
Visit a node of type UnicodeRange
.
By default, this method calls [UnicodeRange::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_universal_selector(&mut self, node: &UniversalSelector)
fn visit_universal_selector(&mut self, node: &UniversalSelector)
Visit a node of type UniversalSelector
.
By default, this method calls [UniversalSelector::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_unknown_dimension(&mut self, node: &UnknownDimension)
fn visit_unknown_dimension(&mut self, node: &UnknownDimension)
Visit a node of type UnknownDimension
.
By default, this method calls [UnknownDimension::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_url(&mut self, node: &Url)
fn visit_url(&mut self, node: &Url)
Visit a node of type Url
.
By default, this method calls [Url::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_url_key_value(&mut self, node: &UrlKeyValue)
fn visit_url_key_value(&mut self, node: &UrlKeyValue)
Visit a node of type UrlKeyValue
.
By default, this method calls [UrlKeyValue::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_url_modifier(&mut self, node: &UrlModifier)
fn visit_url_modifier(&mut self, node: &UrlModifier)
Visit a node of type UrlModifier
.
By default, this method calls [UrlModifier::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_url_modifiers(&mut self, node: &[UrlModifier])
fn visit_url_modifiers(&mut self, node: &[UrlModifier])
Visit a node of type Vec < UrlModifier >
.
By default, this method calls [Vec < UrlModifier >::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_url_value(&mut self, node: &UrlValue)
fn visit_url_value(&mut self, node: &UrlValue)
Visit a node of type UrlValue
.
By default, this method calls [UrlValue::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_url_value_raw(&mut self, node: &UrlValueRaw)
fn visit_url_value_raw(&mut self, node: &UrlValueRaw)
Visit a node of type UrlValueRaw
.
By default, this method calls [UrlValueRaw::visit_children_with
]. If you want to recurse, you need to call it manually.
sourcefn visit_wq_name(&mut self, node: &WqName)
fn visit_wq_name(&mut self, node: &WqName)
Visit a node of type WqName
.
By default, this method calls [WqName::visit_children_with
]. If you want to recurse, you need to call it manually.