Trait swc_css_visit::VisitAllWith
source · pub trait VisitAllWith<V: ?Sized + VisitAll> {
// Required methods
fn visit_all_with(&self, v: &mut V);
fn visit_all_children_with(&self, v: &mut V);
}
Expand description
A utility trait implemented for ast nodes, and allow to visit them with a visitor.
Required Methods§
sourcefn visit_all_with(&self, v: &mut V)
fn visit_all_with(&self, v: &mut V)
Calls a visitor method (v.visit_xxx) with self.
sourcefn visit_all_children_with(&self, v: &mut V)
fn visit_all_children_with(&self, v: &mut V)
Visit children nodes of self with v
Implementations on Foreign Types§
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for MediaFeatureBoolean
impl<V: ?Sized + VisitAll> VisitAllWith<V> for MediaFeatureBoolean
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Time
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Time
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<CalcProductOrOperator>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<CalcProductOrOperator>
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for CustomIdent
impl<V: ?Sized + VisitAll> VisitAllWith<V> for CustomIdent
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<UrlModifier>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<UrlModifier>
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for MediaAnd
impl<V: ?Sized + VisitAll> VisitAllWith<V> for MediaAnd
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for MediaFeaturePlain
impl<V: ?Sized + VisitAll> VisitAllWith<V> for MediaFeaturePlain
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<ForgivingComplexSelector>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<ForgivingComplexSelector>
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for DelimiterValue
impl<V: ?Sized + VisitAll> VisitAllWith<V> for DelimiterValue
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Hue
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Hue
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for WqName
impl<V: ?Sized + VisitAll> VisitAllWith<V> for WqName
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for ComplexSelectorChildren
impl<V: ?Sized + VisitAll> VisitAllWith<V> for ComplexSelectorChildren
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for ContainerQueryAnd
impl<V: ?Sized + VisitAll> VisitAllWith<V> for ContainerQueryAnd
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<PseudoElementSelectorChildren>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<PseudoElementSelectorChildren>
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for MediaFeatureValue
impl<V: ?Sized + VisitAll> VisitAllWith<V> for MediaFeatureValue
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for CalcValueOrOperator
impl<V: ?Sized + VisitAll> VisitAllWith<V> for CalcValueOrOperator
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for CalcOperatorType
impl<V: ?Sized + VisitAll> VisitAllWith<V> for CalcOperatorType
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for MediaType
impl<V: ?Sized + VisitAll> VisitAllWith<V> for MediaType
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for QueryInParens
impl<V: ?Sized + VisitAll> VisitAllWith<V> for QueryInParens
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for AtRule
impl<V: ?Sized + VisitAll> VisitAllWith<V> for AtRule
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for SupportsCondition
impl<V: ?Sized + VisitAll> VisitAllWith<V> for SupportsCondition
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for AtRulePrelude
impl<V: ?Sized + VisitAll> VisitAllWith<V> for AtRulePrelude
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for AnglePercentage
impl<V: ?Sized + VisitAll> VisitAllWith<V> for AnglePercentage
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<MediaQuery>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<MediaQuery>
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<AttributeSelectorMatcher>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<AttributeSelectorMatcher>
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<Ident>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<Ident>
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for QualifiedRulePrelude
impl<V: ?Sized + VisitAll> VisitAllWith<V> for QualifiedRulePrelude
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for SubclassSelector
impl<V: ?Sized + VisitAll> VisitAllWith<V> for SubclassSelector
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<Box<TypeSelector>>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<Box<TypeSelector>>
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for UnknownDimension
impl<V: ?Sized + VisitAll> VisitAllWith<V> for UnknownDimension
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<KeyframeSelector>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<KeyframeSelector>
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for CompoundSelectorList
impl<V: ?Sized + VisitAll> VisitAllWith<V> for CompoundSelectorList
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for QualifiedRule
impl<V: ?Sized + VisitAll> VisitAllWith<V> for QualifiedRule
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for MediaConditionType
impl<V: ?Sized + VisitAll> VisitAllWith<V> for MediaConditionType
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for LayerNameList
impl<V: ?Sized + VisitAll> VisitAllWith<V> for LayerNameList
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for ContainerName
impl<V: ?Sized + VisitAll> VisitAllWith<V> for ContainerName
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for DeclarationName
impl<V: ?Sized + VisitAll> VisitAllWith<V> for DeclarationName
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for SizeFeatureName
impl<V: ?Sized + VisitAll> VisitAllWith<V> for SizeFeatureName
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<SubclassSelector>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<SubclassSelector>
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for ContainerQueryNot
impl<V: ?Sized + VisitAll> VisitAllWith<V> for ContainerQueryNot
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Combinator
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Combinator
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for SequenceOfCustomIdents
impl<V: ?Sized + VisitAll> VisitAllWith<V> for SequenceOfCustomIdents
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for AttributeSelectorMatcherValue
impl<V: ?Sized + VisitAll> VisitAllWith<V> for AttributeSelectorMatcherValue
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for ImportantFlag
impl<V: ?Sized + VisitAll> VisitAllWith<V> for ImportantFlag
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<i32>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<i32>
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<PageSelectorPseudo>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<PageSelectorPseudo>
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for SimpleBlock
impl<V: ?Sized + VisitAll> VisitAllWith<V> for SimpleBlock
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for ExtensionName
impl<V: ?Sized + VisitAll> VisitAllWith<V> for ExtensionName
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for GeneralEnclosed
impl<V: ?Sized + VisitAll> VisitAllWith<V> for GeneralEnclosed
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for UniversalSelector
impl<V: ?Sized + VisitAll> VisitAllWith<V> for UniversalSelector
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for MediaConditionWithoutOrType
impl<V: ?Sized + VisitAll> VisitAllWith<V> for MediaConditionWithoutOrType
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for CustomHighlightName
impl<V: ?Sized + VisitAll> VisitAllWith<V> for CustomHighlightName
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for PseudoElementSelectorChildren
impl<V: ?Sized + VisitAll> VisitAllWith<V> for PseudoElementSelectorChildren
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for ComponentValue
impl<V: ?Sized + VisitAll> VisitAllWith<V> for ComponentValue
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for ForgivingRelativeSelector
impl<V: ?Sized + VisitAll> VisitAllWith<V> for ForgivingRelativeSelector
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for FrequencyPercentage
impl<V: ?Sized + VisitAll> VisitAllWith<V> for FrequencyPercentage
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<DocumentPreludeMatchingFunction>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<DocumentPreludeMatchingFunction>
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
source§impl<V, T> VisitAllWith<V> for Box<T>where
V: ?Sized + VisitAll,
T: 'static + VisitAllWith<V>,
impl<V, T> VisitAllWith<V> for Box<T>where V: ?Sized + VisitAll, T: 'static + VisitAllWith<V>,
source§fn visit_all_children_with(&self, v: &mut V)
fn visit_all_children_with(&self, v: &mut V)
Visit children nodes of self with v