Trait swc_plugin::ast::VisitAllWith
[−]pub trait VisitAllWith<V> where
V: VisitAll + ?Sized, {
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
fn visit_all_with(&self, v: &mut V)
fn visit_all_with(&self, v: &mut V)
Calls a visitor method (v.visit_xxx) with self.
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
Implementations on Foreign Types
impl<V> VisitAllWith<V> for Option<BlockStmt> where
V: VisitAll + ?Sized,
impl<V> VisitAllWith<V> for Option<BlockStmt> where
V: VisitAll + ?Sized,
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
impl<V> VisitAllWith<V> for Vec<TsTypeElement, Global> where
V: VisitAll + ?Sized,
impl<V> VisitAllWith<V> for Vec<TsTypeElement, Global> where
V: VisitAll + ?Sized,
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
impl<V> VisitAllWith<V> for Vec<TsEnumMember, Global> where
V: VisitAll + ?Sized,
impl<V> VisitAllWith<V> for Vec<TsEnumMember, Global> where
V: VisitAll + ?Sized,
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
impl<V> VisitAllWith<V> for Vec<Param, Global> where
V: VisitAll + ?Sized,
impl<V> VisitAllWith<V> for Vec<Param, Global> where
V: VisitAll + ?Sized,
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
impl<V> VisitAllWith<V> for Option<Str> where
V: VisitAll + ?Sized,
impl<V> VisitAllWith<V> for Option<Str> where
V: VisitAll + ?Sized,
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
impl<V> VisitAllWith<V> for Vec<PropOrSpread, Global> where
V: VisitAll + ?Sized,
impl<V> VisitAllWith<V> for Vec<PropOrSpread, Global> where
V: VisitAll + ?Sized,
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
impl<V> VisitAllWith<V> for Vec<TplElement, Global> where
V: VisitAll + ?Sized,
impl<V> VisitAllWith<V> for Vec<TplElement, Global> where
V: VisitAll + ?Sized,
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
impl<V> VisitAllWith<V> for Option<Box<Stmt, Global>> where
V: VisitAll + ?Sized,
impl<V> VisitAllWith<V> for Option<Box<Stmt, Global>> where
V: VisitAll + ?Sized,
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
impl<V> VisitAllWith<V> for Option<JSXAttrValue> where
V: VisitAll + ?Sized,
impl<V> VisitAllWith<V> for Option<JSXAttrValue> where
V: VisitAll + ?Sized,
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
impl<V> VisitAllWith<V> for Option<TsTypeAnn> where
V: VisitAll + ?Sized,
impl<V> VisitAllWith<V> for Option<TsTypeAnn> where
V: VisitAll + ?Sized,
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
impl<V> VisitAllWith<V> for Atom<JsWordStaticSet> where
V: VisitAll + ?Sized,
impl<V> VisitAllWith<V> for Atom<JsWordStaticSet> where
V: VisitAll + ?Sized,
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
impl<V> VisitAllWith<V> for Vec<Box<TsType, Global>, Global> where
V: VisitAll + ?Sized,
impl<V> VisitAllWith<V> for Vec<Box<TsType, Global>, Global> where
V: VisitAll + ?Sized,
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
impl<V> VisitAllWith<V> for Vec<Pat, Global> where
V: VisitAll + ?Sized,
impl<V> VisitAllWith<V> for Vec<Pat, Global> where
V: VisitAll + ?Sized,
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
impl<V> VisitAllWith<V> for Option<CatchClause> where
V: VisitAll + ?Sized,
impl<V> VisitAllWith<V> for Option<CatchClause> where
V: VisitAll + ?Sized,
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
impl<V> VisitAllWith<V> for Option<JSXClosingElement> where
V: VisitAll + ?Sized,
impl<V> VisitAllWith<V> for Option<JSXClosingElement> where
V: VisitAll + ?Sized,
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
impl<V> VisitAllWith<V> for Vec<TsExprWithTypeArgs, Global> where
V: VisitAll + ?Sized,
impl<V> VisitAllWith<V> for Vec<TsExprWithTypeArgs, Global> where
V: VisitAll + ?Sized,
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
impl<V> VisitAllWith<V> for Vec<JSXElementChild, Global> where
V: VisitAll + ?Sized,
impl<V> VisitAllWith<V> for Vec<JSXElementChild, Global> where
V: VisitAll + ?Sized,
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
impl<V> VisitAllWith<V> for Vec<ObjectPatProp, Global> where
V: VisitAll + ?Sized,
impl<V> VisitAllWith<V> for Vec<ObjectPatProp, Global> where
V: VisitAll + ?Sized,
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
impl<V> VisitAllWith<V> for Vec<JSXAttrOrSpread, Global> where
V: VisitAll + ?Sized,
impl<V> VisitAllWith<V> for Vec<JSXAttrOrSpread, Global> where
V: VisitAll + ?Sized,
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
impl<V> VisitAllWith<V> for Vec<TsTupleElement, Global> where
V: VisitAll + ?Sized,
impl<V> VisitAllWith<V> for Vec<TsTupleElement, Global> where
V: VisitAll + ?Sized,
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
impl<V> VisitAllWith<V> for Vec<Decorator, Global> where
V: VisitAll + ?Sized,
impl<V> VisitAllWith<V> for Vec<Decorator, Global> where
V: VisitAll + ?Sized,
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
impl<V> VisitAllWith<V> for Vec<SwitchCase, Global> where
V: VisitAll + ?Sized,
impl<V> VisitAllWith<V> for Vec<SwitchCase, Global> where
V: VisitAll + ?Sized,
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
impl<V> VisitAllWith<V> for Vec<VarDeclarator, Global> where
V: VisitAll + ?Sized,
impl<V> VisitAllWith<V> for Vec<VarDeclarator, Global> where
V: VisitAll + ?Sized,
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
impl<V> VisitAllWith<V> for Vec<ModuleItem, Global> where
V: VisitAll + ?Sized,
impl<V> VisitAllWith<V> for Vec<ModuleItem, Global> where
V: VisitAll + ?Sized,
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
impl<V> VisitAllWith<V> for Option<ExprOrSpread> where
V: VisitAll + ?Sized,
impl<V> VisitAllWith<V> for Option<ExprOrSpread> where
V: VisitAll + ?Sized,
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
impl<V> VisitAllWith<V> for BigInt where
V: VisitAll + ?Sized,
impl<V> VisitAllWith<V> for BigInt where
V: VisitAll + ?Sized,
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
impl<V> VisitAllWith<V> for Option<ObjectLit> where
V: VisitAll + ?Sized,
impl<V> VisitAllWith<V> for Option<ObjectLit> where
V: VisitAll + ?Sized,
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
impl<V> VisitAllWith<V> for Vec<ExprOrSpread, Global> where
V: VisitAll + ?Sized,
impl<V> VisitAllWith<V> for Vec<ExprOrSpread, Global> where
V: VisitAll + ?Sized,
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
impl<V> VisitAllWith<V> for Option<TsNamespaceBody> where
V: VisitAll + ?Sized,
impl<V> VisitAllWith<V> for Option<TsNamespaceBody> where
V: VisitAll + ?Sized,
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
impl<V> VisitAllWith<V> for Option<Vec<ExprOrSpread, Global>> where
V: VisitAll + ?Sized,
impl<V> VisitAllWith<V> for Option<Vec<ExprOrSpread, Global>> where
V: VisitAll + ?Sized,
fn visit_all_with(&self, v: &mut V)
fn visit_all_children_with(&self, _visitor: &mut V)
impl<V, T> VisitAllWith<V> for Box<T, Global> where
V: VisitAll + ?Sized,
T: 'static + VisitAllWith<V>,
impl<V, T> VisitAllWith<V> for Box<T, Global> where
V: VisitAll + ?Sized,
T: 'static + VisitAllWith<V>,
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