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 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 [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 DefaultDecl
impl<V: ?Sized + Visit> VisitWith<V> for DefaultDecl
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 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 TaggedTpl
impl<V: ?Sized + Visit> VisitWith<V> for TaggedTpl
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for ExportDecl
impl<V: ?Sized + Visit> VisitWith<V> for ExportDecl
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 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 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 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 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 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 [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 TsSetterSignature
impl<V: ?Sized + Visit> VisitWith<V> for TsSetterSignature
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 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 [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 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 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 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 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 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 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 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 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 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 Constructor
impl<V: ?Sized + Visit> VisitWith<V> for Constructor
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 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 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 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 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 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 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 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 [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 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 TsMethodSignature
impl<V: ?Sized + Visit> VisitWith<V> for TsMethodSignature
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for VarDeclOrPat
impl<V: ?Sized + Visit> VisitWith<V> for VarDeclOrPat
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 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 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 Vec<Pat>
impl<V: ?Sized + Visit> VisitWith<V> for Vec<Pat>
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 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 [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 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 ImportDecl
impl<V: ?Sized + Visit> VisitWith<V> for ImportDecl
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 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 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 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 JSXSpreadChild
impl<V: ?Sized + Visit> VisitWith<V> for JSXSpreadChild
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 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 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 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 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 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 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 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 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 MethodProp
impl<V: ?Sized + Visit> VisitWith<V> for MethodProp
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 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 TsCallSignatureDecl
impl<V: ?Sized + Visit> VisitWith<V> for TsCallSignatureDecl
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for SwitchStmt
impl<V: ?Sized + Visit> VisitWith<V> for SwitchStmt
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 TsKeywordTypeKind
impl<V: ?Sized + Visit> VisitWith<V> for TsKeywordTypeKind
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 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 TsThisType
impl<V: ?Sized + Visit> VisitWith<V> for TsThisType
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for VarDeclOrExpr
impl<V: ?Sized + Visit> VisitWith<V> for VarDeclOrExpr
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 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 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 ImportDefaultSpecifier
impl<V: ?Sized + Visit> VisitWith<V> for ImportDefaultSpecifier
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 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 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 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 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 [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 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 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 JSXNamespacedName
impl<V: ?Sized + Visit> VisitWith<V> for JSXNamespacedName
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 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 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 ImportSpecifier
impl<V: ?Sized + Visit> VisitWith<V> for ImportSpecifier
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 [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 AutoAccessor
impl<V: ?Sized + Visit> VisitWith<V> for AutoAccessor
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 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 Option<Vec<ModuleItem>>
impl<V: ?Sized + Visit> VisitWith<V> for Option<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 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 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 Regex
impl<V: ?Sized + Visit> VisitWith<V> for Regex
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for ClassExpr
impl<V: ?Sized + Visit> VisitWith<V> for ClassExpr
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 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 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 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 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 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<Decorator>
impl<V: ?Sized + Visit> VisitWith<V> for Vec<Decorator>
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 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 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 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 [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 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 BlockStmtOrExpr
impl<V: ?Sized + Visit> VisitWith<V> for BlockStmtOrExpr
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 [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 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 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 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 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 [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 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 TplElement
impl<V: ?Sized + Visit> VisitWith<V> for TplElement
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 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 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 Option<Box<Str>>
impl<V: ?Sized + Visit> VisitWith<V> for Option<Box<Str>>
fn visit_with(&self, v: &mut V)
fn visit_children_with(&self, _visitor: &mut V)
source§impl<V: ?Sized + Visit> VisitWith<V> for CondExpr
impl<V: ?Sized + Visit> VisitWith<V> for CondExpr
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 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 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 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 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 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 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 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 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 LabeledStmt
impl<V: ?Sized + Visit> VisitWith<V> for LabeledStmt
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 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 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<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 TsFnOrConstructorType
impl<V: ?Sized + Visit> VisitWith<V> for TsFnOrConstructorType
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 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 [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, 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