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