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 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 ForHead
impl<V: ?Sized + Visit> VisitWith<V> for ForHead
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 TsConstructorType
impl<V: ?Sized + Visit> VisitWith<V> for TsConstructorType
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsFnType
impl<V: ?Sized + Visit> VisitWith<V> for TsFnType
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for OptChainBase
impl<V: ?Sized + Visit> VisitWith<V> for OptChainBase
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 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 MethodKind
impl<V: ?Sized + Visit> VisitWith<V> for MethodKind
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 JSXElement
impl<V: ?Sized + Visit> VisitWith<V> for JSXElement
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsTypeOperator
impl<V: ?Sized + Visit> VisitWith<V> for TsTypeOperator
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for IfStmt
impl<V: ?Sized + Visit> VisitWith<V> for IfStmt
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsTypeParamDecl
impl<V: ?Sized + Visit> VisitWith<V> for TsTypeParamDecl
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<Stmt>>
impl<V: ?Sized + Visit> VisitWith<V> for Option<Box<Stmt>>
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 TsTypeLit
impl<V: ?Sized + Visit> VisitWith<V> for TsTypeLit
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 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 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 TsUnionType
impl<V: ?Sized + Visit> VisitWith<V> for TsUnionType
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 TsUnionOrIntersectionType
impl<V: ?Sized + Visit> VisitWith<V> for TsUnionOrIntersectionType
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for KeyValueProp
impl<V: ?Sized + Visit> VisitWith<V> for KeyValueProp
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for ThisExpr
impl<V: ?Sized + Visit> VisitWith<V> for ThisExpr
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for ClassProp
impl<V: ?Sized + Visit> VisitWith<V> for ClassProp
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 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 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 [Stmt]
impl<V: ?Sized + Visit> VisitWith<V> for [Stmt]
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for [Param]
impl<V: ?Sized + Visit> VisitWith<V> for [Param]
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 JSXExpr
impl<V: ?Sized + Visit> VisitWith<V> for JSXExpr
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 TsIndexSignature
impl<V: ?Sized + Visit> VisitWith<V> for TsIndexSignature
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 [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 ReturnStmt
impl<V: ?Sized + Visit> VisitWith<V> for ReturnStmt
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for ExportDefaultSpecifier
impl<V: ?Sized + Visit> VisitWith<V> for ExportDefaultSpecifier
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Invalid
impl<V: ?Sized + Visit> VisitWith<V> for Invalid
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 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 AssignPat
impl<V: ?Sized + Visit> VisitWith<V> for AssignPat
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 TsTypeQuery
impl<V: ?Sized + Visit> VisitWith<V> for TsTypeQuery
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 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 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 TsEnumMemberId
impl<V: ?Sized + Visit> VisitWith<V> for TsEnumMemberId
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsTypeAliasDecl
impl<V: ?Sized + Visit> VisitWith<V> for TsTypeAliasDecl
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsParenthesizedType
impl<V: ?Sized + Visit> VisitWith<V> for TsParenthesizedType
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for ThrowStmt
impl<V: ?Sized + Visit> VisitWith<V> for ThrowStmt
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 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 UnaryExpr
impl<V: ?Sized + Visit> VisitWith<V> for UnaryExpr
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Option<TsEntityName>
impl<V: ?Sized + Visit> VisitWith<V> for Option<TsEntityName>
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 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 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 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 Vec<JSXElementChild>
impl<V: ?Sized + Visit> VisitWith<V> for Vec<JSXElementChild>
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for ParenExpr
impl<V: ?Sized + Visit> VisitWith<V> for ParenExpr
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Prop
impl<V: ?Sized + Visit> VisitWith<V> for Prop
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for JSXExprContainer
impl<V: ?Sized + Visit> VisitWith<V> for JSXExprContainer
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 TsConstAssertion
impl<V: ?Sized + Visit> VisitWith<V> for TsConstAssertion
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for UsingDecl
impl<V: ?Sized + Visit> VisitWith<V> for UsingDecl
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for ContinueStmt
impl<V: ?Sized + Visit> VisitWith<V> for ContinueStmt
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 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 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 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 Vec<Box<Expr>>
impl<V: ?Sized + Visit> VisitWith<V> for Vec<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 BinExpr
impl<V: ?Sized + Visit> VisitWith<V> for BinExpr
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 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 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 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 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 ModuleDecl
impl<V: ?Sized + Visit> VisitWith<V> for ModuleDecl
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 MetaPropKind
impl<V: ?Sized + Visit> VisitWith<V> for MetaPropKind
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 ModuleItem
impl<V: ?Sized + Visit> VisitWith<V> for ModuleItem
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 ReservedUnused
impl<V: ?Sized + Visit> VisitWith<V> for ReservedUnused
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 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 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 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 Super
impl<V: ?Sized + Visit> VisitWith<V> for Super
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for ForOfStmt
impl<V: ?Sized + Visit> VisitWith<V> for ForOfStmt
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Vec<SwitchCase>
impl<V: ?Sized + Visit> VisitWith<V> for Vec<SwitchCase>
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 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 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 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 JSXFragment
impl<V: ?Sized + Visit> VisitWith<V> for JSXFragment
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 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 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 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 CatchClause
impl<V: ?Sized + Visit> VisitWith<V> for CatchClause
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 [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 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 Vec<ExportSpecifier>
impl<V: ?Sized + Visit> VisitWith<V> for Vec<ExportSpecifier>
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 TsPropertySignature
impl<V: ?Sized + Visit> VisitWith<V> for TsPropertySignature
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 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 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 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 Option<Pat>
impl<V: ?Sized + Visit> VisitWith<V> for Option<Pat>
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
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 Option<Box<TsTypeParamInstantiation>>
impl<V: ?Sized + Visit> VisitWith<V> for Option<Box<TsTypeParamInstantiation>>
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 JSXOpeningElement
impl<V: ?Sized + Visit> VisitWith<V> for JSXOpeningElement
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 Vec<TplElement>
impl<V: ?Sized + Visit> VisitWith<V> for Vec<TplElement>
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 AssignPatProp
impl<V: ?Sized + Visit> VisitWith<V> for AssignPatProp
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 Param
impl<V: ?Sized + Visit> VisitWith<V> for Param
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Accessibility
impl<V: ?Sized + Visit> VisitWith<V> for Accessibility
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for [Option<Pat>]
impl<V: ?Sized + Visit> VisitWith<V> for [Option<Pat>]
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 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 RestPat
impl<V: ?Sized + Visit> VisitWith<V> for RestPat
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 KeyValuePatProp
impl<V: ?Sized + Visit> VisitWith<V> for KeyValuePatProp
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 OptChainExpr
impl<V: ?Sized + Visit> VisitWith<V> for OptChainExpr
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Vec<TsTupleElement>
impl<V: ?Sized + Visit> VisitWith<V> for Vec<TsTupleElement>
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for JSXText
impl<V: ?Sized + Visit> VisitWith<V> for JSXText
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 NewExpr
impl<V: ?Sized + Visit> VisitWith<V> for NewExpr
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Option<JSXAttrValue>
impl<V: ?Sized + Visit> VisitWith<V> for Option<JSXAttrValue>
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 [Box<Expr>]
impl<V: ?Sized + Visit> VisitWith<V> for [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 Pat
impl<V: ?Sized + Visit> VisitWith<V> for Pat
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 TsEnumDecl
impl<V: ?Sized + Visit> VisitWith<V> for TsEnumDecl
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 SetterProp
impl<V: ?Sized + Visit> VisitWith<V> for SetterProp
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for FnDecl
impl<V: ?Sized + Visit> VisitWith<V> for FnDecl
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<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 ModuleExportName
impl<V: ?Sized + Visit> VisitWith<V> for ModuleExportName
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for Class
impl<V: ?Sized + Visit> VisitWith<V> for Class
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 TsRestType
impl<V: ?Sized + Visit> VisitWith<V> for TsRestType
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 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 [ModuleItem]
impl<V: ?Sized + Visit> VisitWith<V> for [ModuleItem]
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 TsConstructSignatureDecl
impl<V: ?Sized + Visit> VisitWith<V> for TsConstructSignatureDecl
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 Option<VarDeclOrExpr>
impl<V: ?Sized + Visit> VisitWith<V> for Option<VarDeclOrExpr>
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<TsTypeParamDecl>>
impl<V: ?Sized + Visit> VisitWith<V> for Option<Box<TsTypeParamDecl>>
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 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 Stmt
impl<V: ?Sized + Visit> VisitWith<V> for Stmt
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for ClassDecl
impl<V: ?Sized + Visit> VisitWith<V> for ClassDecl
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 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 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 JSXClosingElement
impl<V: ?Sized + Visit> VisitWith<V> for JSXClosingElement
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for TsInferType
impl<V: ?Sized + Visit> VisitWith<V> for TsInferType
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for OptCall
impl<V: ?Sized + Visit> VisitWith<V> for OptCall
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, 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