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 PseudoClassSelectorChildren
impl<V: ?Sized + VisitAll> VisitAllWith<V> for PseudoClassSelectorChildren
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<ContainerName>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<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 TokenAndSpan
impl<V: ?Sized + VisitAll> VisitAllWith<V> for TokenAndSpan
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 AbsoluteColorBase
impl<V: ?Sized + VisitAll> VisitAllWith<V> for AbsoluteColorBase
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 SupportsNot
impl<V: ?Sized + VisitAll> VisitAllWith<V> for SupportsNot
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 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 Namespace
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Namespace
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 AnPlusB
impl<V: ?Sized + VisitAll> VisitAllWith<V> for AnPlusB
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 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 Option<ImportantFlag>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<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 SizeFeatureRangeComparison
impl<V: ?Sized + VisitAll> VisitAllWith<V> for SizeFeatureRangeComparison
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 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 Stylesheet
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Stylesheet
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 Frequency
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Frequency
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<ComplexSelector>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<ComplexSelector>
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 Number
impl<V: ?Sized + VisitAll> VisitAllWith<V> for 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 CalcProductOrOperator
impl<V: ?Sized + VisitAll> VisitAllWith<V> for 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 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: ?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 AttributeSelector
impl<V: ?Sized + VisitAll> VisitAllWith<V> for AttributeSelector
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 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 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 CalcOperator
impl<V: ?Sized + VisitAll> VisitAllWith<V> for CalcOperator
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<LayerName>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<LayerName>
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 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 MediaConditionWithoutOr
impl<V: ?Sized + VisitAll> VisitAllWith<V> for MediaConditionWithoutOr
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<ImportLayerName>>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<Box<ImportLayerName>>
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 AlphaValue
impl<V: ?Sized + VisitAll> VisitAllWith<V> for AlphaValue
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 Delimiter
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Delimiter
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 MediaInParens
impl<V: ?Sized + VisitAll> VisitAllWith<V> for MediaInParens
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<PageSelectorPseudo>>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<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 Color
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Color
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<UrlModifier>>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<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 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 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 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 MediaConditionAllType
impl<V: ?Sized + VisitAll> VisitAllWith<V> for MediaConditionAllType
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 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 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 Vec<ComponentValue>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<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 SupportsFeature
impl<V: ?Sized + VisitAll> VisitAllWith<V> for SupportsFeature
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<MediaConditionAllType>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<MediaConditionAllType>
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<PseudoClassSelectorChildren>>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<Vec<PseudoClassSelectorChildren>>
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 UrlModifier
impl<V: ?Sized + VisitAll> VisitAllWith<V> for 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 CalcProduct
impl<V: ?Sized + VisitAll> VisitAllWith<V> for CalcProduct
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 UrlValueRaw
impl<V: ?Sized + VisitAll> VisitAllWith<V> for UrlValueRaw
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 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 ClassSelector
impl<V: ?Sized + VisitAll> VisitAllWith<V> for ClassSelector
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 NamespacePrefix
impl<V: ?Sized + VisitAll> VisitAllWith<V> for 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 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 Vec<SupportsConditionType>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<SupportsConditionType>
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<Rule>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<Rule>
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