Trait swc_ecma_visit::VisitWith
source · pub trait VisitWith<V: ?Sized + Visit> {
// Required methods
fn visit_with(&self, v: &mut V);
fn visit_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_with(&self, v: &mut V)
fn visit_with(&self, v: &mut V)
Calls a visitor method (v.visit_xxx) with self.
sourcefn visit_children_with(&self, v: &mut V)
fn visit_children_with(&self, v: &mut V)
Visit children nodes of self with v
Implementations on Foreign Types§
source§impl<V: ?Sized + Visit> VisitWith<V> for TsTplLitType
impl<V: ?Sized + Visit> VisitWith<V> for TsTplLitType
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for VarDeclarator
impl<V: ?Sized + Visit> VisitWith<V> for VarDeclarator
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for VarDeclKind
impl<V: ?Sized + Visit> VisitWith<V> for VarDeclKind
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for JSXMemberExpr
impl<V: ?Sized + Visit> VisitWith<V> for JSXMemberExpr
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Option<TsNamespaceBody>
impl<V: ?Sized + Visit> VisitWith<V> for Option<TsNamespaceBody>
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for ObjectPatProp
impl<V: ?Sized + Visit> VisitWith<V> for ObjectPatProp
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for JSXAttrName
impl<V: ?Sized + Visit> VisitWith<V> for JSXAttrName
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for [TsFnParam]
impl<V: ?Sized + Visit> VisitWith<V> for [TsFnParam]
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsIndexedAccessType
impl<V: ?Sized + Visit> VisitWith<V> for TsIndexedAccessType
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Vec<TsTypeParam>
impl<V: ?Sized + Visit> VisitWith<V> for Vec<TsTypeParam>
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for JSXAttrOrSpread
impl<V: ?Sized + Visit> VisitWith<V> for JSXAttrOrSpread
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Option<Span>
impl<V: ?Sized + Visit> VisitWith<V> for Option<Span>
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Option<Atom>
impl<V: ?Sized + Visit> VisitWith<V> for Option<Atom>
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Option<ModuleExportName>
impl<V: ?Sized + Visit> VisitWith<V> for Option<ModuleExportName>
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsTypePredicate
impl<V: ?Sized + Visit> VisitWith<V> for TsTypePredicate
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for [Option<ExprOrSpread>]
impl<V: ?Sized + Visit> VisitWith<V> for [Option<ExprOrSpread>]
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsInterfaceBody
impl<V: ?Sized + Visit> VisitWith<V> for TsInterfaceBody
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Vec<ModuleItem>
impl<V: ?Sized + Visit> VisitWith<V> for Vec<ModuleItem>
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsImportEqualsDecl
impl<V: ?Sized + Visit> VisitWith<V> for TsImportEqualsDecl
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for [ExprOrSpread]
impl<V: ?Sized + Visit> VisitWith<V> for [ExprOrSpread]
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Vec<ClassMember>
impl<V: ?Sized + Visit> VisitWith<V> for Vec<ClassMember>
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for [ClassMember]
impl<V: ?Sized + Visit> VisitWith<V> for [ClassMember]
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for ObjectLit
impl<V: ?Sized + Visit> VisitWith<V> for ObjectLit
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Option<Box<TsType>>
impl<V: ?Sized + Visit> VisitWith<V> for Option<Box<TsType>>
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for AssignProp
impl<V: ?Sized + Visit> VisitWith<V> for AssignProp
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Vec<TsFnParam>
impl<V: ?Sized + Visit> VisitWith<V> for Vec<TsFnParam>
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsTypeRef
impl<V: ?Sized + Visit> VisitWith<V> for TsTypeRef
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for ComputedPropName
impl<V: ?Sized + Visit> VisitWith<V> for ComputedPropName
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Vec<Stmt>
impl<V: ?Sized + Visit> VisitWith<V> for Vec<Stmt>
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for WhileStmt
impl<V: ?Sized + Visit> VisitWith<V> for WhileStmt
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for ExportDefaultDecl
impl<V: ?Sized + Visit> VisitWith<V> for ExportDefaultDecl
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsTypeOperatorOp
impl<V: ?Sized + Visit> VisitWith<V> for TsTypeOperatorOp
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for [TsTupleElement]
impl<V: ?Sized + Visit> VisitWith<V> for [TsTupleElement]
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsLitType
impl<V: ?Sized + Visit> VisitWith<V> for TsLitType
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for JSXAttr
impl<V: ?Sized + Visit> VisitWith<V> for JSXAttr
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for [JSXAttrOrSpread]
impl<V: ?Sized + Visit> VisitWith<V> for [JSXAttrOrSpread]
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for AssignExpr
impl<V: ?Sized + Visit> VisitWith<V> for AssignExpr
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for ForStmt
impl<V: ?Sized + Visit> VisitWith<V> for ForStmt
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for YieldExpr
impl<V: ?Sized + Visit> VisitWith<V> for YieldExpr
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Option<Accessibility>
impl<V: ?Sized + Visit> VisitWith<V> for Option<Accessibility>
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsIntersectionType
impl<V: ?Sized + Visit> VisitWith<V> for TsIntersectionType
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Key
impl<V: ?Sized + Visit> VisitWith<V> for Key
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsExportAssignment
impl<V: ?Sized + Visit> VisitWith<V> for TsExportAssignment
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Span
impl<V: ?Sized + Visit> VisitWith<V> for Span
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsConditionalType
impl<V: ?Sized + Visit> VisitWith<V> for TsConditionalType
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for PrivateProp
impl<V: ?Sized + Visit> VisitWith<V> for PrivateProp
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for ExportNamedSpecifier
impl<V: ?Sized + Visit> VisitWith<V> for ExportNamedSpecifier
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Option<Box<ObjectLit>>
impl<V: ?Sized + Visit> VisitWith<V> for Option<Box<ObjectLit>>
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Decorator
impl<V: ?Sized + Visit> VisitWith<V> for Decorator
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for ExportNamespaceSpecifier
impl<V: ?Sized + Visit> VisitWith<V> for ExportNamespaceSpecifier
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Callee
impl<V: ?Sized + Visit> VisitWith<V> for Callee
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for BindingIdent
impl<V: ?Sized + Visit> VisitWith<V> for BindingIdent
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for PropName
impl<V: ?Sized + Visit> VisitWith<V> for PropName
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for SeqExpr
impl<V: ?Sized + Visit> VisitWith<V> for SeqExpr
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsTypeAssertion
impl<V: ?Sized + Visit> VisitWith<V> for TsTypeAssertion
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for [Box<TsType>]
impl<V: ?Sized + Visit> VisitWith<V> for [Box<TsType>]
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for UnaryOp
impl<V: ?Sized + Visit> VisitWith<V> for UnaryOp
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for JSXClosingFragment
impl<V: ?Sized + Visit> VisitWith<V> for JSXClosingFragment
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for JSXAttrValue
impl<V: ?Sized + Visit> VisitWith<V> for JSXAttrValue
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Vec<ObjectPatProp>
impl<V: ?Sized + Visit> VisitWith<V> for Vec<ObjectPatProp>
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for DebuggerStmt
impl<V: ?Sized + Visit> VisitWith<V> for DebuggerStmt
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for ForInStmt
impl<V: ?Sized + Visit> VisitWith<V> for ForInStmt
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for PrivateMethod
impl<V: ?Sized + Visit> VisitWith<V> for PrivateMethod
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsKeywordType
impl<V: ?Sized + Visit> VisitWith<V> for TsKeywordType
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Vec<ImportSpecifier>
impl<V: ?Sized + Visit> VisitWith<V> for Vec<ImportSpecifier>
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for BinaryOp
impl<V: ?Sized + Visit> VisitWith<V> for BinaryOp
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for UpdateExpr
impl<V: ?Sized + Visit> VisitWith<V> for UpdateExpr
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Option<Vec<ExprOrSpread>>
impl<V: ?Sized + Visit> VisitWith<V> for Option<Vec<ExprOrSpread>>
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for MemberProp
impl<V: ?Sized + Visit> VisitWith<V> for MemberProp
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsNamespaceBody
impl<V: ?Sized + Visit> VisitWith<V> for TsNamespaceBody
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Vec<TsExprWithTypeArgs>
impl<V: ?Sized + Visit> VisitWith<V> for Vec<TsExprWithTypeArgs>
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for ArrayLit
impl<V: ?Sized + Visit> VisitWith<V> for ArrayLit
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsTypeParamInstantiation
impl<V: ?Sized + Visit> VisitWith<V> for TsTypeParamInstantiation
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for FnExpr
impl<V: ?Sized + Visit> VisitWith<V> for FnExpr
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsSatisfiesExpr
impl<V: ?Sized + Visit> VisitWith<V> for TsSatisfiesExpr
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsImportType
impl<V: ?Sized + Visit> VisitWith<V> for TsImportType
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for JSXElementName
impl<V: ?Sized + Visit> VisitWith<V> for JSXElementName
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for ExprOrSpread
impl<V: ?Sized + Visit> VisitWith<V> for ExprOrSpread
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Script
impl<V: ?Sized + Visit> VisitWith<V> for Script
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for JsWord
impl<V: ?Sized + Visit> VisitWith<V> for JsWord
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsGetterSignature
impl<V: ?Sized + Visit> VisitWith<V> for TsGetterSignature
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsTypeQueryExpr
impl<V: ?Sized + Visit> VisitWith<V> for TsTypeQueryExpr
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsArrayType
impl<V: ?Sized + Visit> VisitWith<V> for TsArrayType
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Lit
impl<V: ?Sized + Visit> VisitWith<V> for Lit
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsOptionalType
impl<V: ?Sized + Visit> VisitWith<V> for TsOptionalType
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Vec<Param>
impl<V: ?Sized + Visit> VisitWith<V> for Vec<Param>
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Option<Box<TsTypeAnn>>
impl<V: ?Sized + Visit> VisitWith<V> for Option<Box<TsTypeAnn>>
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for JSXObject
impl<V: ?Sized + Visit> VisitWith<V> for JSXObject
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Vec<JSXAttrOrSpread>
impl<V: ?Sized + Visit> VisitWith<V> for Vec<JSXAttrOrSpread>
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for ArrowExpr
impl<V: ?Sized + Visit> VisitWith<V> for ArrowExpr
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for BigInt
impl<V: ?Sized + Visit> VisitWith<V> for BigInt
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for PrivateName
impl<V: ?Sized + Visit> VisitWith<V> for PrivateName
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Function
impl<V: ?Sized + Visit> VisitWith<V> for Function
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for ExprStmt
impl<V: ?Sized + Visit> VisitWith<V> for ExprStmt
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for [ExportSpecifier]
impl<V: ?Sized + Visit> VisitWith<V> for [ExportSpecifier]
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Vec<Box<TsType>>
impl<V: ?Sized + Visit> VisitWith<V> for Vec<Box<TsType>>
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for PatOrExpr
impl<V: ?Sized + Visit> VisitWith<V> for PatOrExpr
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for ImportStarAsSpecifier
impl<V: ?Sized + Visit> VisitWith<V> for ImportStarAsSpecifier
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for BlockStmt
impl<V: ?Sized + Visit> VisitWith<V> for BlockStmt
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Decl
impl<V: ?Sized + Visit> VisitWith<V> for Decl
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for [TsEnumMember]
impl<V: ?Sized + Visit> VisitWith<V> for [TsEnumMember]
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsMappedType
impl<V: ?Sized + Visit> VisitWith<V> for TsMappedType
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for BreakStmt
impl<V: ?Sized + Visit> VisitWith<V> for BreakStmt
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TryStmt
impl<V: ?Sized + Visit> VisitWith<V> for TryStmt
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for SuperProp
impl<V: ?Sized + Visit> VisitWith<V> for SuperProp
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsModuleBlock
impl<V: ?Sized + Visit> VisitWith<V> for TsModuleBlock
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for ImportNamedSpecifier
impl<V: ?Sized + Visit> VisitWith<V> for ImportNamedSpecifier
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for [PropOrSpread]
impl<V: ?Sized + Visit> VisitWith<V> for [PropOrSpread]
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for SuperPropExpr
impl<V: ?Sized + Visit> VisitWith<V> for SuperPropExpr
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for WithStmt
impl<V: ?Sized + Visit> VisitWith<V> for WithStmt
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsEnumMember
impl<V: ?Sized + Visit> VisitWith<V> for TsEnumMember
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Expr
impl<V: ?Sized + Visit> VisitWith<V> for Expr
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Str
impl<V: ?Sized + Visit> VisitWith<V> for Str
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsNamespaceDecl
impl<V: ?Sized + Visit> VisitWith<V> for TsNamespaceDecl
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsLit
impl<V: ?Sized + Visit> VisitWith<V> for TsLit
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsTypeAnn
impl<V: ?Sized + Visit> VisitWith<V> for TsTypeAnn
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for ClassMethod
impl<V: ?Sized + Visit> VisitWith<V> for ClassMethod
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Option<Box<Expr>>
impl<V: ?Sized + Visit> VisitWith<V> for Option<Box<Expr>>
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for [TsExprWithTypeArgs]
impl<V: ?Sized + Visit> VisitWith<V> for [TsExprWithTypeArgs]
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for EmptyStmt
impl<V: ?Sized + Visit> VisitWith<V> for EmptyStmt
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Module
impl<V: ?Sized + Visit> VisitWith<V> for Module
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsThisTypeOrIdent
impl<V: ?Sized + Visit> VisitWith<V> for TsThisTypeOrIdent
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for UpdateOp
impl<V: ?Sized + Visit> VisitWith<V> for UpdateOp
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for ArrayPat
impl<V: ?Sized + Visit> VisitWith<V> for ArrayPat
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for GetterProp
impl<V: ?Sized + Visit> VisitWith<V> for GetterProp
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Tpl
impl<V: ?Sized + Visit> VisitWith<V> for Tpl
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsParamProp
impl<V: ?Sized + Visit> VisitWith<V> for TsParamProp
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsTypeElement
impl<V: ?Sized + Visit> VisitWith<V> for TsTypeElement
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsQualifiedName
impl<V: ?Sized + Visit> VisitWith<V> for TsQualifiedName
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Import
impl<V: ?Sized + Visit> VisitWith<V> for Import
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for [SwitchCase]
impl<V: ?Sized + Visit> VisitWith<V> for [SwitchCase]
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsTupleType
impl<V: ?Sized + Visit> VisitWith<V> for TsTupleType
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsTypeParam
impl<V: ?Sized + Visit> VisitWith<V> for TsTypeParam
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsEntityName
impl<V: ?Sized + Visit> VisitWith<V> for TsEntityName
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for StaticBlock
impl<V: ?Sized + Visit> VisitWith<V> for StaticBlock
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Vec<TsTypeElement>
impl<V: ?Sized + Visit> VisitWith<V> for Vec<TsTypeElement>
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsModuleRef
impl<V: ?Sized + Visit> VisitWith<V> for TsModuleRef
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for ParamOrTsParamProp
impl<V: ?Sized + Visit> VisitWith<V> for ParamOrTsParamProp
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Option<CatchClause>
impl<V: ?Sized + Visit> VisitWith<V> for Option<CatchClause>
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Null
impl<V: ?Sized + Visit> VisitWith<V> for Null
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Option<TruePlusMinus>
impl<V: ?Sized + Visit> VisitWith<V> for Option<TruePlusMinus>
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Vec<PropOrSpread>
impl<V: ?Sized + Visit> VisitWith<V> for Vec<PropOrSpread>
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsModuleName
impl<V: ?Sized + Visit> VisitWith<V> for TsModuleName
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Vec<VarDeclarator>
impl<V: ?Sized + Visit> VisitWith<V> for Vec<VarDeclarator>
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsExternalModuleRef
impl<V: ?Sized + Visit> VisitWith<V> for TsExternalModuleRef
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for AwaitExpr
impl<V: ?Sized + Visit> VisitWith<V> for AwaitExpr
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TruePlusMinus
impl<V: ?Sized + Visit> VisitWith<V> for TruePlusMinus
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for VarDecl
impl<V: ?Sized + Visit> VisitWith<V> for VarDecl
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsInstantiation
impl<V: ?Sized + Visit> VisitWith<V> for TsInstantiation
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for [ParamOrTsParamProp]
impl<V: ?Sized + Visit> VisitWith<V> for [ParamOrTsParamProp]
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for JSXEmptyExpr
impl<V: ?Sized + Visit> VisitWith<V> for JSXEmptyExpr
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V, T> VisitWith<V> for Box<T>where
V: ?Sized + Visit,
T: 'static + VisitWith<V>,
impl<V, T> VisitWith<V> for Box<T>where V: ?Sized + Visit, T: 'static + VisitWith<V>,
source§fn visit_children_with(&self, v: &mut V)
fn visit_children_with(&self, v: &mut V)
Visit children nodes of self with v