pub trait VisitMutWithAstPath<V: ?Sized + VisitMutAstPath> {
// Required methods
fn visit_mut_with_ast_path(
&mut self,
visitor: &mut V,
__ast_path: &mut AstKindPath,
);
fn visit_mut_children_with_ast_path(
&mut self,
visitor: &mut V,
__ast_path: &mut AstKindPath,
);
}
path
only.Expand description
A trait implemented for types that can be visited using a visitor.
Required Methods§
sourcefn visit_mut_with_ast_path(
&mut self,
visitor: &mut V,
__ast_path: &mut AstKindPath,
)
fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
Calls a visitor method (visitor.fold_xxx) with self.
sourcefn visit_mut_children_with_ast_path(
&mut self,
visitor: &mut V,
__ast_path: &mut AstKindPath,
)
fn visit_mut_children_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
Visit children nodes of self`` with
visitor`.
Implementations on Foreign Types§
source§impl<V, T> VisitMutWithAstPath<V> for Box<T>
impl<V, T> VisitMutWithAstPath<V> for Box<T>
fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
fn visit_mut_children_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
source§impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for Option<Atom>
impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for Option<Atom>
source§fn visit_mut_with_ast_path(
&mut self,
visitor: &mut V,
__ast_path: &mut AstKindPath,
)
fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
Calls VisitMutAstPath::visit_mut_opt_atom
with self
. (Extra impl)
fn visit_mut_children_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
source§impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for Option<Namespace>
impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for Option<Namespace>
source§fn visit_mut_with_ast_path(
&mut self,
visitor: &mut V,
__ast_path: &mut AstKindPath,
)
fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
Calls VisitMutAstPath::visit_mut_opt_namespace
with self
. (Extra impl)
fn visit_mut_children_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
source§impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for Vec<Attribute>
impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for Vec<Attribute>
source§fn visit_mut_with_ast_path(
&mut self,
visitor: &mut V,
__ast_path: &mut AstKindPath,
)
fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
Calls VisitMutAstPath::visit_mut_attributes
with self
. (Extra impl)
fn visit_mut_children_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
source§impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for Vec<AttributeToken>
impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for Vec<AttributeToken>
source§fn visit_mut_with_ast_path(
&mut self,
visitor: &mut V,
__ast_path: &mut AstKindPath,
)
fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
Calls VisitMutAstPath::visit_mut_attribute_tokens
with self
. (Extra impl)
fn visit_mut_children_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
source§impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for Vec<Child>
impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for Vec<Child>
source§fn visit_mut_with_ast_path(
&mut self,
visitor: &mut V,
__ast_path: &mut AstKindPath,
)
fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
Calls VisitMutAstPath::visit_mut_childs
with self
. (Extra impl)
fn visit_mut_children_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
source§impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for Atom
impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for Atom
source§fn visit_mut_with_ast_path(
&mut self,
visitor: &mut V,
__ast_path: &mut AstKindPath,
)
fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
Calls VisitMutAstPath::visit_mut_atom
with self
. (Extra impl)
fn visit_mut_children_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
source§impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for Attribute
impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for Attribute
source§fn visit_mut_with_ast_path(
&mut self,
visitor: &mut V,
__ast_path: &mut AstKindPath,
)
fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
Calls VisitMutAstPath::visit_mut_attribute
with self
.
fn visit_mut_children_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
source§impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for AttributeToken
impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for AttributeToken
source§fn visit_mut_with_ast_path(
&mut self,
visitor: &mut V,
__ast_path: &mut AstKindPath,
)
fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
Calls VisitMutAstPath::visit_mut_attribute_token
with self
.
fn visit_mut_children_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
source§impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for CdataSection
impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for CdataSection
source§fn visit_mut_with_ast_path(
&mut self,
visitor: &mut V,
__ast_path: &mut AstKindPath,
)
fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
Calls VisitMutAstPath::visit_mut_cdata_section
with self
.
fn visit_mut_children_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
source§impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for Child
impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for Child
source§fn visit_mut_with_ast_path(
&mut self,
visitor: &mut V,
__ast_path: &mut AstKindPath,
)
fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
Calls VisitMutAstPath::visit_mut_child
with self
.
fn visit_mut_children_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
source§impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for Comment
impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for Comment
source§fn visit_mut_with_ast_path(
&mut self,
visitor: &mut V,
__ast_path: &mut AstKindPath,
)
fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
Calls VisitMutAstPath::visit_mut_comment
with self
.
fn visit_mut_children_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
source§impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for Document
impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for Document
source§fn visit_mut_with_ast_path(
&mut self,
visitor: &mut V,
__ast_path: &mut AstKindPath,
)
fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
Calls VisitMutAstPath::visit_mut_document
with self
.
fn visit_mut_children_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
source§impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for DocumentMode
impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for DocumentMode
source§fn visit_mut_with_ast_path(
&mut self,
visitor: &mut V,
__ast_path: &mut AstKindPath,
)
fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
Calls VisitMutAstPath::visit_mut_document_mode
with self
.
fn visit_mut_children_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
source§impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for DocumentType
impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for DocumentType
source§fn visit_mut_with_ast_path(
&mut self,
visitor: &mut V,
__ast_path: &mut AstKindPath,
)
fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
Calls VisitMutAstPath::visit_mut_document_type
with self
.
fn visit_mut_children_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
source§impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for Element
impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for Element
source§fn visit_mut_with_ast_path(
&mut self,
visitor: &mut V,
__ast_path: &mut AstKindPath,
)
fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
Calls VisitMutAstPath::visit_mut_element
with self
.
fn visit_mut_children_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
source§impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for Namespace
impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for Namespace
source§fn visit_mut_with_ast_path(
&mut self,
visitor: &mut V,
__ast_path: &mut AstKindPath,
)
fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
Calls VisitMutAstPath::visit_mut_namespace
with self
.
fn visit_mut_children_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
source§impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for ProcessingInstruction
impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for ProcessingInstruction
source§fn visit_mut_with_ast_path(
&mut self,
visitor: &mut V,
__ast_path: &mut AstKindPath,
)
fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
Calls VisitMutAstPath::visit_mut_processing_instruction
with self
.
fn visit_mut_children_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
source§impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for Span
impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for Span
source§fn visit_mut_with_ast_path(
&mut self,
visitor: &mut V,
__ast_path: &mut AstKindPath,
)
fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
Calls VisitMutAstPath::visit_mut_span
with self
. (Extra impl)
fn visit_mut_children_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
source§impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for Text
impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for Text
source§fn visit_mut_with_ast_path(
&mut self,
visitor: &mut V,
__ast_path: &mut AstKindPath,
)
fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
Calls VisitMutAstPath::visit_mut_text
with self
.
fn visit_mut_children_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
source§impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for Token
impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for Token
source§fn visit_mut_with_ast_path(
&mut self,
visitor: &mut V,
__ast_path: &mut AstKindPath,
)
fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
Calls VisitMutAstPath::visit_mut_token
with self
.
fn visit_mut_children_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
source§impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for TokenAndSpan
impl<V: ?Sized + VisitMutAstPath> VisitMutWithAstPath<V> for TokenAndSpan
source§fn visit_mut_with_ast_path(
&mut self,
visitor: &mut V,
__ast_path: &mut AstKindPath,
)
fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )
Calls VisitMutAstPath::visit_mut_token_and_span
with self
.