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 SizeFeatureRangeInterval
impl<V: ?Sized + VisitAll> VisitAllWith<V> for SizeFeatureRangeInterval
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 AttributeSelectorValue
impl<V: ?Sized + VisitAll> VisitAllWith<V> for AttributeSelectorValue
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 LayerPrelude
impl<V: ?Sized + VisitAll> VisitAllWith<V> for LayerPrelude
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 MediaCondition
impl<V: ?Sized + VisitAll> VisitAllWith<V> for MediaCondition
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<ContainerQueryType>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<ContainerQueryType>
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 FamilyName
impl<V: ?Sized + VisitAll> VisitAllWith<V> for FamilyName
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 Percentage
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Percentage
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 Option<Box<AtRulePrelude>>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<Box<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 SizeFeatureRange
impl<V: ?Sized + VisitAll> VisitAllWith<V> for SizeFeatureRange
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 AttributeSelectorMatcher
impl<V: ?Sized + VisitAll> VisitAllWith<V> for 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 KeyframesPseudoFunction
impl<V: ?Sized + VisitAll> VisitAllWith<V> for KeyframesPseudoFunction
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 RelativeSelectorList
impl<V: ?Sized + VisitAll> VisitAllWith<V> for RelativeSelectorList
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<Atom>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<Atom>
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 ContainerQuery
impl<V: ?Sized + VisitAll> VisitAllWith<V> for ContainerQuery
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<NamespacePrefix>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<NamespacePrefix>
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 Vec<FamilyName>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<FamilyName>
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 AnyNamespace
impl<V: ?Sized + VisitAll> VisitAllWith<V> for AnyNamespace
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 NestingSelector
impl<V: ?Sized + VisitAll> VisitAllWith<V> for NestingSelector
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 ContainerCondition
impl<V: ?Sized + VisitAll> VisitAllWith<V> for ContainerCondition
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 MediaQuery
impl<V: ?Sized + VisitAll> VisitAllWith<V> for 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 CompoundSelector
impl<V: ?Sized + VisitAll> VisitAllWith<V> for CompoundSelector
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 SupportsAnd
impl<V: ?Sized + VisitAll> VisitAllWith<V> for SupportsAnd
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 Option<Number>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<Number>
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 Option<Vec<PseudoElementSelectorChildren>>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<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 ContainerQueryOr
impl<V: ?Sized + VisitAll> VisitAllWith<V> for ContainerQueryOr
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 MediaOr
impl<V: ?Sized + VisitAll> VisitAllWith<V> for MediaOr
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 Ident
impl<V: ?Sized + VisitAll> VisitAllWith<V> for 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 MediaFeatureName
impl<V: ?Sized + VisitAll> VisitAllWith<V> for MediaFeatureName
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 DocumentPrelude
impl<V: ?Sized + VisitAll> VisitAllWith<V> for DocumentPrelude
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: ?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 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 MediaFeatureRangeInterval
impl<V: ?Sized + VisitAll> VisitAllWith<V> for MediaFeatureRangeInterval
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 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 Option<Box<MediaConditionType>>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<Box<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 KeyframesName
impl<V: ?Sized + VisitAll> VisitAllWith<V> for KeyframesName
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 TypeSelector
impl<V: ?Sized + VisitAll> VisitAllWith<V> for 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 MediaFeatureRangeComparison
impl<V: ?Sized + VisitAll> VisitAllWith<V> for MediaFeatureRangeComparison
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 Function
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Function
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 Resolution
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Resolution
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 ListOfComponentValues
impl<V: ?Sized + VisitAll> VisitAllWith<V> for ListOfComponentValues
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 Angle
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Angle
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 Rule
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Rule
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 SupportsOr
impl<V: ?Sized + VisitAll> VisitAllWith<V> for SupportsOr
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 AtRuleName
impl<V: ?Sized + VisitAll> VisitAllWith<V> for AtRuleName
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 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 Flex
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Flex
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