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 SizeFeatureBoolean
impl<V: ?Sized + VisitAll> VisitAllWith<V> for SizeFeatureBoolean
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 Option<SimpleBlock>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<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 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 MediaFeature
impl<V: ?Sized + VisitAll> VisitAllWith<V> for MediaFeature
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 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 ImportConditions
impl<V: ?Sized + VisitAll> VisitAllWith<V> for ImportConditions
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 SelectorList
impl<V: ?Sized + VisitAll> VisitAllWith<V> for SelectorList
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 IdSelector
impl<V: ?Sized + VisitAll> VisitAllWith<V> for IdSelector
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 Vec<RelativeSelector>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<RelativeSelector>
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 FunctionName
impl<V: ?Sized + VisitAll> VisitAllWith<V> for FunctionName
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 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 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 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 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 Option<MediaType>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<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 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 MediaNot
impl<V: ?Sized + VisitAll> VisitAllWith<V> for MediaNot
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 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 Vec<Ident>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<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 CmykComponent
impl<V: ?Sized + VisitAll> VisitAllWith<V> for CmykComponent
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 TimePercentage
impl<V: ?Sized + VisitAll> VisitAllWith<V> for TimePercentage
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 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 ColorProfileName
impl<V: ?Sized + VisitAll> VisitAllWith<V> for ColorProfileName
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<JsWord>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<JsWord>
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 Vec<MediaConditionWithoutOrType>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<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 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 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 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 Vec<CalcValueOrOperator>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<CalcValueOrOperator>
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