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 LengthPercentage
impl<V: ?Sized + VisitAll> VisitAllWith<V> for LengthPercentage
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<CustomIdent>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Vec<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 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 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 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 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 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 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 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 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 PageSelectorType
impl<V: ?Sized + VisitAll> VisitAllWith<V> for PageSelectorType
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 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 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 DashedIdent
impl<V: ?Sized + VisitAll> VisitAllWith<V> for DashedIdent
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 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 PseudoElementSelector
impl<V: ?Sized + VisitAll> VisitAllWith<V> for PseudoElementSelector
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 Atom
impl<V: ?Sized + VisitAll> VisitAllWith<V> for 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 KeyframeSelector
impl<V: ?Sized + VisitAll> VisitAllWith<V> for 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 CustomPropertyName
impl<V: ?Sized + VisitAll> VisitAllWith<V> for CustomPropertyName
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 Option<Box<Function>>
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Option<Box<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 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 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 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 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 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 CustomMediaQueryMediaType
impl<V: ?Sized + VisitAll> VisitAllWith<V> for CustomMediaQueryMediaType
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 Integer
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Integer
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 Token
impl<V: ?Sized + VisitAll> VisitAllWith<V> for Token
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 SizeFeatureValue
impl<V: ?Sized + VisitAll> VisitAllWith<V> for SizeFeatureValue
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 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 i32
impl<V: ?Sized + VisitAll> VisitAllWith<V> for 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 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 ForgivingRelativeSelectorList
impl<V: ?Sized + VisitAll> VisitAllWith<V> for ForgivingRelativeSelectorList
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, 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