swc_xml_visit

Trait VisitMutWithAstPath

source
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,
    );
}
Available on crate feature path only.
Expand description

A trait implemented for types that can be visited using a visitor.

Required Methods§

source

fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )

Calls a visitor method (visitor.fold_xxx) with self.

source

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>

source§

fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )

source§

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>

source§

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)

source§

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>

source§

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)

source§

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>

source§

fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )

Calls VisitMutAstPath::visit_mut_attributes with self. (Extra impl)

source§

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>

source§

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)

source§

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>

source§

fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )

Calls VisitMutAstPath::visit_mut_childs with self. (Extra impl)

source§

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

source§

fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )

Calls VisitMutAstPath::visit_mut_atom with self. (Extra impl)

source§

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

source§

fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )

source§

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

source§

fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )

source§

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

source§

fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )

source§

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

source§

fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )

source§

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

source§

fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )

source§

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

source§

fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )

source§

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

source§

fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )

source§

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

source§

fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )

source§

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

source§

fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )

source§

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

source§

fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )

source§

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

source§

fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )

source§

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

source§

fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )

Calls VisitMutAstPath::visit_mut_span with self. (Extra impl)

source§

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

source§

fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )

source§

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

source§

fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )

source§

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

source§

fn visit_mut_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )

source§

fn visit_mut_children_with_ast_path( &mut self, visitor: &mut V, __ast_path: &mut AstKindPath, )

Implementors§