Trait swc_css_visit::Fold
source · pub trait Fold {
Show 228 methods
// Provided methods
fn fold_absolute_color_base(
&mut self,
n: AbsoluteColorBase
) -> AbsoluteColorBase { ... }
fn fold_alpha_value(&mut self, n: AlphaValue) -> AlphaValue { ... }
fn fold_an_plus_b(&mut self, n: AnPlusB) -> AnPlusB { ... }
fn fold_an_plus_b_notation(&mut self, n: AnPlusBNotation) -> AnPlusBNotation { ... }
fn fold_angle(&mut self, n: Angle) -> Angle { ... }
fn fold_angle_percentage(&mut self, n: AnglePercentage) -> AnglePercentage { ... }
fn fold_any_namespace(&mut self, n: AnyNamespace) -> AnyNamespace { ... }
fn fold_at_rule(&mut self, n: AtRule) -> AtRule { ... }
fn fold_at_rule_name(&mut self, n: AtRuleName) -> AtRuleName { ... }
fn fold_at_rule_prelude(&mut self, n: AtRulePrelude) -> AtRulePrelude { ... }
fn fold_atom(&mut self, n: Atom) -> Atom { ... }
fn fold_attribute_selector(
&mut self,
n: AttributeSelector
) -> AttributeSelector { ... }
fn fold_attribute_selector_matcher(
&mut self,
n: AttributeSelectorMatcher
) -> AttributeSelectorMatcher { ... }
fn fold_attribute_selector_matcher_value(
&mut self,
n: AttributeSelectorMatcherValue
) -> AttributeSelectorMatcherValue { ... }
fn fold_attribute_selector_modifier(
&mut self,
n: AttributeSelectorModifier
) -> AttributeSelectorModifier { ... }
fn fold_attribute_selector_value(
&mut self,
n: AttributeSelectorValue
) -> AttributeSelectorValue { ... }
fn fold_calc_operator(&mut self, n: CalcOperator) -> CalcOperator { ... }
fn fold_calc_operator_type(
&mut self,
n: CalcOperatorType
) -> CalcOperatorType { ... }
fn fold_calc_product(&mut self, n: CalcProduct) -> CalcProduct { ... }
fn fold_calc_product_or_operator(
&mut self,
n: CalcProductOrOperator
) -> CalcProductOrOperator { ... }
fn fold_calc_product_or_operators(
&mut self,
n: Vec<CalcProductOrOperator>
) -> Vec<CalcProductOrOperator> ⓘ { ... }
fn fold_calc_sum(&mut self, n: CalcSum) -> CalcSum { ... }
fn fold_calc_value(&mut self, n: CalcValue) -> CalcValue { ... }
fn fold_calc_value_or_operator(
&mut self,
n: CalcValueOrOperator
) -> CalcValueOrOperator { ... }
fn fold_calc_value_or_operators(
&mut self,
n: Vec<CalcValueOrOperator>
) -> Vec<CalcValueOrOperator> ⓘ { ... }
fn fold_class_selector(&mut self, n: ClassSelector) -> ClassSelector { ... }
fn fold_cmyk_component(&mut self, n: CmykComponent) -> CmykComponent { ... }
fn fold_color(&mut self, n: Color) -> Color { ... }
fn fold_color_profile_name(
&mut self,
n: ColorProfileName
) -> ColorProfileName { ... }
fn fold_combinator(&mut self, n: Combinator) -> Combinator { ... }
fn fold_combinator_value(&mut self, n: CombinatorValue) -> CombinatorValue { ... }
fn fold_complex_selector(&mut self, n: ComplexSelector) -> ComplexSelector { ... }
fn fold_complex_selector_children(
&mut self,
n: ComplexSelectorChildren
) -> ComplexSelectorChildren { ... }
fn fold_complex_selector_children_vec(
&mut self,
n: Vec<ComplexSelectorChildren>
) -> Vec<ComplexSelectorChildren> ⓘ { ... }
fn fold_complex_selectors(
&mut self,
n: Vec<ComplexSelector>
) -> Vec<ComplexSelector> ⓘ { ... }
fn fold_component_value(&mut self, n: ComponentValue) -> ComponentValue { ... }
fn fold_component_values(
&mut self,
n: Vec<ComponentValue>
) -> Vec<ComponentValue> ⓘ { ... }
fn fold_compound_selector(
&mut self,
n: CompoundSelector
) -> CompoundSelector { ... }
fn fold_compound_selector_list(
&mut self,
n: CompoundSelectorList
) -> CompoundSelectorList { ... }
fn fold_compound_selectors(
&mut self,
n: Vec<CompoundSelector>
) -> Vec<CompoundSelector> ⓘ { ... }
fn fold_container_condition(
&mut self,
n: ContainerCondition
) -> ContainerCondition { ... }
fn fold_container_name(&mut self, n: ContainerName) -> ContainerName { ... }
fn fold_container_query(&mut self, n: ContainerQuery) -> ContainerQuery { ... }
fn fold_container_query_and(
&mut self,
n: ContainerQueryAnd
) -> ContainerQueryAnd { ... }
fn fold_container_query_not(
&mut self,
n: ContainerQueryNot
) -> ContainerQueryNot { ... }
fn fold_container_query_or(
&mut self,
n: ContainerQueryOr
) -> ContainerQueryOr { ... }
fn fold_container_query_type(
&mut self,
n: ContainerQueryType
) -> ContainerQueryType { ... }
fn fold_container_query_types(
&mut self,
n: Vec<ContainerQueryType>
) -> Vec<ContainerQueryType> ⓘ { ... }
fn fold_custom_highlight_name(
&mut self,
n: CustomHighlightName
) -> CustomHighlightName { ... }
fn fold_custom_ident(&mut self, n: CustomIdent) -> CustomIdent { ... }
fn fold_custom_idents(&mut self, n: Vec<CustomIdent>) -> Vec<CustomIdent> ⓘ { ... }
fn fold_custom_media_query(
&mut self,
n: CustomMediaQuery
) -> CustomMediaQuery { ... }
fn fold_custom_media_query_media_type(
&mut self,
n: CustomMediaQueryMediaType
) -> CustomMediaQueryMediaType { ... }
fn fold_custom_property_name(
&mut self,
n: CustomPropertyName
) -> CustomPropertyName { ... }
fn fold_dashed_ident(&mut self, n: DashedIdent) -> DashedIdent { ... }
fn fold_declaration(&mut self, n: Declaration) -> Declaration { ... }
fn fold_declaration_name(&mut self, n: DeclarationName) -> DeclarationName { ... }
fn fold_declaration_or_at_rule(
&mut self,
n: DeclarationOrAtRule
) -> DeclarationOrAtRule { ... }
fn fold_delimiter(&mut self, n: Delimiter) -> Delimiter { ... }
fn fold_delimiter_value(&mut self, n: DelimiterValue) -> DelimiterValue { ... }
fn fold_dimension(&mut self, n: Dimension) -> Dimension { ... }
fn fold_document_prelude(&mut self, n: DocumentPrelude) -> DocumentPrelude { ... }
fn fold_document_prelude_matching_function(
&mut self,
n: DocumentPreludeMatchingFunction
) -> DocumentPreludeMatchingFunction { ... }
fn fold_document_prelude_matching_functions(
&mut self,
n: Vec<DocumentPreludeMatchingFunction>
) -> Vec<DocumentPreludeMatchingFunction> ⓘ { ... }
fn fold_extension_name(&mut self, n: ExtensionName) -> ExtensionName { ... }
fn fold_family_name(&mut self, n: FamilyName) -> FamilyName { ... }
fn fold_family_names(&mut self, n: Vec<FamilyName>) -> Vec<FamilyName> ⓘ { ... }
fn fold_flex(&mut self, n: Flex) -> Flex { ... }
fn fold_font_feature_values_prelude(
&mut self,
n: FontFeatureValuesPrelude
) -> FontFeatureValuesPrelude { ... }
fn fold_forgiving_complex_selector(
&mut self,
n: ForgivingComplexSelector
) -> ForgivingComplexSelector { ... }
fn fold_forgiving_complex_selectors(
&mut self,
n: Vec<ForgivingComplexSelector>
) -> Vec<ForgivingComplexSelector> ⓘ { ... }
fn fold_forgiving_relative_selector(
&mut self,
n: ForgivingRelativeSelector
) -> ForgivingRelativeSelector { ... }
fn fold_forgiving_relative_selector_list(
&mut self,
n: ForgivingRelativeSelectorList
) -> ForgivingRelativeSelectorList { ... }
fn fold_forgiving_relative_selectors(
&mut self,
n: Vec<ForgivingRelativeSelector>
) -> Vec<ForgivingRelativeSelector> ⓘ { ... }
fn fold_forgiving_selector_list(
&mut self,
n: ForgivingSelectorList
) -> ForgivingSelectorList { ... }
fn fold_frequency(&mut self, n: Frequency) -> Frequency { ... }
fn fold_frequency_percentage(
&mut self,
n: FrequencyPercentage
) -> FrequencyPercentage { ... }
fn fold_function(&mut self, n: Function) -> Function { ... }
fn fold_function_name(&mut self, n: FunctionName) -> FunctionName { ... }
fn fold_general_enclosed(&mut self, n: GeneralEnclosed) -> GeneralEnclosed { ... }
fn fold_hex_color(&mut self, n: HexColor) -> HexColor { ... }
fn fold_hue(&mut self, n: Hue) -> Hue { ... }
fn fold_i_32(&mut self, n: i32) -> i32 { ... }
fn fold_id_selector(&mut self, n: IdSelector) -> IdSelector { ... }
fn fold_ident(&mut self, n: Ident) -> Ident { ... }
fn fold_idents(&mut self, n: Vec<Ident>) -> Vec<Ident> ⓘ { ... }
fn fold_import_conditions(
&mut self,
n: ImportConditions
) -> ImportConditions { ... }
fn fold_import_href(&mut self, n: ImportHref) -> ImportHref { ... }
fn fold_import_layer_name(&mut self, n: ImportLayerName) -> ImportLayerName { ... }
fn fold_import_prelude(&mut self, n: ImportPrelude) -> ImportPrelude { ... }
fn fold_important_flag(&mut self, n: ImportantFlag) -> ImportantFlag { ... }
fn fold_integer(&mut self, n: Integer) -> Integer { ... }
fn fold_js_word(&mut self, n: JsWord) -> JsWord { ... }
fn fold_keyframe_block(&mut self, n: KeyframeBlock) -> KeyframeBlock { ... }
fn fold_keyframe_selector(
&mut self,
n: KeyframeSelector
) -> KeyframeSelector { ... }
fn fold_keyframe_selectors(
&mut self,
n: Vec<KeyframeSelector>
) -> Vec<KeyframeSelector> ⓘ { ... }
fn fold_keyframes_name(&mut self, n: KeyframesName) -> KeyframesName { ... }
fn fold_keyframes_pseudo_function(
&mut self,
n: KeyframesPseudoFunction
) -> KeyframesPseudoFunction { ... }
fn fold_keyframes_pseudo_prefix(
&mut self,
n: KeyframesPseudoPrefix
) -> KeyframesPseudoPrefix { ... }
fn fold_layer_name(&mut self, n: LayerName) -> LayerName { ... }
fn fold_layer_name_list(&mut self, n: LayerNameList) -> LayerNameList { ... }
fn fold_layer_names(&mut self, n: Vec<LayerName>) -> Vec<LayerName> ⓘ { ... }
fn fold_layer_prelude(&mut self, n: LayerPrelude) -> LayerPrelude { ... }
fn fold_length(&mut self, n: Length) -> Length { ... }
fn fold_length_percentage(
&mut self,
n: LengthPercentage
) -> LengthPercentage { ... }
fn fold_list_of_component_values(
&mut self,
n: ListOfComponentValues
) -> ListOfComponentValues { ... }
fn fold_media_and(&mut self, n: MediaAnd) -> MediaAnd { ... }
fn fold_media_condition(&mut self, n: MediaCondition) -> MediaCondition { ... }
fn fold_media_condition_all_type(
&mut self,
n: MediaConditionAllType
) -> MediaConditionAllType { ... }
fn fold_media_condition_all_types(
&mut self,
n: Vec<MediaConditionAllType>
) -> Vec<MediaConditionAllType> ⓘ { ... }
fn fold_media_condition_type(
&mut self,
n: MediaConditionType
) -> MediaConditionType { ... }
fn fold_media_condition_without_or(
&mut self,
n: MediaConditionWithoutOr
) -> MediaConditionWithoutOr { ... }
fn fold_media_condition_without_or_type(
&mut self,
n: MediaConditionWithoutOrType
) -> MediaConditionWithoutOrType { ... }
fn fold_media_condition_without_or_types(
&mut self,
n: Vec<MediaConditionWithoutOrType>
) -> Vec<MediaConditionWithoutOrType> ⓘ { ... }
fn fold_media_feature(&mut self, n: MediaFeature) -> MediaFeature { ... }
fn fold_media_feature_boolean(
&mut self,
n: MediaFeatureBoolean
) -> MediaFeatureBoolean { ... }
fn fold_media_feature_name(
&mut self,
n: MediaFeatureName
) -> MediaFeatureName { ... }
fn fold_media_feature_plain(
&mut self,
n: MediaFeaturePlain
) -> MediaFeaturePlain { ... }
fn fold_media_feature_range(
&mut self,
n: MediaFeatureRange
) -> MediaFeatureRange { ... }
fn fold_media_feature_range_comparison(
&mut self,
n: MediaFeatureRangeComparison
) -> MediaFeatureRangeComparison { ... }
fn fold_media_feature_range_interval(
&mut self,
n: MediaFeatureRangeInterval
) -> MediaFeatureRangeInterval { ... }
fn fold_media_feature_value(
&mut self,
n: MediaFeatureValue
) -> MediaFeatureValue { ... }
fn fold_media_in_parens(&mut self, n: MediaInParens) -> MediaInParens { ... }
fn fold_media_not(&mut self, n: MediaNot) -> MediaNot { ... }
fn fold_media_or(&mut self, n: MediaOr) -> MediaOr { ... }
fn fold_media_queries(&mut self, n: Vec<MediaQuery>) -> Vec<MediaQuery> ⓘ { ... }
fn fold_media_query(&mut self, n: MediaQuery) -> MediaQuery { ... }
fn fold_media_query_list(&mut self, n: MediaQueryList) -> MediaQueryList { ... }
fn fold_media_type(&mut self, n: MediaType) -> MediaType { ... }
fn fold_named_namespace(&mut self, n: NamedNamespace) -> NamedNamespace { ... }
fn fold_namespace(&mut self, n: Namespace) -> Namespace { ... }
fn fold_namespace_prefix(&mut self, n: NamespacePrefix) -> NamespacePrefix { ... }
fn fold_namespace_prelude(
&mut self,
n: NamespacePrelude
) -> NamespacePrelude { ... }
fn fold_namespace_prelude_uri(
&mut self,
n: NamespacePreludeUri
) -> NamespacePreludeUri { ... }
fn fold_nesting_selector(&mut self, n: NestingSelector) -> NestingSelector { ... }
fn fold_number(&mut self, n: Number) -> Number { ... }
fn fold_opt_at_rule_prelude(
&mut self,
n: Option<Box<AtRulePrelude>>
) -> Option<Box<AtRulePrelude>> { ... }
fn fold_opt_atom(&mut self, n: Option<Atom>) -> Option<Atom> { ... }
fn fold_opt_attribute_selector_matcher(
&mut self,
n: Option<AttributeSelectorMatcher>
) -> Option<AttributeSelectorMatcher> { ... }
fn fold_opt_attribute_selector_modifier(
&mut self,
n: Option<AttributeSelectorModifier>
) -> Option<AttributeSelectorModifier> { ... }
fn fold_opt_attribute_selector_value(
&mut self,
n: Option<AttributeSelectorValue>
) -> Option<AttributeSelectorValue> { ... }
fn fold_opt_combinator(
&mut self,
n: Option<Combinator>
) -> Option<Combinator> { ... }
fn fold_opt_container_name(
&mut self,
n: Option<ContainerName>
) -> Option<ContainerName> { ... }
fn fold_opt_function(
&mut self,
n: Option<Box<Function>>
) -> Option<Box<Function>> { ... }
fn fold_opt_i_32(&mut self, n: Option<i32>) -> Option<i32> { ... }
fn fold_opt_ident(&mut self, n: Option<Ident>) -> Option<Ident> { ... }
fn fold_opt_import_conditions(
&mut self,
n: Option<Box<ImportConditions>>
) -> Option<Box<ImportConditions>> { ... }
fn fold_opt_import_layer_name(
&mut self,
n: Option<Box<ImportLayerName>>
) -> Option<Box<ImportLayerName>> { ... }
fn fold_opt_important_flag(
&mut self,
n: Option<ImportantFlag>
) -> Option<ImportantFlag> { ... }
fn fold_opt_js_word(&mut self, n: Option<JsWord>) -> Option<JsWord> { ... }
fn fold_opt_media_condition_type(
&mut self,
n: Option<Box<MediaConditionType>>
) -> Option<Box<MediaConditionType>> { ... }
fn fold_opt_media_query_list(
&mut self,
n: Option<Box<MediaQueryList>>
) -> Option<Box<MediaQueryList>> { ... }
fn fold_opt_media_type(&mut self, n: Option<MediaType>) -> Option<MediaType> { ... }
fn fold_opt_namespace(&mut self, n: Option<Namespace>) -> Option<Namespace> { ... }
fn fold_opt_namespace_prefix(
&mut self,
n: Option<NamespacePrefix>
) -> Option<NamespacePrefix> { ... }
fn fold_opt_nesting_selector(
&mut self,
n: Option<NestingSelector>
) -> Option<NestingSelector> { ... }
fn fold_opt_number(&mut self, n: Option<Number>) -> Option<Number> { ... }
fn fold_opt_page_selector_pseudos(
&mut self,
n: Option<Vec<PageSelectorPseudo>>
) -> Option<Vec<PageSelectorPseudo>> { ... }
fn fold_opt_page_selector_type(
&mut self,
n: Option<PageSelectorType>
) -> Option<PageSelectorType> { ... }
fn fold_opt_pseudo_class_selector_children_vec(
&mut self,
n: Option<Vec<PseudoClassSelectorChildren>>
) -> Option<Vec<PseudoClassSelectorChildren>> { ... }
fn fold_opt_pseudo_element_selector_children_vec(
&mut self,
n: Option<Vec<PseudoElementSelectorChildren>>
) -> Option<Vec<PseudoElementSelectorChildren>> { ... }
fn fold_opt_simple_block(
&mut self,
n: Option<SimpleBlock>
) -> Option<SimpleBlock> { ... }
fn fold_opt_type_selector(
&mut self,
n: Option<Box<TypeSelector>>
) -> Option<Box<TypeSelector>> { ... }
fn fold_opt_url_modifiers(
&mut self,
n: Option<Vec<UrlModifier>>
) -> Option<Vec<UrlModifier>> { ... }
fn fold_opt_url_value(
&mut self,
n: Option<Box<UrlValue>>
) -> Option<Box<UrlValue>> { ... }
fn fold_page_selector(&mut self, n: PageSelector) -> PageSelector { ... }
fn fold_page_selector_list(
&mut self,
n: PageSelectorList
) -> PageSelectorList { ... }
fn fold_page_selector_pseudo(
&mut self,
n: PageSelectorPseudo
) -> PageSelectorPseudo { ... }
fn fold_page_selector_pseudos(
&mut self,
n: Vec<PageSelectorPseudo>
) -> Vec<PageSelectorPseudo> ⓘ { ... }
fn fold_page_selector_type(
&mut self,
n: PageSelectorType
) -> PageSelectorType { ... }
fn fold_page_selectors(&mut self, n: Vec<PageSelector>) -> Vec<PageSelector> ⓘ { ... }
fn fold_percentage(&mut self, n: Percentage) -> Percentage { ... }
fn fold_pseudo_class_selector(
&mut self,
n: PseudoClassSelector
) -> PseudoClassSelector { ... }
fn fold_pseudo_class_selector_children(
&mut self,
n: PseudoClassSelectorChildren
) -> PseudoClassSelectorChildren { ... }
fn fold_pseudo_class_selector_children_vec(
&mut self,
n: Vec<PseudoClassSelectorChildren>
) -> Vec<PseudoClassSelectorChildren> ⓘ { ... }
fn fold_pseudo_element_selector(
&mut self,
n: PseudoElementSelector
) -> PseudoElementSelector { ... }
fn fold_pseudo_element_selector_children(
&mut self,
n: PseudoElementSelectorChildren
) -> PseudoElementSelectorChildren { ... }
fn fold_pseudo_element_selector_children_vec(
&mut self,
n: Vec<PseudoElementSelectorChildren>
) -> Vec<PseudoElementSelectorChildren> ⓘ { ... }
fn fold_qualified_rule(&mut self, n: QualifiedRule) -> QualifiedRule { ... }
fn fold_qualified_rule_prelude(
&mut self,
n: QualifiedRulePrelude
) -> QualifiedRulePrelude { ... }
fn fold_query_in_parens(&mut self, n: QueryInParens) -> QueryInParens { ... }
fn fold_ratio(&mut self, n: Ratio) -> Ratio { ... }
fn fold_relative_selector(
&mut self,
n: RelativeSelector
) -> RelativeSelector { ... }
fn fold_relative_selector_list(
&mut self,
n: RelativeSelectorList
) -> RelativeSelectorList { ... }
fn fold_relative_selectors(
&mut self,
n: Vec<RelativeSelector>
) -> Vec<RelativeSelector> ⓘ { ... }
fn fold_resolution(&mut self, n: Resolution) -> Resolution { ... }
fn fold_rule(&mut self, n: Rule) -> Rule { ... }
fn fold_rules(&mut self, n: Vec<Rule>) -> Vec<Rule> ⓘ { ... }
fn fold_selector_list(&mut self, n: SelectorList) -> SelectorList { ... }
fn fold_sequence_of_custom_idents(
&mut self,
n: SequenceOfCustomIdents
) -> SequenceOfCustomIdents { ... }
fn fold_simple_block(&mut self, n: SimpleBlock) -> SimpleBlock { ... }
fn fold_size_feature(&mut self, n: SizeFeature) -> SizeFeature { ... }
fn fold_size_feature_boolean(
&mut self,
n: SizeFeatureBoolean
) -> SizeFeatureBoolean { ... }
fn fold_size_feature_name(&mut self, n: SizeFeatureName) -> SizeFeatureName { ... }
fn fold_size_feature_plain(
&mut self,
n: SizeFeaturePlain
) -> SizeFeaturePlain { ... }
fn fold_size_feature_range(
&mut self,
n: SizeFeatureRange
) -> SizeFeatureRange { ... }
fn fold_size_feature_range_comparison(
&mut self,
n: SizeFeatureRangeComparison
) -> SizeFeatureRangeComparison { ... }
fn fold_size_feature_range_interval(
&mut self,
n: SizeFeatureRangeInterval
) -> SizeFeatureRangeInterval { ... }
fn fold_size_feature_value(
&mut self,
n: SizeFeatureValue
) -> SizeFeatureValue { ... }
fn fold_span(&mut self, n: Span) -> Span { ... }
fn fold_str(&mut self, n: Str) -> Str { ... }
fn fold_style_block(&mut self, n: StyleBlock) -> StyleBlock { ... }
fn fold_stylesheet(&mut self, n: Stylesheet) -> Stylesheet { ... }
fn fold_subclass_selector(
&mut self,
n: SubclassSelector
) -> SubclassSelector { ... }
fn fold_subclass_selectors(
&mut self,
n: Vec<SubclassSelector>
) -> Vec<SubclassSelector> ⓘ { ... }
fn fold_supports_and(&mut self, n: SupportsAnd) -> SupportsAnd { ... }
fn fold_supports_condition(
&mut self,
n: SupportsCondition
) -> SupportsCondition { ... }
fn fold_supports_condition_type(
&mut self,
n: SupportsConditionType
) -> SupportsConditionType { ... }
fn fold_supports_condition_types(
&mut self,
n: Vec<SupportsConditionType>
) -> Vec<SupportsConditionType> ⓘ { ... }
fn fold_supports_feature(&mut self, n: SupportsFeature) -> SupportsFeature { ... }
fn fold_supports_in_parens(
&mut self,
n: SupportsInParens
) -> SupportsInParens { ... }
fn fold_supports_not(&mut self, n: SupportsNot) -> SupportsNot { ... }
fn fold_supports_or(&mut self, n: SupportsOr) -> SupportsOr { ... }
fn fold_tag_name_selector(&mut self, n: TagNameSelector) -> TagNameSelector { ... }
fn fold_time(&mut self, n: Time) -> Time { ... }
fn fold_time_percentage(&mut self, n: TimePercentage) -> TimePercentage { ... }
fn fold_token(&mut self, n: Token) -> Token { ... }
fn fold_token_and_span(&mut self, n: TokenAndSpan) -> TokenAndSpan { ... }
fn fold_type_selector(&mut self, n: TypeSelector) -> TypeSelector { ... }
fn fold_unicode_range(&mut self, n: UnicodeRange) -> UnicodeRange { ... }
fn fold_universal_selector(
&mut self,
n: UniversalSelector
) -> UniversalSelector { ... }
fn fold_unknown_dimension(
&mut self,
n: UnknownDimension
) -> UnknownDimension { ... }
fn fold_url(&mut self, n: Url) -> Url { ... }
fn fold_url_modifier(&mut self, n: UrlModifier) -> UrlModifier { ... }
fn fold_url_modifiers(&mut self, n: Vec<UrlModifier>) -> Vec<UrlModifier> ⓘ { ... }
fn fold_url_value(&mut self, n: UrlValue) -> UrlValue { ... }
fn fold_url_value_raw(&mut self, n: UrlValueRaw) -> UrlValueRaw { ... }
fn fold_wq_name(&mut self, n: WqName) -> WqName { ... }
}
Provided Methods§
sourcefn fold_absolute_color_base(
&mut self,
n: AbsoluteColorBase
) -> AbsoluteColorBase
fn fold_absolute_color_base( &mut self, n: AbsoluteColorBase ) -> AbsoluteColorBase
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_alpha_value(&mut self, n: AlphaValue) -> AlphaValue
fn fold_alpha_value(&mut self, n: AlphaValue) -> AlphaValue
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_an_plus_b(&mut self, n: AnPlusB) -> AnPlusB
fn fold_an_plus_b(&mut self, n: AnPlusB) -> AnPlusB
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_an_plus_b_notation(&mut self, n: AnPlusBNotation) -> AnPlusBNotation
fn fold_an_plus_b_notation(&mut self, n: AnPlusBNotation) -> AnPlusBNotation
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_angle(&mut self, n: Angle) -> Angle
fn fold_angle(&mut self, n: Angle) -> Angle
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_angle_percentage(&mut self, n: AnglePercentage) -> AnglePercentage
fn fold_angle_percentage(&mut self, n: AnglePercentage) -> AnglePercentage
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_any_namespace(&mut self, n: AnyNamespace) -> AnyNamespace
fn fold_any_namespace(&mut self, n: AnyNamespace) -> AnyNamespace
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_at_rule(&mut self, n: AtRule) -> AtRule
fn fold_at_rule(&mut self, n: AtRule) -> AtRule
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_at_rule_name(&mut self, n: AtRuleName) -> AtRuleName
fn fold_at_rule_name(&mut self, n: AtRuleName) -> AtRuleName
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_at_rule_prelude(&mut self, n: AtRulePrelude) -> AtRulePrelude
fn fold_at_rule_prelude(&mut self, n: AtRulePrelude) -> AtRulePrelude
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_atom(&mut self, n: Atom) -> Atom
sourcefn fold_attribute_selector(&mut self, n: AttributeSelector) -> AttributeSelector
fn fold_attribute_selector(&mut self, n: AttributeSelector) -> AttributeSelector
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_attribute_selector_matcher(
&mut self,
n: AttributeSelectorMatcher
) -> AttributeSelectorMatcher
fn fold_attribute_selector_matcher( &mut self, n: AttributeSelectorMatcher ) -> AttributeSelectorMatcher
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_attribute_selector_matcher_value( &mut self, n: AttributeSelectorMatcherValue ) -> AttributeSelectorMatcherValue
sourcefn fold_attribute_selector_modifier(
&mut self,
n: AttributeSelectorModifier
) -> AttributeSelectorModifier
fn fold_attribute_selector_modifier( &mut self, n: AttributeSelectorModifier ) -> AttributeSelectorModifier
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_attribute_selector_value(
&mut self,
n: AttributeSelectorValue
) -> AttributeSelectorValue
fn fold_attribute_selector_value( &mut self, n: AttributeSelectorValue ) -> AttributeSelectorValue
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_calc_operator(&mut self, n: CalcOperator) -> CalcOperator
fn fold_calc_operator(&mut self, n: CalcOperator) -> CalcOperator
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_calc_operator_type(&mut self, n: CalcOperatorType) -> CalcOperatorType
fn fold_calc_operator_type(&mut self, n: CalcOperatorType) -> CalcOperatorType
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_calc_product(&mut self, n: CalcProduct) -> CalcProduct
fn fold_calc_product(&mut self, n: CalcProduct) -> CalcProduct
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_calc_product_or_operator(
&mut self,
n: CalcProductOrOperator
) -> CalcProductOrOperator
fn fold_calc_product_or_operator( &mut self, n: CalcProductOrOperator ) -> CalcProductOrOperator
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_calc_product_or_operators( &mut self, n: Vec<CalcProductOrOperator> ) -> Vec<CalcProductOrOperator> ⓘ
sourcefn fold_calc_sum(&mut self, n: CalcSum) -> CalcSum
fn fold_calc_sum(&mut self, n: CalcSum) -> CalcSum
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_calc_value(&mut self, n: CalcValue) -> CalcValue
fn fold_calc_value(&mut self, n: CalcValue) -> CalcValue
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_calc_value_or_operator(
&mut self,
n: CalcValueOrOperator
) -> CalcValueOrOperator
fn fold_calc_value_or_operator( &mut self, n: CalcValueOrOperator ) -> CalcValueOrOperator
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_calc_value_or_operators( &mut self, n: Vec<CalcValueOrOperator> ) -> Vec<CalcValueOrOperator> ⓘ
sourcefn fold_class_selector(&mut self, n: ClassSelector) -> ClassSelector
fn fold_class_selector(&mut self, n: ClassSelector) -> ClassSelector
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_cmyk_component(&mut self, n: CmykComponent) -> CmykComponent
fn fold_cmyk_component(&mut self, n: CmykComponent) -> CmykComponent
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_color(&mut self, n: Color) -> Color
fn fold_color(&mut self, n: Color) -> Color
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_color_profile_name(&mut self, n: ColorProfileName) -> ColorProfileName
fn fold_color_profile_name(&mut self, n: ColorProfileName) -> ColorProfileName
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_combinator(&mut self, n: Combinator) -> Combinator
fn fold_combinator(&mut self, n: Combinator) -> Combinator
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_combinator_value(&mut self, n: CombinatorValue) -> CombinatorValue
sourcefn fold_complex_selector(&mut self, n: ComplexSelector) -> ComplexSelector
fn fold_complex_selector(&mut self, n: ComplexSelector) -> ComplexSelector
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_complex_selector_children(
&mut self,
n: ComplexSelectorChildren
) -> ComplexSelectorChildren
fn fold_complex_selector_children( &mut self, n: ComplexSelectorChildren ) -> ComplexSelectorChildren
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_complex_selector_children_vec( &mut self, n: Vec<ComplexSelectorChildren> ) -> Vec<ComplexSelectorChildren> ⓘ
fn fold_complex_selectors( &mut self, n: Vec<ComplexSelector> ) -> Vec<ComplexSelector> ⓘ
sourcefn fold_component_value(&mut self, n: ComponentValue) -> ComponentValue
fn fold_component_value(&mut self, n: ComponentValue) -> ComponentValue
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_component_values( &mut self, n: Vec<ComponentValue> ) -> Vec<ComponentValue> ⓘ
sourcefn fold_compound_selector(&mut self, n: CompoundSelector) -> CompoundSelector
fn fold_compound_selector(&mut self, n: CompoundSelector) -> CompoundSelector
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_compound_selector_list(
&mut self,
n: CompoundSelectorList
) -> CompoundSelectorList
fn fold_compound_selector_list( &mut self, n: CompoundSelectorList ) -> CompoundSelectorList
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_compound_selectors( &mut self, n: Vec<CompoundSelector> ) -> Vec<CompoundSelector> ⓘ
sourcefn fold_container_condition(
&mut self,
n: ContainerCondition
) -> ContainerCondition
fn fold_container_condition( &mut self, n: ContainerCondition ) -> ContainerCondition
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_container_name(&mut self, n: ContainerName) -> ContainerName
fn fold_container_name(&mut self, n: ContainerName) -> ContainerName
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_container_query(&mut self, n: ContainerQuery) -> ContainerQuery
fn fold_container_query(&mut self, n: ContainerQuery) -> ContainerQuery
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_container_query_and(
&mut self,
n: ContainerQueryAnd
) -> ContainerQueryAnd
fn fold_container_query_and( &mut self, n: ContainerQueryAnd ) -> ContainerQueryAnd
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_container_query_not(
&mut self,
n: ContainerQueryNot
) -> ContainerQueryNot
fn fold_container_query_not( &mut self, n: ContainerQueryNot ) -> ContainerQueryNot
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_container_query_or(&mut self, n: ContainerQueryOr) -> ContainerQueryOr
fn fold_container_query_or(&mut self, n: ContainerQueryOr) -> ContainerQueryOr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_container_query_type(
&mut self,
n: ContainerQueryType
) -> ContainerQueryType
fn fold_container_query_type( &mut self, n: ContainerQueryType ) -> ContainerQueryType
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_container_query_types( &mut self, n: Vec<ContainerQueryType> ) -> Vec<ContainerQueryType> ⓘ
sourcefn fold_custom_highlight_name(
&mut self,
n: CustomHighlightName
) -> CustomHighlightName
fn fold_custom_highlight_name( &mut self, n: CustomHighlightName ) -> CustomHighlightName
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_custom_ident(&mut self, n: CustomIdent) -> CustomIdent
fn fold_custom_ident(&mut self, n: CustomIdent) -> CustomIdent
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_custom_idents(&mut self, n: Vec<CustomIdent>) -> Vec<CustomIdent> ⓘ
sourcefn fold_custom_media_query(&mut self, n: CustomMediaQuery) -> CustomMediaQuery
fn fold_custom_media_query(&mut self, n: CustomMediaQuery) -> CustomMediaQuery
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_custom_media_query_media_type(
&mut self,
n: CustomMediaQueryMediaType
) -> CustomMediaQueryMediaType
fn fold_custom_media_query_media_type( &mut self, n: CustomMediaQueryMediaType ) -> CustomMediaQueryMediaType
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_custom_property_name(
&mut self,
n: CustomPropertyName
) -> CustomPropertyName
fn fold_custom_property_name( &mut self, n: CustomPropertyName ) -> CustomPropertyName
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_dashed_ident(&mut self, n: DashedIdent) -> DashedIdent
fn fold_dashed_ident(&mut self, n: DashedIdent) -> DashedIdent
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_declaration(&mut self, n: Declaration) -> Declaration
fn fold_declaration(&mut self, n: Declaration) -> Declaration
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_declaration_name(&mut self, n: DeclarationName) -> DeclarationName
fn fold_declaration_name(&mut self, n: DeclarationName) -> DeclarationName
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_declaration_or_at_rule(
&mut self,
n: DeclarationOrAtRule
) -> DeclarationOrAtRule
fn fold_declaration_or_at_rule( &mut self, n: DeclarationOrAtRule ) -> DeclarationOrAtRule
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_delimiter(&mut self, n: Delimiter) -> Delimiter
fn fold_delimiter(&mut self, n: Delimiter) -> Delimiter
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_delimiter_value(&mut self, n: DelimiterValue) -> DelimiterValue
fn fold_delimiter_value(&mut self, n: DelimiterValue) -> DelimiterValue
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_dimension(&mut self, n: Dimension) -> Dimension
fn fold_dimension(&mut self, n: Dimension) -> Dimension
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_document_prelude(&mut self, n: DocumentPrelude) -> DocumentPrelude
fn fold_document_prelude(&mut self, n: DocumentPrelude) -> DocumentPrelude
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_document_prelude_matching_function(
&mut self,
n: DocumentPreludeMatchingFunction
) -> DocumentPreludeMatchingFunction
fn fold_document_prelude_matching_function( &mut self, n: DocumentPreludeMatchingFunction ) -> DocumentPreludeMatchingFunction
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_document_prelude_matching_functions( &mut self, n: Vec<DocumentPreludeMatchingFunction> ) -> Vec<DocumentPreludeMatchingFunction> ⓘ
sourcefn fold_extension_name(&mut self, n: ExtensionName) -> ExtensionName
fn fold_extension_name(&mut self, n: ExtensionName) -> ExtensionName
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_family_name(&mut self, n: FamilyName) -> FamilyName
fn fold_family_name(&mut self, n: FamilyName) -> FamilyName
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_family_names(&mut self, n: Vec<FamilyName>) -> Vec<FamilyName> ⓘ
sourcefn fold_flex(&mut self, n: Flex) -> Flex
fn fold_flex(&mut self, n: Flex) -> Flex
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_font_feature_values_prelude(
&mut self,
n: FontFeatureValuesPrelude
) -> FontFeatureValuesPrelude
fn fold_font_feature_values_prelude( &mut self, n: FontFeatureValuesPrelude ) -> FontFeatureValuesPrelude
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_forgiving_complex_selector(
&mut self,
n: ForgivingComplexSelector
) -> ForgivingComplexSelector
fn fold_forgiving_complex_selector( &mut self, n: ForgivingComplexSelector ) -> ForgivingComplexSelector
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_forgiving_complex_selectors( &mut self, n: Vec<ForgivingComplexSelector> ) -> Vec<ForgivingComplexSelector> ⓘ
sourcefn fold_forgiving_relative_selector(
&mut self,
n: ForgivingRelativeSelector
) -> ForgivingRelativeSelector
fn fold_forgiving_relative_selector( &mut self, n: ForgivingRelativeSelector ) -> ForgivingRelativeSelector
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_forgiving_relative_selector_list(
&mut self,
n: ForgivingRelativeSelectorList
) -> ForgivingRelativeSelectorList
fn fold_forgiving_relative_selector_list( &mut self, n: ForgivingRelativeSelectorList ) -> ForgivingRelativeSelectorList
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_forgiving_relative_selectors( &mut self, n: Vec<ForgivingRelativeSelector> ) -> Vec<ForgivingRelativeSelector> ⓘ
sourcefn fold_forgiving_selector_list(
&mut self,
n: ForgivingSelectorList
) -> ForgivingSelectorList
fn fold_forgiving_selector_list( &mut self, n: ForgivingSelectorList ) -> ForgivingSelectorList
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_frequency(&mut self, n: Frequency) -> Frequency
fn fold_frequency(&mut self, n: Frequency) -> Frequency
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_frequency_percentage(
&mut self,
n: FrequencyPercentage
) -> FrequencyPercentage
fn fold_frequency_percentage( &mut self, n: FrequencyPercentage ) -> FrequencyPercentage
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_function(&mut self, n: Function) -> Function
fn fold_function(&mut self, n: Function) -> Function
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_function_name(&mut self, n: FunctionName) -> FunctionName
fn fold_function_name(&mut self, n: FunctionName) -> FunctionName
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_general_enclosed(&mut self, n: GeneralEnclosed) -> GeneralEnclosed
fn fold_general_enclosed(&mut self, n: GeneralEnclosed) -> GeneralEnclosed
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_hex_color(&mut self, n: HexColor) -> HexColor
fn fold_hex_color(&mut self, n: HexColor) -> HexColor
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_hue(&mut self, n: Hue) -> Hue
fn fold_hue(&mut self, n: Hue) -> Hue
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_i_32(&mut self, n: i32) -> i32
sourcefn fold_id_selector(&mut self, n: IdSelector) -> IdSelector
fn fold_id_selector(&mut self, n: IdSelector) -> IdSelector
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ident(&mut self, n: Ident) -> Ident
fn fold_ident(&mut self, n: Ident) -> Ident
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_idents(&mut self, n: Vec<Ident>) -> Vec<Ident> ⓘ
sourcefn fold_import_conditions(&mut self, n: ImportConditions) -> ImportConditions
fn fold_import_conditions(&mut self, n: ImportConditions) -> ImportConditions
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_import_href(&mut self, n: ImportHref) -> ImportHref
fn fold_import_href(&mut self, n: ImportHref) -> ImportHref
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_import_layer_name(&mut self, n: ImportLayerName) -> ImportLayerName
fn fold_import_layer_name(&mut self, n: ImportLayerName) -> ImportLayerName
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_import_prelude(&mut self, n: ImportPrelude) -> ImportPrelude
fn fold_import_prelude(&mut self, n: ImportPrelude) -> ImportPrelude
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_important_flag(&mut self, n: ImportantFlag) -> ImportantFlag
fn fold_important_flag(&mut self, n: ImportantFlag) -> ImportantFlag
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_integer(&mut self, n: Integer) -> Integer
fn fold_integer(&mut self, n: Integer) -> Integer
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_js_word(&mut self, n: JsWord) -> JsWord
sourcefn fold_keyframe_block(&mut self, n: KeyframeBlock) -> KeyframeBlock
fn fold_keyframe_block(&mut self, n: KeyframeBlock) -> KeyframeBlock
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_keyframe_selector(&mut self, n: KeyframeSelector) -> KeyframeSelector
fn fold_keyframe_selector(&mut self, n: KeyframeSelector) -> KeyframeSelector
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_keyframe_selectors( &mut self, n: Vec<KeyframeSelector> ) -> Vec<KeyframeSelector> ⓘ
sourcefn fold_keyframes_name(&mut self, n: KeyframesName) -> KeyframesName
fn fold_keyframes_name(&mut self, n: KeyframesName) -> KeyframesName
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_keyframes_pseudo_function(
&mut self,
n: KeyframesPseudoFunction
) -> KeyframesPseudoFunction
fn fold_keyframes_pseudo_function( &mut self, n: KeyframesPseudoFunction ) -> KeyframesPseudoFunction
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_keyframes_pseudo_prefix(
&mut self,
n: KeyframesPseudoPrefix
) -> KeyframesPseudoPrefix
fn fold_keyframes_pseudo_prefix( &mut self, n: KeyframesPseudoPrefix ) -> KeyframesPseudoPrefix
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_layer_name(&mut self, n: LayerName) -> LayerName
fn fold_layer_name(&mut self, n: LayerName) -> LayerName
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_layer_name_list(&mut self, n: LayerNameList) -> LayerNameList
fn fold_layer_name_list(&mut self, n: LayerNameList) -> LayerNameList
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_layer_names(&mut self, n: Vec<LayerName>) -> Vec<LayerName> ⓘ
sourcefn fold_layer_prelude(&mut self, n: LayerPrelude) -> LayerPrelude
fn fold_layer_prelude(&mut self, n: LayerPrelude) -> LayerPrelude
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_length(&mut self, n: Length) -> Length
fn fold_length(&mut self, n: Length) -> Length
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_length_percentage(&mut self, n: LengthPercentage) -> LengthPercentage
fn fold_length_percentage(&mut self, n: LengthPercentage) -> LengthPercentage
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_list_of_component_values(
&mut self,
n: ListOfComponentValues
) -> ListOfComponentValues
fn fold_list_of_component_values( &mut self, n: ListOfComponentValues ) -> ListOfComponentValues
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_media_and(&mut self, n: MediaAnd) -> MediaAnd
fn fold_media_and(&mut self, n: MediaAnd) -> MediaAnd
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_media_condition(&mut self, n: MediaCondition) -> MediaCondition
fn fold_media_condition(&mut self, n: MediaCondition) -> MediaCondition
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_media_condition_all_type(
&mut self,
n: MediaConditionAllType
) -> MediaConditionAllType
fn fold_media_condition_all_type( &mut self, n: MediaConditionAllType ) -> MediaConditionAllType
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_media_condition_all_types( &mut self, n: Vec<MediaConditionAllType> ) -> Vec<MediaConditionAllType> ⓘ
sourcefn fold_media_condition_type(
&mut self,
n: MediaConditionType
) -> MediaConditionType
fn fold_media_condition_type( &mut self, n: MediaConditionType ) -> MediaConditionType
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_media_condition_without_or(
&mut self,
n: MediaConditionWithoutOr
) -> MediaConditionWithoutOr
fn fold_media_condition_without_or( &mut self, n: MediaConditionWithoutOr ) -> MediaConditionWithoutOr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_media_condition_without_or_type(
&mut self,
n: MediaConditionWithoutOrType
) -> MediaConditionWithoutOrType
fn fold_media_condition_without_or_type( &mut self, n: MediaConditionWithoutOrType ) -> MediaConditionWithoutOrType
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_media_condition_without_or_types( &mut self, n: Vec<MediaConditionWithoutOrType> ) -> Vec<MediaConditionWithoutOrType> ⓘ
sourcefn fold_media_feature(&mut self, n: MediaFeature) -> MediaFeature
fn fold_media_feature(&mut self, n: MediaFeature) -> MediaFeature
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_media_feature_boolean(
&mut self,
n: MediaFeatureBoolean
) -> MediaFeatureBoolean
fn fold_media_feature_boolean( &mut self, n: MediaFeatureBoolean ) -> MediaFeatureBoolean
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_media_feature_name(&mut self, n: MediaFeatureName) -> MediaFeatureName
fn fold_media_feature_name(&mut self, n: MediaFeatureName) -> MediaFeatureName
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_media_feature_plain(
&mut self,
n: MediaFeaturePlain
) -> MediaFeaturePlain
fn fold_media_feature_plain( &mut self, n: MediaFeaturePlain ) -> MediaFeaturePlain
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_media_feature_range(
&mut self,
n: MediaFeatureRange
) -> MediaFeatureRange
fn fold_media_feature_range( &mut self, n: MediaFeatureRange ) -> MediaFeatureRange
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_media_feature_range_comparison( &mut self, n: MediaFeatureRangeComparison ) -> MediaFeatureRangeComparison
sourcefn fold_media_feature_range_interval(
&mut self,
n: MediaFeatureRangeInterval
) -> MediaFeatureRangeInterval
fn fold_media_feature_range_interval( &mut self, n: MediaFeatureRangeInterval ) -> MediaFeatureRangeInterval
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_media_feature_value(
&mut self,
n: MediaFeatureValue
) -> MediaFeatureValue
fn fold_media_feature_value( &mut self, n: MediaFeatureValue ) -> MediaFeatureValue
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_media_in_parens(&mut self, n: MediaInParens) -> MediaInParens
fn fold_media_in_parens(&mut self, n: MediaInParens) -> MediaInParens
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_media_not(&mut self, n: MediaNot) -> MediaNot
fn fold_media_not(&mut self, n: MediaNot) -> MediaNot
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_media_or(&mut self, n: MediaOr) -> MediaOr
fn fold_media_or(&mut self, n: MediaOr) -> MediaOr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_media_queries(&mut self, n: Vec<MediaQuery>) -> Vec<MediaQuery> ⓘ
sourcefn fold_media_query(&mut self, n: MediaQuery) -> MediaQuery
fn fold_media_query(&mut self, n: MediaQuery) -> MediaQuery
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_media_query_list(&mut self, n: MediaQueryList) -> MediaQueryList
fn fold_media_query_list(&mut self, n: MediaQueryList) -> MediaQueryList
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_media_type(&mut self, n: MediaType) -> MediaType
fn fold_media_type(&mut self, n: MediaType) -> MediaType
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_named_namespace(&mut self, n: NamedNamespace) -> NamedNamespace
fn fold_named_namespace(&mut self, n: NamedNamespace) -> NamedNamespace
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_namespace(&mut self, n: Namespace) -> Namespace
fn fold_namespace(&mut self, n: Namespace) -> Namespace
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_namespace_prefix(&mut self, n: NamespacePrefix) -> NamespacePrefix
fn fold_namespace_prefix(&mut self, n: NamespacePrefix) -> NamespacePrefix
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_namespace_prelude(&mut self, n: NamespacePrelude) -> NamespacePrelude
fn fold_namespace_prelude(&mut self, n: NamespacePrelude) -> NamespacePrelude
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_namespace_prelude_uri(
&mut self,
n: NamespacePreludeUri
) -> NamespacePreludeUri
fn fold_namespace_prelude_uri( &mut self, n: NamespacePreludeUri ) -> NamespacePreludeUri
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_nesting_selector(&mut self, n: NestingSelector) -> NestingSelector
fn fold_nesting_selector(&mut self, n: NestingSelector) -> NestingSelector
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_number(&mut self, n: Number) -> Number
fn fold_number(&mut self, n: Number) -> Number
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_opt_at_rule_prelude( &mut self, n: Option<Box<AtRulePrelude>> ) -> Option<Box<AtRulePrelude>>
fn fold_opt_atom(&mut self, n: Option<Atom>) -> Option<Atom>
fn fold_opt_attribute_selector_matcher( &mut self, n: Option<AttributeSelectorMatcher> ) -> Option<AttributeSelectorMatcher>
fn fold_opt_attribute_selector_modifier( &mut self, n: Option<AttributeSelectorModifier> ) -> Option<AttributeSelectorModifier>
fn fold_opt_attribute_selector_value( &mut self, n: Option<AttributeSelectorValue> ) -> Option<AttributeSelectorValue>
fn fold_opt_combinator(&mut self, n: Option<Combinator>) -> Option<Combinator>
fn fold_opt_container_name( &mut self, n: Option<ContainerName> ) -> Option<ContainerName>
fn fold_opt_function( &mut self, n: Option<Box<Function>> ) -> Option<Box<Function>>
fn fold_opt_i_32(&mut self, n: Option<i32>) -> Option<i32>
fn fold_opt_ident(&mut self, n: Option<Ident>) -> Option<Ident>
fn fold_opt_import_conditions( &mut self, n: Option<Box<ImportConditions>> ) -> Option<Box<ImportConditions>>
fn fold_opt_import_layer_name( &mut self, n: Option<Box<ImportLayerName>> ) -> Option<Box<ImportLayerName>>
fn fold_opt_important_flag( &mut self, n: Option<ImportantFlag> ) -> Option<ImportantFlag>
fn fold_opt_js_word(&mut self, n: Option<JsWord>) -> Option<JsWord>
fn fold_opt_media_condition_type( &mut self, n: Option<Box<MediaConditionType>> ) -> Option<Box<MediaConditionType>>
fn fold_opt_media_query_list( &mut self, n: Option<Box<MediaQueryList>> ) -> Option<Box<MediaQueryList>>
fn fold_opt_media_type(&mut self, n: Option<MediaType>) -> Option<MediaType>
fn fold_opt_namespace(&mut self, n: Option<Namespace>) -> Option<Namespace>
fn fold_opt_namespace_prefix( &mut self, n: Option<NamespacePrefix> ) -> Option<NamespacePrefix>
fn fold_opt_nesting_selector( &mut self, n: Option<NestingSelector> ) -> Option<NestingSelector>
fn fold_opt_number(&mut self, n: Option<Number>) -> Option<Number>
fn fold_opt_page_selector_pseudos( &mut self, n: Option<Vec<PageSelectorPseudo>> ) -> Option<Vec<PageSelectorPseudo>>
fn fold_opt_page_selector_type( &mut self, n: Option<PageSelectorType> ) -> Option<PageSelectorType>
fn fold_opt_pseudo_class_selector_children_vec( &mut self, n: Option<Vec<PseudoClassSelectorChildren>> ) -> Option<Vec<PseudoClassSelectorChildren>>
fn fold_opt_pseudo_element_selector_children_vec( &mut self, n: Option<Vec<PseudoElementSelectorChildren>> ) -> Option<Vec<PseudoElementSelectorChildren>>
fn fold_opt_simple_block( &mut self, n: Option<SimpleBlock> ) -> Option<SimpleBlock>
fn fold_opt_type_selector( &mut self, n: Option<Box<TypeSelector>> ) -> Option<Box<TypeSelector>>
fn fold_opt_url_modifiers( &mut self, n: Option<Vec<UrlModifier>> ) -> Option<Vec<UrlModifier>>
fn fold_opt_url_value( &mut self, n: Option<Box<UrlValue>> ) -> Option<Box<UrlValue>>
sourcefn fold_page_selector(&mut self, n: PageSelector) -> PageSelector
fn fold_page_selector(&mut self, n: PageSelector) -> PageSelector
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_page_selector_list(&mut self, n: PageSelectorList) -> PageSelectorList
fn fold_page_selector_list(&mut self, n: PageSelectorList) -> PageSelectorList
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_page_selector_pseudo(
&mut self,
n: PageSelectorPseudo
) -> PageSelectorPseudo
fn fold_page_selector_pseudo( &mut self, n: PageSelectorPseudo ) -> PageSelectorPseudo
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_page_selector_pseudos( &mut self, n: Vec<PageSelectorPseudo> ) -> Vec<PageSelectorPseudo> ⓘ
sourcefn fold_page_selector_type(&mut self, n: PageSelectorType) -> PageSelectorType
fn fold_page_selector_type(&mut self, n: PageSelectorType) -> PageSelectorType
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_page_selectors(&mut self, n: Vec<PageSelector>) -> Vec<PageSelector> ⓘ
sourcefn fold_percentage(&mut self, n: Percentage) -> Percentage
fn fold_percentage(&mut self, n: Percentage) -> Percentage
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_pseudo_class_selector(
&mut self,
n: PseudoClassSelector
) -> PseudoClassSelector
fn fold_pseudo_class_selector( &mut self, n: PseudoClassSelector ) -> PseudoClassSelector
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_pseudo_class_selector_children(
&mut self,
n: PseudoClassSelectorChildren
) -> PseudoClassSelectorChildren
fn fold_pseudo_class_selector_children( &mut self, n: PseudoClassSelectorChildren ) -> PseudoClassSelectorChildren
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_pseudo_class_selector_children_vec( &mut self, n: Vec<PseudoClassSelectorChildren> ) -> Vec<PseudoClassSelectorChildren> ⓘ
sourcefn fold_pseudo_element_selector(
&mut self,
n: PseudoElementSelector
) -> PseudoElementSelector
fn fold_pseudo_element_selector( &mut self, n: PseudoElementSelector ) -> PseudoElementSelector
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_pseudo_element_selector_children(
&mut self,
n: PseudoElementSelectorChildren
) -> PseudoElementSelectorChildren
fn fold_pseudo_element_selector_children( &mut self, n: PseudoElementSelectorChildren ) -> PseudoElementSelectorChildren
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_pseudo_element_selector_children_vec( &mut self, n: Vec<PseudoElementSelectorChildren> ) -> Vec<PseudoElementSelectorChildren> ⓘ
sourcefn fold_qualified_rule(&mut self, n: QualifiedRule) -> QualifiedRule
fn fold_qualified_rule(&mut self, n: QualifiedRule) -> QualifiedRule
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_qualified_rule_prelude(
&mut self,
n: QualifiedRulePrelude
) -> QualifiedRulePrelude
fn fold_qualified_rule_prelude( &mut self, n: QualifiedRulePrelude ) -> QualifiedRulePrelude
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_query_in_parens(&mut self, n: QueryInParens) -> QueryInParens
fn fold_query_in_parens(&mut self, n: QueryInParens) -> QueryInParens
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_ratio(&mut self, n: Ratio) -> Ratio
fn fold_ratio(&mut self, n: Ratio) -> Ratio
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_relative_selector(&mut self, n: RelativeSelector) -> RelativeSelector
fn fold_relative_selector(&mut self, n: RelativeSelector) -> RelativeSelector
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_relative_selector_list(
&mut self,
n: RelativeSelectorList
) -> RelativeSelectorList
fn fold_relative_selector_list( &mut self, n: RelativeSelectorList ) -> RelativeSelectorList
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_relative_selectors( &mut self, n: Vec<RelativeSelector> ) -> Vec<RelativeSelector> ⓘ
sourcefn fold_resolution(&mut self, n: Resolution) -> Resolution
fn fold_resolution(&mut self, n: Resolution) -> Resolution
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_rule(&mut self, n: Rule) -> Rule
fn fold_rule(&mut self, n: Rule) -> Rule
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_rules(&mut self, n: Vec<Rule>) -> Vec<Rule> ⓘ
sourcefn fold_selector_list(&mut self, n: SelectorList) -> SelectorList
fn fold_selector_list(&mut self, n: SelectorList) -> SelectorList
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_sequence_of_custom_idents(
&mut self,
n: SequenceOfCustomIdents
) -> SequenceOfCustomIdents
fn fold_sequence_of_custom_idents( &mut self, n: SequenceOfCustomIdents ) -> SequenceOfCustomIdents
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_simple_block(&mut self, n: SimpleBlock) -> SimpleBlock
fn fold_simple_block(&mut self, n: SimpleBlock) -> SimpleBlock
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_size_feature(&mut self, n: SizeFeature) -> SizeFeature
fn fold_size_feature(&mut self, n: SizeFeature) -> SizeFeature
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_size_feature_boolean(
&mut self,
n: SizeFeatureBoolean
) -> SizeFeatureBoolean
fn fold_size_feature_boolean( &mut self, n: SizeFeatureBoolean ) -> SizeFeatureBoolean
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_size_feature_name(&mut self, n: SizeFeatureName) -> SizeFeatureName
fn fold_size_feature_name(&mut self, n: SizeFeatureName) -> SizeFeatureName
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_size_feature_plain(&mut self, n: SizeFeaturePlain) -> SizeFeaturePlain
fn fold_size_feature_plain(&mut self, n: SizeFeaturePlain) -> SizeFeaturePlain
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_size_feature_range(&mut self, n: SizeFeatureRange) -> SizeFeatureRange
fn fold_size_feature_range(&mut self, n: SizeFeatureRange) -> SizeFeatureRange
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_size_feature_range_comparison(
&mut self,
n: SizeFeatureRangeComparison
) -> SizeFeatureRangeComparison
fn fold_size_feature_range_comparison( &mut self, n: SizeFeatureRangeComparison ) -> SizeFeatureRangeComparison
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_size_feature_range_interval(
&mut self,
n: SizeFeatureRangeInterval
) -> SizeFeatureRangeInterval
fn fold_size_feature_range_interval( &mut self, n: SizeFeatureRangeInterval ) -> SizeFeatureRangeInterval
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_size_feature_value(&mut self, n: SizeFeatureValue) -> SizeFeatureValue
fn fold_size_feature_value(&mut self, n: SizeFeatureValue) -> SizeFeatureValue
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_span(&mut self, n: Span) -> Span
sourcefn fold_str(&mut self, n: Str) -> Str
fn fold_str(&mut self, n: Str) -> Str
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_style_block(&mut self, n: StyleBlock) -> StyleBlock
fn fold_style_block(&mut self, n: StyleBlock) -> StyleBlock
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_stylesheet(&mut self, n: Stylesheet) -> Stylesheet
fn fold_stylesheet(&mut self, n: Stylesheet) -> Stylesheet
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_subclass_selector(&mut self, n: SubclassSelector) -> SubclassSelector
fn fold_subclass_selector(&mut self, n: SubclassSelector) -> SubclassSelector
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_subclass_selectors( &mut self, n: Vec<SubclassSelector> ) -> Vec<SubclassSelector> ⓘ
sourcefn fold_supports_and(&mut self, n: SupportsAnd) -> SupportsAnd
fn fold_supports_and(&mut self, n: SupportsAnd) -> SupportsAnd
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_supports_condition(&mut self, n: SupportsCondition) -> SupportsCondition
fn fold_supports_condition(&mut self, n: SupportsCondition) -> SupportsCondition
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_supports_condition_type(
&mut self,
n: SupportsConditionType
) -> SupportsConditionType
fn fold_supports_condition_type( &mut self, n: SupportsConditionType ) -> SupportsConditionType
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_supports_condition_types( &mut self, n: Vec<SupportsConditionType> ) -> Vec<SupportsConditionType> ⓘ
sourcefn fold_supports_feature(&mut self, n: SupportsFeature) -> SupportsFeature
fn fold_supports_feature(&mut self, n: SupportsFeature) -> SupportsFeature
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_supports_in_parens(&mut self, n: SupportsInParens) -> SupportsInParens
fn fold_supports_in_parens(&mut self, n: SupportsInParens) -> SupportsInParens
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_supports_not(&mut self, n: SupportsNot) -> SupportsNot
fn fold_supports_not(&mut self, n: SupportsNot) -> SupportsNot
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_supports_or(&mut self, n: SupportsOr) -> SupportsOr
fn fold_supports_or(&mut self, n: SupportsOr) -> SupportsOr
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_tag_name_selector(&mut self, n: TagNameSelector) -> TagNameSelector
fn fold_tag_name_selector(&mut self, n: TagNameSelector) -> TagNameSelector
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_time(&mut self, n: Time) -> Time
fn fold_time(&mut self, n: Time) -> Time
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_time_percentage(&mut self, n: TimePercentage) -> TimePercentage
fn fold_time_percentage(&mut self, n: TimePercentage) -> TimePercentage
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_token(&mut self, n: Token) -> Token
sourcefn fold_token_and_span(&mut self, n: TokenAndSpan) -> TokenAndSpan
fn fold_token_and_span(&mut self, n: TokenAndSpan) -> TokenAndSpan
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_type_selector(&mut self, n: TypeSelector) -> TypeSelector
fn fold_type_selector(&mut self, n: TypeSelector) -> TypeSelector
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_unicode_range(&mut self, n: UnicodeRange) -> UnicodeRange
fn fold_unicode_range(&mut self, n: UnicodeRange) -> UnicodeRange
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_universal_selector(&mut self, n: UniversalSelector) -> UniversalSelector
fn fold_universal_selector(&mut self, n: UniversalSelector) -> UniversalSelector
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_unknown_dimension(&mut self, n: UnknownDimension) -> UnknownDimension
fn fold_unknown_dimension(&mut self, n: UnknownDimension) -> UnknownDimension
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_url(&mut self, n: Url) -> Url
fn fold_url(&mut self, n: Url) -> Url
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_url_modifier(&mut self, n: UrlModifier) -> UrlModifier
fn fold_url_modifier(&mut self, n: UrlModifier) -> UrlModifier
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
fn fold_url_modifiers(&mut self, n: Vec<UrlModifier>) -> Vec<UrlModifier> ⓘ
sourcefn fold_url_value(&mut self, n: UrlValue) -> UrlValue
fn fold_url_value(&mut self, n: UrlValue) -> UrlValue
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_url_value_raw(&mut self, n: UrlValueRaw) -> UrlValueRaw
fn fold_url_value_raw(&mut self, n: UrlValueRaw) -> UrlValueRaw
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.
sourcefn fold_wq_name(&mut self, n: WqName) -> WqName
fn fold_wq_name(&mut self, n: WqName) -> WqName
This method can be overriden to customize the visitor behavior.
This calls FoldWith::fold_children_with
on n
by default. The default method visit children nodes with self
.