Trait swc_css_visit::VisitWithPath
source · pub trait VisitWithPath<V: ?Sized + VisitAstPath> {
// Required methods
fn visit_with_path<'ast, 'r>(
&'ast self,
v: &mut V,
ast_path: &mut AstNodePath<'r>
)
where 'ast: 'r;
fn visit_children_with_path<'ast, 'r>(
&'ast self,
v: &mut V,
ast_path: &mut AstNodePath<'r>
)
where 'ast: 'r;
}
Available on crate feature
path
only.Expand description
A utility trait implemented for ast nodes, and allow to visit them with a visitor.
Required Methods§
sourcefn visit_with_path<'ast, 'r>(
&'ast self,
v: &mut V,
ast_path: &mut AstNodePath<'r>
)where
'ast: 'r,
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
Calls a visitor method (v.visit_xxx) with self and the ast path.
sourcefn visit_children_with_path<'ast, 'r>(
&'ast self,
v: &mut V,
ast_path: &mut AstNodePath<'r>
)where
'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, v: &mut V, ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
Visit children nodes with v and ast path appended
AstParentNodeRef describing self
. The ast path will
be resotred when this method returns.
This is the default implementaton of a handler method in VisitAstPath.
Implementations on Foreign Types§
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for ForgivingComplexSelector
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for ForgivingComplexSelector
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for NamedNamespace
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for NamedNamespace
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Function
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Function
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Option<Box<MediaQueryList>>
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Option<Box<MediaQueryList>>
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for MediaFeatureName
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for MediaFeatureName
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for DashedIdent
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for DashedIdent
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for SupportsConditionType
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for SupportsConditionType
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for [MediaConditionWithoutOrType]
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for [MediaConditionWithoutOrType]
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for DocumentPrelude
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for DocumentPrelude
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for CalcSum
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for CalcSum
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Vec<UrlModifier>
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Vec<UrlModifier>
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Angle
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Angle
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for SizeFeatureBoolean
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for SizeFeatureBoolean
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for [ForgivingComplexSelector]
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for [ForgivingComplexSelector]
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Declaration
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Declaration
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for ImportHref
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for ImportHref
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Vec<ForgivingComplexSelector>
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Vec<ForgivingComplexSelector>
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Vec<PseudoElementSelectorChildren>
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Vec<PseudoElementSelectorChildren>
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for MediaAnd
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for MediaAnd
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for StyleBlock
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for StyleBlock
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Vec<MediaConditionAllType>
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Vec<MediaConditionAllType>
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for SequenceOfCustomIdents
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for SequenceOfCustomIdents
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for AtRuleName
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for AtRuleName
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for MediaOr
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for MediaOr
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Atom
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Atom
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Vec<RelativeSelector>
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Vec<RelativeSelector>
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for SizeFeatureRangeComparison
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for SizeFeatureRangeComparison
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for QueryInParens
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for QueryInParens
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for ContainerQueryNot
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for ContainerQueryNot
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for ComponentValue
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for ComponentValue
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for MediaNot
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for MediaNot
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Option<JsWord>
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Option<JsWord>
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Option<Namespace>
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Option<Namespace>
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Time
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Time
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for TokenAndSpan
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for TokenAndSpan
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Option<Vec<UrlModifier>>
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Option<Vec<UrlModifier>>
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for MediaQuery
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for MediaQuery
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for UnicodeRange
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for UnicodeRange
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for ExtensionName
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for ExtensionName
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Vec<ComponentValue>
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Vec<ComponentValue>
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Ident
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Ident
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for [CompoundSelector]
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for [CompoundSelector]
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for TimePercentage
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for TimePercentage
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Option<Box<ImportConditions>>
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Option<Box<ImportConditions>>
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for KeyframesName
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for KeyframesName
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for SupportsInParens
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for SupportsInParens
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for MediaFeatureBoolean
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for MediaFeatureBoolean
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for KeyframeSelector
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for KeyframeSelector
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for [Rule]
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for [Rule]
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for IdSelector
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for IdSelector
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for MediaConditionType
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for MediaConditionType
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for SizeFeatureRange
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for SizeFeatureRange
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for NamespacePreludeUri
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for NamespacePreludeUri
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for [MediaConditionAllType]
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for [MediaConditionAllType]
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for RelativeSelector
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for RelativeSelector
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Url
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Url
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for MediaFeature
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for MediaFeature
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for SubclassSelector
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for SubclassSelector
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Option<Box<TypeSelector>>
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Option<Box<TypeSelector>>
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Integer
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Integer
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for ListOfComponentValues
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for ListOfComponentValues
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Option<ImportantFlag>
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Option<ImportantFlag>
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for QualifiedRule
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for QualifiedRule
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for AlphaValue
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for AlphaValue
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Option<Box<AtRulePrelude>>
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Option<Box<AtRulePrelude>>
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for CalcProduct
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for CalcProduct
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for PseudoElementSelectorChildren
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for PseudoElementSelectorChildren
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Dimension
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Dimension
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for QualifiedRulePrelude
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for QualifiedRulePrelude
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for RelativeSelectorList
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for RelativeSelectorList
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for [FamilyName]
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for [FamilyName]
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for [PageSelector]
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for [PageSelector]
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Option<AttributeSelectorValue>
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Option<AttributeSelectorValue>
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for DocumentPreludeMatchingFunction
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for DocumentPreludeMatchingFunction
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for ComplexSelector
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for ComplexSelector
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for PseudoClassSelector
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for PseudoClassSelector
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for LayerNameList
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for LayerNameList
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for SizeFeatureRangeInterval
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for SizeFeatureRangeInterval
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for LayerPrelude
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for LayerPrelude
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for UnknownDimension
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for UnknownDimension
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for SupportsOr
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for SupportsOr
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Option<Box<ImportLayerName>>
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Option<Box<ImportLayerName>>
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for SupportsAnd
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for SupportsAnd
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for AttributeSelector
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for AttributeSelector
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for [PseudoClassSelectorChildren]
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for [PseudoClassSelectorChildren]
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for MediaCondition
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for MediaCondition
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Vec<MediaQuery>
impl<V: ?Sized + VisitAstPath> VisitWithPath<V> for Vec<MediaQuery>
fn visit_with_path<'ast, 'r>( &'ast self, v: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, _visitor: &mut V, __ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
source§impl<V, T> VisitWithPath<V> for Box<T>where
V: ?Sized + VisitAstPath,
T: 'static + VisitWithPath<V>,
impl<V, T> VisitWithPath<V> for Box<T>where V: ?Sized + VisitAstPath, T: 'static + VisitWithPath<V>,
source§fn visit_children_with_path<'ast, 'r>(
&'ast self,
v: &mut V,
ast_path: &mut AstNodePath<'r>
)where
'ast: 'r,
fn visit_children_with_path<'ast, 'r>( &'ast self, v: &mut V, ast_path: &mut AstNodePath<'r> )where 'ast: 'r,
Visit children nodes of self with v