Trait swc_ecma_visit::VisitAstPath
source · pub trait VisitAstPath {
Show 286 methods
// Provided methods
fn visit_accessibility<'ast: 'r, 'r>(
&mut self,
n: &'ast Accessibility,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_array_lit<'ast: 'r, 'r>(
&mut self,
n: &'ast ArrayLit,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_array_pat<'ast: 'r, 'r>(
&mut self,
n: &'ast ArrayPat,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_arrow_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast ArrowExpr,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_assign_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast AssignExpr,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_assign_op<'ast: 'r, 'r>(
&mut self,
n: &'ast AssignOp,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_assign_pat<'ast: 'r, 'r>(
&mut self,
n: &'ast AssignPat,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_assign_pat_prop<'ast: 'r, 'r>(
&mut self,
n: &'ast AssignPatProp,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_assign_prop<'ast: 'r, 'r>(
&mut self,
n: &'ast AssignProp,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_atom<'ast: 'r, 'r>(
&mut self,
n: &'ast Atom,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_auto_accessor<'ast: 'r, 'r>(
&mut self,
n: &'ast AutoAccessor,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_await_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast AwaitExpr,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_big_int<'ast: 'r, 'r>(
&mut self,
n: &'ast BigInt,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_big_int_value<'ast: 'r, 'r>(
&mut self,
n: &'ast BigIntValue,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_bin_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast BinExpr,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_binary_op<'ast: 'r, 'r>(
&mut self,
n: &'ast BinaryOp,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_binding_ident<'ast: 'r, 'r>(
&mut self,
n: &'ast BindingIdent,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_block_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast BlockStmt,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_block_stmt_or_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast BlockStmtOrExpr,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_bool<'ast: 'r, 'r>(
&mut self,
n: &'ast Bool,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_break_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast BreakStmt,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_call_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast CallExpr,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_callee<'ast: 'r, 'r>(
&mut self,
n: &'ast Callee,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_catch_clause<'ast: 'r, 'r>(
&mut self,
n: &'ast CatchClause,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_class<'ast: 'r, 'r>(
&mut self,
n: &'ast Class,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_class_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast ClassDecl,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_class_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast ClassExpr,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_class_member<'ast: 'r, 'r>(
&mut self,
n: &'ast ClassMember,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_class_members<'ast: 'r, 'r>(
&mut self,
n: &'ast [ClassMember],
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_class_method<'ast: 'r, 'r>(
&mut self,
n: &'ast ClassMethod,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_class_prop<'ast: 'r, 'r>(
&mut self,
n: &'ast ClassProp,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_computed_prop_name<'ast: 'r, 'r>(
&mut self,
n: &'ast ComputedPropName,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_cond_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast CondExpr,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_constructor<'ast: 'r, 'r>(
&mut self,
n: &'ast Constructor,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_continue_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast ContinueStmt,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_debugger_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast DebuggerStmt,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast Decl,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_decorator<'ast: 'r, 'r>(
&mut self,
n: &'ast Decorator,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_decorators<'ast: 'r, 'r>(
&mut self,
n: &'ast [Decorator],
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_default_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast DefaultDecl,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_do_while_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast DoWhileStmt,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_empty_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast EmptyStmt,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_export_all<'ast: 'r, 'r>(
&mut self,
n: &'ast ExportAll,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_export_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast ExportDecl,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_export_default_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast ExportDefaultDecl,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_export_default_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast ExportDefaultExpr,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_export_default_specifier<'ast: 'r, 'r>(
&mut self,
n: &'ast ExportDefaultSpecifier,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_export_named_specifier<'ast: 'r, 'r>(
&mut self,
n: &'ast ExportNamedSpecifier,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_export_namespace_specifier<'ast: 'r, 'r>(
&mut self,
n: &'ast ExportNamespaceSpecifier,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_export_specifier<'ast: 'r, 'r>(
&mut self,
n: &'ast ExportSpecifier,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_export_specifiers<'ast: 'r, 'r>(
&mut self,
n: &'ast [ExportSpecifier],
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast Expr,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_expr_or_spread<'ast: 'r, 'r>(
&mut self,
n: &'ast ExprOrSpread,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_expr_or_spreads<'ast: 'r, 'r>(
&mut self,
n: &'ast [ExprOrSpread],
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_expr_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast ExprStmt,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_exprs<'ast: 'r, 'r>(
&mut self,
n: &'ast [Box<Expr>],
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_fn_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast FnDecl,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_fn_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast FnExpr,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_for_head<'ast: 'r, 'r>(
&mut self,
n: &'ast ForHead,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_for_in_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast ForInStmt,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_for_of_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast ForOfStmt,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_for_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast ForStmt,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_function<'ast: 'r, 'r>(
&mut self,
n: &'ast Function,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_getter_prop<'ast: 'r, 'r>(
&mut self,
n: &'ast GetterProp,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ident<'ast: 'r, 'r>(
&mut self,
n: &'ast Ident,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_if_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast IfStmt,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_import<'ast: 'r, 'r>(
&mut self,
n: &'ast Import,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_import_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast ImportDecl,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_import_default_specifier<'ast: 'r, 'r>(
&mut self,
n: &'ast ImportDefaultSpecifier,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_import_named_specifier<'ast: 'r, 'r>(
&mut self,
n: &'ast ImportNamedSpecifier,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_import_specifier<'ast: 'r, 'r>(
&mut self,
n: &'ast ImportSpecifier,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_import_specifiers<'ast: 'r, 'r>(
&mut self,
n: &'ast [ImportSpecifier],
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_import_star_as_specifier<'ast: 'r, 'r>(
&mut self,
n: &'ast ImportStarAsSpecifier,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_invalid<'ast: 'r, 'r>(
&mut self,
n: &'ast Invalid,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_js_word<'ast: 'r, 'r>(
&mut self,
n: &'ast JsWord,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_jsx_attr<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXAttr,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_jsx_attr_name<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXAttrName,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_jsx_attr_or_spread<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXAttrOrSpread,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_jsx_attr_or_spreads<'ast: 'r, 'r>(
&mut self,
n: &'ast [JSXAttrOrSpread],
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_jsx_attr_value<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXAttrValue,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_jsx_closing_element<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXClosingElement,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_jsx_closing_fragment<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXClosingFragment,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_jsx_element<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXElement,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_jsx_element_child<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXElementChild,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_jsx_element_children<'ast: 'r, 'r>(
&mut self,
n: &'ast [JSXElementChild],
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_jsx_element_name<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXElementName,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_jsx_empty_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXEmptyExpr,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_jsx_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXExpr,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_jsx_expr_container<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXExprContainer,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_jsx_fragment<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXFragment,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_jsx_member_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXMemberExpr,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_jsx_namespaced_name<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXNamespacedName,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_jsx_object<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXObject,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_jsx_opening_element<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXOpeningElement,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_jsx_opening_fragment<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXOpeningFragment,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_jsx_spread_child<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXSpreadChild,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_jsx_text<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXText,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_key<'ast: 'r, 'r>(
&mut self,
n: &'ast Key,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_key_value_pat_prop<'ast: 'r, 'r>(
&mut self,
n: &'ast KeyValuePatProp,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_key_value_prop<'ast: 'r, 'r>(
&mut self,
n: &'ast KeyValueProp,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_labeled_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast LabeledStmt,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_lit<'ast: 'r, 'r>(
&mut self,
n: &'ast Lit,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_member_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast MemberExpr,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_member_prop<'ast: 'r, 'r>(
&mut self,
n: &'ast MemberProp,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_meta_prop_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast MetaPropExpr,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_meta_prop_kind<'ast: 'r, 'r>(
&mut self,
n: &'ast MetaPropKind,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_method_kind<'ast: 'r, 'r>(
&mut self,
n: &'ast MethodKind,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_method_prop<'ast: 'r, 'r>(
&mut self,
n: &'ast MethodProp,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_module<'ast: 'r, 'r>(
&mut self,
n: &'ast Module,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_module_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast ModuleDecl,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_module_export_name<'ast: 'r, 'r>(
&mut self,
n: &'ast ModuleExportName,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_module_item<'ast: 'r, 'r>(
&mut self,
n: &'ast ModuleItem,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_module_items<'ast: 'r, 'r>(
&mut self,
n: &'ast [ModuleItem],
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_named_export<'ast: 'r, 'r>(
&mut self,
n: &'ast NamedExport,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_new_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast NewExpr,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_null<'ast: 'r, 'r>(
&mut self,
n: &'ast Null,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_number<'ast: 'r, 'r>(
&mut self,
n: &'ast Number,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_object_lit<'ast: 'r, 'r>(
&mut self,
n: &'ast ObjectLit,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_object_pat<'ast: 'r, 'r>(
&mut self,
n: &'ast ObjectPat,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_object_pat_prop<'ast: 'r, 'r>(
&mut self,
n: &'ast ObjectPatProp,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_object_pat_props<'ast: 'r, 'r>(
&mut self,
n: &'ast [ObjectPatProp],
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_opt_accessibility<'ast: 'r, 'r>(
&mut self,
n: Option<&'ast Accessibility>,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_opt_atom<'ast: 'r, 'r>(
&mut self,
n: Option<&'ast Atom>,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_opt_block_stmt<'ast: 'r, 'r>(
&mut self,
n: Option<&'ast BlockStmt>,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_opt_call<'ast: 'r, 'r>(
&mut self,
n: &'ast OptCall,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_opt_catch_clause<'ast: 'r, 'r>(
&mut self,
n: Option<&'ast CatchClause>,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_opt_chain_base<'ast: 'r, 'r>(
&mut self,
n: &'ast OptChainBase,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_opt_chain_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast OptChainExpr,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_opt_expr<'ast: 'r, 'r>(
&mut self,
n: Option<&'ast Box<Expr>>,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_opt_expr_or_spread<'ast: 'r, 'r>(
&mut self,
n: Option<&'ast ExprOrSpread>,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_opt_expr_or_spreads<'ast: 'r, 'r>(
&mut self,
n: Option<&'ast [ExprOrSpread]>,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_opt_ident<'ast: 'r, 'r>(
&mut self,
n: Option<&'ast Ident>,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_opt_jsx_attr_value<'ast: 'r, 'r>(
&mut self,
n: Option<&'ast JSXAttrValue>,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_opt_jsx_closing_element<'ast: 'r, 'r>(
&mut self,
n: Option<&'ast JSXClosingElement>,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_opt_module_export_name<'ast: 'r, 'r>(
&mut self,
n: Option<&'ast ModuleExportName>,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_opt_module_items<'ast: 'r, 'r>(
&mut self,
n: Option<&'ast [ModuleItem]>,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_opt_object_lit<'ast: 'r, 'r>(
&mut self,
n: Option<&'ast Box<ObjectLit>>,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_opt_pat<'ast: 'r, 'r>(
&mut self,
n: Option<&'ast Pat>,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_opt_span<'ast: 'r, 'r>(
&mut self,
n: Option<&'ast Span>,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_opt_stmt<'ast: 'r, 'r>(
&mut self,
n: Option<&'ast Box<Stmt>>,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_opt_str<'ast: 'r, 'r>(
&mut self,
n: Option<&'ast Box<Str>>,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_opt_true_plus_minus<'ast: 'r, 'r>(
&mut self,
n: Option<&'ast TruePlusMinus>,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_opt_ts_entity_name<'ast: 'r, 'r>(
&mut self,
n: Option<&'ast TsEntityName>,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_opt_ts_namespace_body<'ast: 'r, 'r>(
&mut self,
n: Option<&'ast TsNamespaceBody>,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_opt_ts_type<'ast: 'r, 'r>(
&mut self,
n: Option<&'ast Box<TsType>>,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_opt_ts_type_ann<'ast: 'r, 'r>(
&mut self,
n: Option<&'ast Box<TsTypeAnn>>,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_opt_ts_type_param_decl<'ast: 'r, 'r>(
&mut self,
n: Option<&'ast Box<TsTypeParamDecl>>,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_opt_ts_type_param_instantiation<'ast: 'r, 'r>(
&mut self,
n: Option<&'ast Box<TsTypeParamInstantiation>>,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_opt_var_decl_or_expr<'ast: 'r, 'r>(
&mut self,
n: Option<&'ast VarDeclOrExpr>,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_opt_vec_expr_or_spreads<'ast: 'r, 'r>(
&mut self,
n: &'ast [Option<ExprOrSpread>],
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_opt_vec_pats<'ast: 'r, 'r>(
&mut self,
n: &'ast [Option<Pat>],
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_param<'ast: 'r, 'r>(
&mut self,
n: &'ast Param,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_param_or_ts_param_prop<'ast: 'r, 'r>(
&mut self,
n: &'ast ParamOrTsParamProp,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_param_or_ts_param_props<'ast: 'r, 'r>(
&mut self,
n: &'ast [ParamOrTsParamProp],
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_params<'ast: 'r, 'r>(
&mut self,
n: &'ast [Param],
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_paren_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast ParenExpr,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_pat<'ast: 'r, 'r>(
&mut self,
n: &'ast Pat,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_pat_or_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast PatOrExpr,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_pats<'ast: 'r, 'r>(
&mut self,
n: &'ast [Pat],
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_private_method<'ast: 'r, 'r>(
&mut self,
n: &'ast PrivateMethod,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_private_name<'ast: 'r, 'r>(
&mut self,
n: &'ast PrivateName,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_private_prop<'ast: 'r, 'r>(
&mut self,
n: &'ast PrivateProp,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_program<'ast: 'r, 'r>(
&mut self,
n: &'ast Program,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_prop<'ast: 'r, 'r>(
&mut self,
n: &'ast Prop,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_prop_name<'ast: 'r, 'r>(
&mut self,
n: &'ast PropName,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_prop_or_spread<'ast: 'r, 'r>(
&mut self,
n: &'ast PropOrSpread,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_prop_or_spreads<'ast: 'r, 'r>(
&mut self,
n: &'ast [PropOrSpread],
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_regex<'ast: 'r, 'r>(
&mut self,
n: &'ast Regex,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_reserved_unused<'ast: 'r, 'r>(
&mut self,
n: &'ast ReservedUnused,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_rest_pat<'ast: 'r, 'r>(
&mut self,
n: &'ast RestPat,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_return_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast ReturnStmt,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_script<'ast: 'r, 'r>(
&mut self,
n: &'ast Script,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_seq_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast SeqExpr,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_setter_prop<'ast: 'r, 'r>(
&mut self,
n: &'ast SetterProp,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_span<'ast: 'r, 'r>(
&mut self,
n: &'ast Span,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_spread_element<'ast: 'r, 'r>(
&mut self,
n: &'ast SpreadElement,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_static_block<'ast: 'r, 'r>(
&mut self,
n: &'ast StaticBlock,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast Stmt,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_stmts<'ast: 'r, 'r>(
&mut self,
n: &'ast [Stmt],
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_str<'ast: 'r, 'r>(
&mut self,
n: &'ast Str,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_super<'ast: 'r, 'r>(
&mut self,
n: &'ast Super,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_super_prop<'ast: 'r, 'r>(
&mut self,
n: &'ast SuperProp,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_super_prop_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast SuperPropExpr,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_switch_case<'ast: 'r, 'r>(
&mut self,
n: &'ast SwitchCase,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_switch_cases<'ast: 'r, 'r>(
&mut self,
n: &'ast [SwitchCase],
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_switch_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast SwitchStmt,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_tagged_tpl<'ast: 'r, 'r>(
&mut self,
n: &'ast TaggedTpl,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_this_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast ThisExpr,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_throw_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast ThrowStmt,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_tpl<'ast: 'r, 'r>(
&mut self,
n: &'ast Tpl,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_tpl_element<'ast: 'r, 'r>(
&mut self,
n: &'ast TplElement,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_tpl_elements<'ast: 'r, 'r>(
&mut self,
n: &'ast [TplElement],
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_true_plus_minus<'ast: 'r, 'r>(
&mut self,
n: &'ast TruePlusMinus,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_try_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast TryStmt,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_array_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsArrayType,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_as_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast TsAsExpr,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_call_signature_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast TsCallSignatureDecl,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_conditional_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsConditionalType,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_const_assertion<'ast: 'r, 'r>(
&mut self,
n: &'ast TsConstAssertion,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_construct_signature_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast TsConstructSignatureDecl,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_constructor_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsConstructorType,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_entity_name<'ast: 'r, 'r>(
&mut self,
n: &'ast TsEntityName,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_enum_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast TsEnumDecl,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_enum_member<'ast: 'r, 'r>(
&mut self,
n: &'ast TsEnumMember,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_enum_member_id<'ast: 'r, 'r>(
&mut self,
n: &'ast TsEnumMemberId,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_enum_members<'ast: 'r, 'r>(
&mut self,
n: &'ast [TsEnumMember],
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_export_assignment<'ast: 'r, 'r>(
&mut self,
n: &'ast TsExportAssignment,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_expr_with_type_args<'ast: 'r, 'r>(
&mut self,
n: &'ast TsExprWithTypeArgs,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_expr_with_type_args_vec<'ast: 'r, 'r>(
&mut self,
n: &'ast [TsExprWithTypeArgs],
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_external_module_ref<'ast: 'r, 'r>(
&mut self,
n: &'ast TsExternalModuleRef,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_fn_or_constructor_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsFnOrConstructorType,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_fn_param<'ast: 'r, 'r>(
&mut self,
n: &'ast TsFnParam,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_fn_params<'ast: 'r, 'r>(
&mut self,
n: &'ast [TsFnParam],
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_fn_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsFnType,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_getter_signature<'ast: 'r, 'r>(
&mut self,
n: &'ast TsGetterSignature,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_import_equals_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast TsImportEqualsDecl,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_import_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsImportType,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_index_signature<'ast: 'r, 'r>(
&mut self,
n: &'ast TsIndexSignature,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_indexed_access_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsIndexedAccessType,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_infer_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsInferType,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_instantiation<'ast: 'r, 'r>(
&mut self,
n: &'ast TsInstantiation,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_interface_body<'ast: 'r, 'r>(
&mut self,
n: &'ast TsInterfaceBody,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_interface_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast TsInterfaceDecl,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_intersection_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsIntersectionType,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_keyword_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsKeywordType,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_keyword_type_kind<'ast: 'r, 'r>(
&mut self,
n: &'ast TsKeywordTypeKind,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_lit<'ast: 'r, 'r>(
&mut self,
n: &'ast TsLit,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_lit_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsLitType,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_mapped_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsMappedType,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_method_signature<'ast: 'r, 'r>(
&mut self,
n: &'ast TsMethodSignature,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_module_block<'ast: 'r, 'r>(
&mut self,
n: &'ast TsModuleBlock,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_module_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast TsModuleDecl,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_module_name<'ast: 'r, 'r>(
&mut self,
n: &'ast TsModuleName,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_module_ref<'ast: 'r, 'r>(
&mut self,
n: &'ast TsModuleRef,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_namespace_body<'ast: 'r, 'r>(
&mut self,
n: &'ast TsNamespaceBody,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_namespace_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast TsNamespaceDecl,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_namespace_export_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast TsNamespaceExportDecl,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_non_null_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast TsNonNullExpr,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_optional_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsOptionalType,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_param_prop<'ast: 'r, 'r>(
&mut self,
n: &'ast TsParamProp,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_param_prop_param<'ast: 'r, 'r>(
&mut self,
n: &'ast TsParamPropParam,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_parenthesized_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsParenthesizedType,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_property_signature<'ast: 'r, 'r>(
&mut self,
n: &'ast TsPropertySignature,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_qualified_name<'ast: 'r, 'r>(
&mut self,
n: &'ast TsQualifiedName,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_rest_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsRestType,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_satisfies_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast TsSatisfiesExpr,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_setter_signature<'ast: 'r, 'r>(
&mut self,
n: &'ast TsSetterSignature,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_this_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsThisType,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_this_type_or_ident<'ast: 'r, 'r>(
&mut self,
n: &'ast TsThisTypeOrIdent,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_tpl_lit_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTplLitType,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_tuple_element<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTupleElement,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_tuple_elements<'ast: 'r, 'r>(
&mut self,
n: &'ast [TsTupleElement],
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_tuple_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTupleType,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsType,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_type_alias_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTypeAliasDecl,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_type_ann<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTypeAnn,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_type_assertion<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTypeAssertion,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_type_element<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTypeElement,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_type_elements<'ast: 'r, 'r>(
&mut self,
n: &'ast [TsTypeElement],
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_type_lit<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTypeLit,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_type_operator<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTypeOperator,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_type_operator_op<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTypeOperatorOp,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_type_param<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTypeParam,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_type_param_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTypeParamDecl,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_type_param_instantiation<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTypeParamInstantiation,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_type_params<'ast: 'r, 'r>(
&mut self,
n: &'ast [TsTypeParam],
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_type_predicate<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTypePredicate,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_type_query<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTypeQuery,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_type_query_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTypeQueryExpr,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_type_ref<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTypeRef,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_types<'ast: 'r, 'r>(
&mut self,
n: &'ast [Box<TsType>],
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_union_or_intersection_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsUnionOrIntersectionType,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_ts_union_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsUnionType,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_unary_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast UnaryExpr,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_unary_op<'ast: 'r, 'r>(
&mut self,
n: &'ast UnaryOp,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_update_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast UpdateExpr,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_update_op<'ast: 'r, 'r>(
&mut self,
n: &'ast UpdateOp,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_using_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast UsingDecl,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_var_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast VarDecl,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_var_decl_kind<'ast: 'r, 'r>(
&mut self,
n: &'ast VarDeclKind,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_var_decl_or_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast VarDeclOrExpr,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_var_declarator<'ast: 'r, 'r>(
&mut self,
n: &'ast VarDeclarator,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_var_declarators<'ast: 'r, 'r>(
&mut self,
n: &'ast [VarDeclarator],
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_while_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast WhileStmt,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_with_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast WithStmt,
__ast_path: &mut AstNodePath<'r>
) { ... }
fn visit_yield_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast YieldExpr,
__ast_path: &mut AstNodePath<'r>
) { ... }
}
path
only.Provided Methods§
sourcefn visit_accessibility<'ast: 'r, 'r>(
&mut self,
n: &'ast Accessibility,
__ast_path: &mut AstNodePath<'r>
)
fn visit_accessibility<'ast: 'r, 'r>( &mut self, n: &'ast Accessibility, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_array_lit<'ast: 'r, 'r>(
&mut self,
n: &'ast ArrayLit,
__ast_path: &mut AstNodePath<'r>
)
fn visit_array_lit<'ast: 'r, 'r>( &mut self, n: &'ast ArrayLit, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_array_pat<'ast: 'r, 'r>(
&mut self,
n: &'ast ArrayPat,
__ast_path: &mut AstNodePath<'r>
)
fn visit_array_pat<'ast: 'r, 'r>( &mut self, n: &'ast ArrayPat, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_arrow_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast ArrowExpr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_arrow_expr<'ast: 'r, 'r>( &mut self, n: &'ast ArrowExpr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_assign_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast AssignExpr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_assign_expr<'ast: 'r, 'r>( &mut self, n: &'ast AssignExpr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_assign_op<'ast: 'r, 'r>(
&mut self,
n: &'ast AssignOp,
__ast_path: &mut AstNodePath<'r>
)
fn visit_assign_op<'ast: 'r, 'r>( &mut self, n: &'ast AssignOp, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_assign_pat<'ast: 'r, 'r>(
&mut self,
n: &'ast AssignPat,
__ast_path: &mut AstNodePath<'r>
)
fn visit_assign_pat<'ast: 'r, 'r>( &mut self, n: &'ast AssignPat, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_assign_pat_prop<'ast: 'r, 'r>(
&mut self,
n: &'ast AssignPatProp,
__ast_path: &mut AstNodePath<'r>
)
fn visit_assign_pat_prop<'ast: 'r, 'r>( &mut self, n: &'ast AssignPatProp, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_assign_prop<'ast: 'r, 'r>(
&mut self,
n: &'ast AssignProp,
__ast_path: &mut AstNodePath<'r>
)
fn visit_assign_prop<'ast: 'r, 'r>( &mut self, n: &'ast AssignProp, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
fn visit_atom<'ast: 'r, 'r>( &mut self, n: &'ast Atom, __ast_path: &mut AstNodePath<'r> )
sourcefn visit_auto_accessor<'ast: 'r, 'r>(
&mut self,
n: &'ast AutoAccessor,
__ast_path: &mut AstNodePath<'r>
)
fn visit_auto_accessor<'ast: 'r, 'r>( &mut self, n: &'ast AutoAccessor, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_await_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast AwaitExpr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_await_expr<'ast: 'r, 'r>( &mut self, n: &'ast AwaitExpr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_big_int<'ast: 'r, 'r>(
&mut self,
n: &'ast BigInt,
__ast_path: &mut AstNodePath<'r>
)
fn visit_big_int<'ast: 'r, 'r>( &mut self, n: &'ast BigInt, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
fn visit_big_int_value<'ast: 'r, 'r>( &mut self, n: &'ast BigIntValue, __ast_path: &mut AstNodePath<'r> )
sourcefn visit_bin_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast BinExpr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_bin_expr<'ast: 'r, 'r>( &mut self, n: &'ast BinExpr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_binary_op<'ast: 'r, 'r>(
&mut self,
n: &'ast BinaryOp,
__ast_path: &mut AstNodePath<'r>
)
fn visit_binary_op<'ast: 'r, 'r>( &mut self, n: &'ast BinaryOp, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_binding_ident<'ast: 'r, 'r>(
&mut self,
n: &'ast BindingIdent,
__ast_path: &mut AstNodePath<'r>
)
fn visit_binding_ident<'ast: 'r, 'r>( &mut self, n: &'ast BindingIdent, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_block_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast BlockStmt,
__ast_path: &mut AstNodePath<'r>
)
fn visit_block_stmt<'ast: 'r, 'r>( &mut self, n: &'ast BlockStmt, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_block_stmt_or_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast BlockStmtOrExpr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_block_stmt_or_expr<'ast: 'r, 'r>( &mut self, n: &'ast BlockStmtOrExpr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_bool<'ast: 'r, 'r>(
&mut self,
n: &'ast Bool,
__ast_path: &mut AstNodePath<'r>
)
fn visit_bool<'ast: 'r, 'r>( &mut self, n: &'ast Bool, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_break_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast BreakStmt,
__ast_path: &mut AstNodePath<'r>
)
fn visit_break_stmt<'ast: 'r, 'r>( &mut self, n: &'ast BreakStmt, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_call_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast CallExpr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_call_expr<'ast: 'r, 'r>( &mut self, n: &'ast CallExpr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_callee<'ast: 'r, 'r>(
&mut self,
n: &'ast Callee,
__ast_path: &mut AstNodePath<'r>
)
fn visit_callee<'ast: 'r, 'r>( &mut self, n: &'ast Callee, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_catch_clause<'ast: 'r, 'r>(
&mut self,
n: &'ast CatchClause,
__ast_path: &mut AstNodePath<'r>
)
fn visit_catch_clause<'ast: 'r, 'r>( &mut self, n: &'ast CatchClause, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_class<'ast: 'r, 'r>(
&mut self,
n: &'ast Class,
__ast_path: &mut AstNodePath<'r>
)
fn visit_class<'ast: 'r, 'r>( &mut self, n: &'ast Class, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_class_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast ClassDecl,
__ast_path: &mut AstNodePath<'r>
)
fn visit_class_decl<'ast: 'r, 'r>( &mut self, n: &'ast ClassDecl, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_class_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast ClassExpr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_class_expr<'ast: 'r, 'r>( &mut self, n: &'ast ClassExpr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_class_member<'ast: 'r, 'r>(
&mut self,
n: &'ast ClassMember,
__ast_path: &mut AstNodePath<'r>
)
fn visit_class_member<'ast: 'r, 'r>( &mut self, n: &'ast ClassMember, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
fn visit_class_members<'ast: 'r, 'r>( &mut self, n: &'ast [ClassMember], __ast_path: &mut AstNodePath<'r> )
sourcefn visit_class_method<'ast: 'r, 'r>(
&mut self,
n: &'ast ClassMethod,
__ast_path: &mut AstNodePath<'r>
)
fn visit_class_method<'ast: 'r, 'r>( &mut self, n: &'ast ClassMethod, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_class_prop<'ast: 'r, 'r>(
&mut self,
n: &'ast ClassProp,
__ast_path: &mut AstNodePath<'r>
)
fn visit_class_prop<'ast: 'r, 'r>( &mut self, n: &'ast ClassProp, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_computed_prop_name<'ast: 'r, 'r>(
&mut self,
n: &'ast ComputedPropName,
__ast_path: &mut AstNodePath<'r>
)
fn visit_computed_prop_name<'ast: 'r, 'r>( &mut self, n: &'ast ComputedPropName, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_cond_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast CondExpr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_cond_expr<'ast: 'r, 'r>( &mut self, n: &'ast CondExpr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_constructor<'ast: 'r, 'r>(
&mut self,
n: &'ast Constructor,
__ast_path: &mut AstNodePath<'r>
)
fn visit_constructor<'ast: 'r, 'r>( &mut self, n: &'ast Constructor, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_continue_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast ContinueStmt,
__ast_path: &mut AstNodePath<'r>
)
fn visit_continue_stmt<'ast: 'r, 'r>( &mut self, n: &'ast ContinueStmt, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_debugger_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast DebuggerStmt,
__ast_path: &mut AstNodePath<'r>
)
fn visit_debugger_stmt<'ast: 'r, 'r>( &mut self, n: &'ast DebuggerStmt, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast Decl,
__ast_path: &mut AstNodePath<'r>
)
fn visit_decl<'ast: 'r, 'r>( &mut self, n: &'ast Decl, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_decorator<'ast: 'r, 'r>(
&mut self,
n: &'ast Decorator,
__ast_path: &mut AstNodePath<'r>
)
fn visit_decorator<'ast: 'r, 'r>( &mut self, n: &'ast Decorator, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
fn visit_decorators<'ast: 'r, 'r>( &mut self, n: &'ast [Decorator], __ast_path: &mut AstNodePath<'r> )
sourcefn visit_default_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast DefaultDecl,
__ast_path: &mut AstNodePath<'r>
)
fn visit_default_decl<'ast: 'r, 'r>( &mut self, n: &'ast DefaultDecl, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_do_while_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast DoWhileStmt,
__ast_path: &mut AstNodePath<'r>
)
fn visit_do_while_stmt<'ast: 'r, 'r>( &mut self, n: &'ast DoWhileStmt, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_empty_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast EmptyStmt,
__ast_path: &mut AstNodePath<'r>
)
fn visit_empty_stmt<'ast: 'r, 'r>( &mut self, n: &'ast EmptyStmt, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_export_all<'ast: 'r, 'r>(
&mut self,
n: &'ast ExportAll,
__ast_path: &mut AstNodePath<'r>
)
fn visit_export_all<'ast: 'r, 'r>( &mut self, n: &'ast ExportAll, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_export_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast ExportDecl,
__ast_path: &mut AstNodePath<'r>
)
fn visit_export_decl<'ast: 'r, 'r>( &mut self, n: &'ast ExportDecl, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_export_default_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast ExportDefaultDecl,
__ast_path: &mut AstNodePath<'r>
)
fn visit_export_default_decl<'ast: 'r, 'r>( &mut self, n: &'ast ExportDefaultDecl, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_export_default_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast ExportDefaultExpr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_export_default_expr<'ast: 'r, 'r>( &mut self, n: &'ast ExportDefaultExpr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_export_default_specifier<'ast: 'r, 'r>(
&mut self,
n: &'ast ExportDefaultSpecifier,
__ast_path: &mut AstNodePath<'r>
)
fn visit_export_default_specifier<'ast: 'r, 'r>( &mut self, n: &'ast ExportDefaultSpecifier, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_export_named_specifier<'ast: 'r, 'r>(
&mut self,
n: &'ast ExportNamedSpecifier,
__ast_path: &mut AstNodePath<'r>
)
fn visit_export_named_specifier<'ast: 'r, 'r>( &mut self, n: &'ast ExportNamedSpecifier, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_export_namespace_specifier<'ast: 'r, 'r>(
&mut self,
n: &'ast ExportNamespaceSpecifier,
__ast_path: &mut AstNodePath<'r>
)
fn visit_export_namespace_specifier<'ast: 'r, 'r>( &mut self, n: &'ast ExportNamespaceSpecifier, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_export_specifier<'ast: 'r, 'r>(
&mut self,
n: &'ast ExportSpecifier,
__ast_path: &mut AstNodePath<'r>
)
fn visit_export_specifier<'ast: 'r, 'r>( &mut self, n: &'ast ExportSpecifier, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
fn visit_export_specifiers<'ast: 'r, 'r>( &mut self, n: &'ast [ExportSpecifier], __ast_path: &mut AstNodePath<'r> )
sourcefn visit_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast Expr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_expr<'ast: 'r, 'r>( &mut self, n: &'ast Expr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_expr_or_spread<'ast: 'r, 'r>(
&mut self,
n: &'ast ExprOrSpread,
__ast_path: &mut AstNodePath<'r>
)
fn visit_expr_or_spread<'ast: 'r, 'r>( &mut self, n: &'ast ExprOrSpread, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
fn visit_expr_or_spreads<'ast: 'r, 'r>( &mut self, n: &'ast [ExprOrSpread], __ast_path: &mut AstNodePath<'r> )
sourcefn visit_expr_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast ExprStmt,
__ast_path: &mut AstNodePath<'r>
)
fn visit_expr_stmt<'ast: 'r, 'r>( &mut self, n: &'ast ExprStmt, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
fn visit_exprs<'ast: 'r, 'r>( &mut self, n: &'ast [Box<Expr>], __ast_path: &mut AstNodePath<'r> )
sourcefn visit_fn_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast FnDecl,
__ast_path: &mut AstNodePath<'r>
)
fn visit_fn_decl<'ast: 'r, 'r>( &mut self, n: &'ast FnDecl, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_fn_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast FnExpr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_fn_expr<'ast: 'r, 'r>( &mut self, n: &'ast FnExpr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_for_head<'ast: 'r, 'r>(
&mut self,
n: &'ast ForHead,
__ast_path: &mut AstNodePath<'r>
)
fn visit_for_head<'ast: 'r, 'r>( &mut self, n: &'ast ForHead, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_for_in_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast ForInStmt,
__ast_path: &mut AstNodePath<'r>
)
fn visit_for_in_stmt<'ast: 'r, 'r>( &mut self, n: &'ast ForInStmt, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_for_of_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast ForOfStmt,
__ast_path: &mut AstNodePath<'r>
)
fn visit_for_of_stmt<'ast: 'r, 'r>( &mut self, n: &'ast ForOfStmt, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_for_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast ForStmt,
__ast_path: &mut AstNodePath<'r>
)
fn visit_for_stmt<'ast: 'r, 'r>( &mut self, n: &'ast ForStmt, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_function<'ast: 'r, 'r>(
&mut self,
n: &'ast Function,
__ast_path: &mut AstNodePath<'r>
)
fn visit_function<'ast: 'r, 'r>( &mut self, n: &'ast Function, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_getter_prop<'ast: 'r, 'r>(
&mut self,
n: &'ast GetterProp,
__ast_path: &mut AstNodePath<'r>
)
fn visit_getter_prop<'ast: 'r, 'r>( &mut self, n: &'ast GetterProp, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ident<'ast: 'r, 'r>(
&mut self,
n: &'ast Ident,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ident<'ast: 'r, 'r>( &mut self, n: &'ast Ident, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_if_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast IfStmt,
__ast_path: &mut AstNodePath<'r>
)
fn visit_if_stmt<'ast: 'r, 'r>( &mut self, n: &'ast IfStmt, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_import<'ast: 'r, 'r>(
&mut self,
n: &'ast Import,
__ast_path: &mut AstNodePath<'r>
)
fn visit_import<'ast: 'r, 'r>( &mut self, n: &'ast Import, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_import_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast ImportDecl,
__ast_path: &mut AstNodePath<'r>
)
fn visit_import_decl<'ast: 'r, 'r>( &mut self, n: &'ast ImportDecl, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_import_default_specifier<'ast: 'r, 'r>(
&mut self,
n: &'ast ImportDefaultSpecifier,
__ast_path: &mut AstNodePath<'r>
)
fn visit_import_default_specifier<'ast: 'r, 'r>( &mut self, n: &'ast ImportDefaultSpecifier, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_import_named_specifier<'ast: 'r, 'r>(
&mut self,
n: &'ast ImportNamedSpecifier,
__ast_path: &mut AstNodePath<'r>
)
fn visit_import_named_specifier<'ast: 'r, 'r>( &mut self, n: &'ast ImportNamedSpecifier, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_import_specifier<'ast: 'r, 'r>(
&mut self,
n: &'ast ImportSpecifier,
__ast_path: &mut AstNodePath<'r>
)
fn visit_import_specifier<'ast: 'r, 'r>( &mut self, n: &'ast ImportSpecifier, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
fn visit_import_specifiers<'ast: 'r, 'r>( &mut self, n: &'ast [ImportSpecifier], __ast_path: &mut AstNodePath<'r> )
sourcefn visit_import_star_as_specifier<'ast: 'r, 'r>(
&mut self,
n: &'ast ImportStarAsSpecifier,
__ast_path: &mut AstNodePath<'r>
)
fn visit_import_star_as_specifier<'ast: 'r, 'r>( &mut self, n: &'ast ImportStarAsSpecifier, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_invalid<'ast: 'r, 'r>(
&mut self,
n: &'ast Invalid,
__ast_path: &mut AstNodePath<'r>
)
fn visit_invalid<'ast: 'r, 'r>( &mut self, n: &'ast Invalid, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
fn visit_js_word<'ast: 'r, 'r>( &mut self, n: &'ast JsWord, __ast_path: &mut AstNodePath<'r> )
sourcefn visit_jsx_attr<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXAttr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_jsx_attr<'ast: 'r, 'r>( &mut self, n: &'ast JSXAttr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_jsx_attr_name<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXAttrName,
__ast_path: &mut AstNodePath<'r>
)
fn visit_jsx_attr_name<'ast: 'r, 'r>( &mut self, n: &'ast JSXAttrName, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_jsx_attr_or_spread<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXAttrOrSpread,
__ast_path: &mut AstNodePath<'r>
)
fn visit_jsx_attr_or_spread<'ast: 'r, 'r>( &mut self, n: &'ast JSXAttrOrSpread, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
fn visit_jsx_attr_or_spreads<'ast: 'r, 'r>( &mut self, n: &'ast [JSXAttrOrSpread], __ast_path: &mut AstNodePath<'r> )
sourcefn visit_jsx_attr_value<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXAttrValue,
__ast_path: &mut AstNodePath<'r>
)
fn visit_jsx_attr_value<'ast: 'r, 'r>( &mut self, n: &'ast JSXAttrValue, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_jsx_closing_element<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXClosingElement,
__ast_path: &mut AstNodePath<'r>
)
fn visit_jsx_closing_element<'ast: 'r, 'r>( &mut self, n: &'ast JSXClosingElement, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_jsx_closing_fragment<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXClosingFragment,
__ast_path: &mut AstNodePath<'r>
)
fn visit_jsx_closing_fragment<'ast: 'r, 'r>( &mut self, n: &'ast JSXClosingFragment, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_jsx_element<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXElement,
__ast_path: &mut AstNodePath<'r>
)
fn visit_jsx_element<'ast: 'r, 'r>( &mut self, n: &'ast JSXElement, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_jsx_element_child<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXElementChild,
__ast_path: &mut AstNodePath<'r>
)
fn visit_jsx_element_child<'ast: 'r, 'r>( &mut self, n: &'ast JSXElementChild, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
fn visit_jsx_element_children<'ast: 'r, 'r>( &mut self, n: &'ast [JSXElementChild], __ast_path: &mut AstNodePath<'r> )
sourcefn visit_jsx_element_name<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXElementName,
__ast_path: &mut AstNodePath<'r>
)
fn visit_jsx_element_name<'ast: 'r, 'r>( &mut self, n: &'ast JSXElementName, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_jsx_empty_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXEmptyExpr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_jsx_empty_expr<'ast: 'r, 'r>( &mut self, n: &'ast JSXEmptyExpr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_jsx_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXExpr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_jsx_expr<'ast: 'r, 'r>( &mut self, n: &'ast JSXExpr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_jsx_expr_container<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXExprContainer,
__ast_path: &mut AstNodePath<'r>
)
fn visit_jsx_expr_container<'ast: 'r, 'r>( &mut self, n: &'ast JSXExprContainer, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_jsx_fragment<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXFragment,
__ast_path: &mut AstNodePath<'r>
)
fn visit_jsx_fragment<'ast: 'r, 'r>( &mut self, n: &'ast JSXFragment, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_jsx_member_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXMemberExpr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_jsx_member_expr<'ast: 'r, 'r>( &mut self, n: &'ast JSXMemberExpr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_jsx_namespaced_name<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXNamespacedName,
__ast_path: &mut AstNodePath<'r>
)
fn visit_jsx_namespaced_name<'ast: 'r, 'r>( &mut self, n: &'ast JSXNamespacedName, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_jsx_object<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXObject,
__ast_path: &mut AstNodePath<'r>
)
fn visit_jsx_object<'ast: 'r, 'r>( &mut self, n: &'ast JSXObject, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_jsx_opening_element<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXOpeningElement,
__ast_path: &mut AstNodePath<'r>
)
fn visit_jsx_opening_element<'ast: 'r, 'r>( &mut self, n: &'ast JSXOpeningElement, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_jsx_opening_fragment<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXOpeningFragment,
__ast_path: &mut AstNodePath<'r>
)
fn visit_jsx_opening_fragment<'ast: 'r, 'r>( &mut self, n: &'ast JSXOpeningFragment, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_jsx_spread_child<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXSpreadChild,
__ast_path: &mut AstNodePath<'r>
)
fn visit_jsx_spread_child<'ast: 'r, 'r>( &mut self, n: &'ast JSXSpreadChild, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_jsx_text<'ast: 'r, 'r>(
&mut self,
n: &'ast JSXText,
__ast_path: &mut AstNodePath<'r>
)
fn visit_jsx_text<'ast: 'r, 'r>( &mut self, n: &'ast JSXText, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_key<'ast: 'r, 'r>(
&mut self,
n: &'ast Key,
__ast_path: &mut AstNodePath<'r>
)
fn visit_key<'ast: 'r, 'r>( &mut self, n: &'ast Key, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_key_value_pat_prop<'ast: 'r, 'r>(
&mut self,
n: &'ast KeyValuePatProp,
__ast_path: &mut AstNodePath<'r>
)
fn visit_key_value_pat_prop<'ast: 'r, 'r>( &mut self, n: &'ast KeyValuePatProp, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_key_value_prop<'ast: 'r, 'r>(
&mut self,
n: &'ast KeyValueProp,
__ast_path: &mut AstNodePath<'r>
)
fn visit_key_value_prop<'ast: 'r, 'r>( &mut self, n: &'ast KeyValueProp, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_labeled_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast LabeledStmt,
__ast_path: &mut AstNodePath<'r>
)
fn visit_labeled_stmt<'ast: 'r, 'r>( &mut self, n: &'ast LabeledStmt, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_lit<'ast: 'r, 'r>(
&mut self,
n: &'ast Lit,
__ast_path: &mut AstNodePath<'r>
)
fn visit_lit<'ast: 'r, 'r>( &mut self, n: &'ast Lit, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_member_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast MemberExpr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_member_expr<'ast: 'r, 'r>( &mut self, n: &'ast MemberExpr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_member_prop<'ast: 'r, 'r>(
&mut self,
n: &'ast MemberProp,
__ast_path: &mut AstNodePath<'r>
)
fn visit_member_prop<'ast: 'r, 'r>( &mut self, n: &'ast MemberProp, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_meta_prop_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast MetaPropExpr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_meta_prop_expr<'ast: 'r, 'r>( &mut self, n: &'ast MetaPropExpr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_meta_prop_kind<'ast: 'r, 'r>(
&mut self,
n: &'ast MetaPropKind,
__ast_path: &mut AstNodePath<'r>
)
fn visit_meta_prop_kind<'ast: 'r, 'r>( &mut self, n: &'ast MetaPropKind, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_method_kind<'ast: 'r, 'r>(
&mut self,
n: &'ast MethodKind,
__ast_path: &mut AstNodePath<'r>
)
fn visit_method_kind<'ast: 'r, 'r>( &mut self, n: &'ast MethodKind, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_method_prop<'ast: 'r, 'r>(
&mut self,
n: &'ast MethodProp,
__ast_path: &mut AstNodePath<'r>
)
fn visit_method_prop<'ast: 'r, 'r>( &mut self, n: &'ast MethodProp, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_module<'ast: 'r, 'r>(
&mut self,
n: &'ast Module,
__ast_path: &mut AstNodePath<'r>
)
fn visit_module<'ast: 'r, 'r>( &mut self, n: &'ast Module, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_module_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast ModuleDecl,
__ast_path: &mut AstNodePath<'r>
)
fn visit_module_decl<'ast: 'r, 'r>( &mut self, n: &'ast ModuleDecl, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_module_export_name<'ast: 'r, 'r>(
&mut self,
n: &'ast ModuleExportName,
__ast_path: &mut AstNodePath<'r>
)
fn visit_module_export_name<'ast: 'r, 'r>( &mut self, n: &'ast ModuleExportName, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_module_item<'ast: 'r, 'r>(
&mut self,
n: &'ast ModuleItem,
__ast_path: &mut AstNodePath<'r>
)
fn visit_module_item<'ast: 'r, 'r>( &mut self, n: &'ast ModuleItem, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
fn visit_module_items<'ast: 'r, 'r>( &mut self, n: &'ast [ModuleItem], __ast_path: &mut AstNodePath<'r> )
sourcefn visit_named_export<'ast: 'r, 'r>(
&mut self,
n: &'ast NamedExport,
__ast_path: &mut AstNodePath<'r>
)
fn visit_named_export<'ast: 'r, 'r>( &mut self, n: &'ast NamedExport, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_new_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast NewExpr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_new_expr<'ast: 'r, 'r>( &mut self, n: &'ast NewExpr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_null<'ast: 'r, 'r>(
&mut self,
n: &'ast Null,
__ast_path: &mut AstNodePath<'r>
)
fn visit_null<'ast: 'r, 'r>( &mut self, n: &'ast Null, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_number<'ast: 'r, 'r>(
&mut self,
n: &'ast Number,
__ast_path: &mut AstNodePath<'r>
)
fn visit_number<'ast: 'r, 'r>( &mut self, n: &'ast Number, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_object_lit<'ast: 'r, 'r>(
&mut self,
n: &'ast ObjectLit,
__ast_path: &mut AstNodePath<'r>
)
fn visit_object_lit<'ast: 'r, 'r>( &mut self, n: &'ast ObjectLit, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_object_pat<'ast: 'r, 'r>(
&mut self,
n: &'ast ObjectPat,
__ast_path: &mut AstNodePath<'r>
)
fn visit_object_pat<'ast: 'r, 'r>( &mut self, n: &'ast ObjectPat, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_object_pat_prop<'ast: 'r, 'r>(
&mut self,
n: &'ast ObjectPatProp,
__ast_path: &mut AstNodePath<'r>
)
fn visit_object_pat_prop<'ast: 'r, 'r>( &mut self, n: &'ast ObjectPatProp, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
fn visit_object_pat_props<'ast: 'r, 'r>( &mut self, n: &'ast [ObjectPatProp], __ast_path: &mut AstNodePath<'r> )
fn visit_opt_accessibility<'ast: 'r, 'r>( &mut self, n: Option<&'ast Accessibility>, __ast_path: &mut AstNodePath<'r> )
fn visit_opt_atom<'ast: 'r, 'r>( &mut self, n: Option<&'ast Atom>, __ast_path: &mut AstNodePath<'r> )
fn visit_opt_block_stmt<'ast: 'r, 'r>( &mut self, n: Option<&'ast BlockStmt>, __ast_path: &mut AstNodePath<'r> )
sourcefn visit_opt_call<'ast: 'r, 'r>(
&mut self,
n: &'ast OptCall,
__ast_path: &mut AstNodePath<'r>
)
fn visit_opt_call<'ast: 'r, 'r>( &mut self, n: &'ast OptCall, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
fn visit_opt_catch_clause<'ast: 'r, 'r>( &mut self, n: Option<&'ast CatchClause>, __ast_path: &mut AstNodePath<'r> )
sourcefn visit_opt_chain_base<'ast: 'r, 'r>(
&mut self,
n: &'ast OptChainBase,
__ast_path: &mut AstNodePath<'r>
)
fn visit_opt_chain_base<'ast: 'r, 'r>( &mut self, n: &'ast OptChainBase, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_opt_chain_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast OptChainExpr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_opt_chain_expr<'ast: 'r, 'r>( &mut self, n: &'ast OptChainExpr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
fn visit_opt_expr<'ast: 'r, 'r>( &mut self, n: Option<&'ast Box<Expr>>, __ast_path: &mut AstNodePath<'r> )
fn visit_opt_expr_or_spread<'ast: 'r, 'r>( &mut self, n: Option<&'ast ExprOrSpread>, __ast_path: &mut AstNodePath<'r> )
fn visit_opt_expr_or_spreads<'ast: 'r, 'r>( &mut self, n: Option<&'ast [ExprOrSpread]>, __ast_path: &mut AstNodePath<'r> )
fn visit_opt_ident<'ast: 'r, 'r>( &mut self, n: Option<&'ast Ident>, __ast_path: &mut AstNodePath<'r> )
fn visit_opt_jsx_attr_value<'ast: 'r, 'r>( &mut self, n: Option<&'ast JSXAttrValue>, __ast_path: &mut AstNodePath<'r> )
fn visit_opt_jsx_closing_element<'ast: 'r, 'r>( &mut self, n: Option<&'ast JSXClosingElement>, __ast_path: &mut AstNodePath<'r> )
fn visit_opt_module_export_name<'ast: 'r, 'r>( &mut self, n: Option<&'ast ModuleExportName>, __ast_path: &mut AstNodePath<'r> )
fn visit_opt_module_items<'ast: 'r, 'r>( &mut self, n: Option<&'ast [ModuleItem]>, __ast_path: &mut AstNodePath<'r> )
fn visit_opt_object_lit<'ast: 'r, 'r>( &mut self, n: Option<&'ast Box<ObjectLit>>, __ast_path: &mut AstNodePath<'r> )
fn visit_opt_pat<'ast: 'r, 'r>( &mut self, n: Option<&'ast Pat>, __ast_path: &mut AstNodePath<'r> )
fn visit_opt_span<'ast: 'r, 'r>( &mut self, n: Option<&'ast Span>, __ast_path: &mut AstNodePath<'r> )
fn visit_opt_stmt<'ast: 'r, 'r>( &mut self, n: Option<&'ast Box<Stmt>>, __ast_path: &mut AstNodePath<'r> )
fn visit_opt_str<'ast: 'r, 'r>( &mut self, n: Option<&'ast Box<Str>>, __ast_path: &mut AstNodePath<'r> )
fn visit_opt_true_plus_minus<'ast: 'r, 'r>( &mut self, n: Option<&'ast TruePlusMinus>, __ast_path: &mut AstNodePath<'r> )
fn visit_opt_ts_entity_name<'ast: 'r, 'r>( &mut self, n: Option<&'ast TsEntityName>, __ast_path: &mut AstNodePath<'r> )
fn visit_opt_ts_namespace_body<'ast: 'r, 'r>( &mut self, n: Option<&'ast TsNamespaceBody>, __ast_path: &mut AstNodePath<'r> )
fn visit_opt_ts_type<'ast: 'r, 'r>( &mut self, n: Option<&'ast Box<TsType>>, __ast_path: &mut AstNodePath<'r> )
fn visit_opt_ts_type_ann<'ast: 'r, 'r>( &mut self, n: Option<&'ast Box<TsTypeAnn>>, __ast_path: &mut AstNodePath<'r> )
fn visit_opt_ts_type_param_decl<'ast: 'r, 'r>( &mut self, n: Option<&'ast Box<TsTypeParamDecl>>, __ast_path: &mut AstNodePath<'r> )
fn visit_opt_ts_type_param_instantiation<'ast: 'r, 'r>( &mut self, n: Option<&'ast Box<TsTypeParamInstantiation>>, __ast_path: &mut AstNodePath<'r> )
fn visit_opt_var_decl_or_expr<'ast: 'r, 'r>( &mut self, n: Option<&'ast VarDeclOrExpr>, __ast_path: &mut AstNodePath<'r> )
fn visit_opt_vec_expr_or_spreads<'ast: 'r, 'r>( &mut self, n: &'ast [Option<ExprOrSpread>], __ast_path: &mut AstNodePath<'r> )
fn visit_opt_vec_pats<'ast: 'r, 'r>( &mut self, n: &'ast [Option<Pat>], __ast_path: &mut AstNodePath<'r> )
sourcefn visit_param<'ast: 'r, 'r>(
&mut self,
n: &'ast Param,
__ast_path: &mut AstNodePath<'r>
)
fn visit_param<'ast: 'r, 'r>( &mut self, n: &'ast Param, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_param_or_ts_param_prop<'ast: 'r, 'r>(
&mut self,
n: &'ast ParamOrTsParamProp,
__ast_path: &mut AstNodePath<'r>
)
fn visit_param_or_ts_param_prop<'ast: 'r, 'r>( &mut self, n: &'ast ParamOrTsParamProp, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
fn visit_param_or_ts_param_props<'ast: 'r, 'r>( &mut self, n: &'ast [ParamOrTsParamProp], __ast_path: &mut AstNodePath<'r> )
fn visit_params<'ast: 'r, 'r>( &mut self, n: &'ast [Param], __ast_path: &mut AstNodePath<'r> )
sourcefn visit_paren_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast ParenExpr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_paren_expr<'ast: 'r, 'r>( &mut self, n: &'ast ParenExpr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_pat<'ast: 'r, 'r>(
&mut self,
n: &'ast Pat,
__ast_path: &mut AstNodePath<'r>
)
fn visit_pat<'ast: 'r, 'r>( &mut self, n: &'ast Pat, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_pat_or_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast PatOrExpr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_pat_or_expr<'ast: 'r, 'r>( &mut self, n: &'ast PatOrExpr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
fn visit_pats<'ast: 'r, 'r>( &mut self, n: &'ast [Pat], __ast_path: &mut AstNodePath<'r> )
sourcefn visit_private_method<'ast: 'r, 'r>(
&mut self,
n: &'ast PrivateMethod,
__ast_path: &mut AstNodePath<'r>
)
fn visit_private_method<'ast: 'r, 'r>( &mut self, n: &'ast PrivateMethod, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_private_name<'ast: 'r, 'r>(
&mut self,
n: &'ast PrivateName,
__ast_path: &mut AstNodePath<'r>
)
fn visit_private_name<'ast: 'r, 'r>( &mut self, n: &'ast PrivateName, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_private_prop<'ast: 'r, 'r>(
&mut self,
n: &'ast PrivateProp,
__ast_path: &mut AstNodePath<'r>
)
fn visit_private_prop<'ast: 'r, 'r>( &mut self, n: &'ast PrivateProp, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_program<'ast: 'r, 'r>(
&mut self,
n: &'ast Program,
__ast_path: &mut AstNodePath<'r>
)
fn visit_program<'ast: 'r, 'r>( &mut self, n: &'ast Program, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_prop<'ast: 'r, 'r>(
&mut self,
n: &'ast Prop,
__ast_path: &mut AstNodePath<'r>
)
fn visit_prop<'ast: 'r, 'r>( &mut self, n: &'ast Prop, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_prop_name<'ast: 'r, 'r>(
&mut self,
n: &'ast PropName,
__ast_path: &mut AstNodePath<'r>
)
fn visit_prop_name<'ast: 'r, 'r>( &mut self, n: &'ast PropName, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_prop_or_spread<'ast: 'r, 'r>(
&mut self,
n: &'ast PropOrSpread,
__ast_path: &mut AstNodePath<'r>
)
fn visit_prop_or_spread<'ast: 'r, 'r>( &mut self, n: &'ast PropOrSpread, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
fn visit_prop_or_spreads<'ast: 'r, 'r>( &mut self, n: &'ast [PropOrSpread], __ast_path: &mut AstNodePath<'r> )
sourcefn visit_regex<'ast: 'r, 'r>(
&mut self,
n: &'ast Regex,
__ast_path: &mut AstNodePath<'r>
)
fn visit_regex<'ast: 'r, 'r>( &mut self, n: &'ast Regex, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_reserved_unused<'ast: 'r, 'r>(
&mut self,
n: &'ast ReservedUnused,
__ast_path: &mut AstNodePath<'r>
)
fn visit_reserved_unused<'ast: 'r, 'r>( &mut self, n: &'ast ReservedUnused, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_rest_pat<'ast: 'r, 'r>(
&mut self,
n: &'ast RestPat,
__ast_path: &mut AstNodePath<'r>
)
fn visit_rest_pat<'ast: 'r, 'r>( &mut self, n: &'ast RestPat, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_return_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast ReturnStmt,
__ast_path: &mut AstNodePath<'r>
)
fn visit_return_stmt<'ast: 'r, 'r>( &mut self, n: &'ast ReturnStmt, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_script<'ast: 'r, 'r>(
&mut self,
n: &'ast Script,
__ast_path: &mut AstNodePath<'r>
)
fn visit_script<'ast: 'r, 'r>( &mut self, n: &'ast Script, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_seq_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast SeqExpr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_seq_expr<'ast: 'r, 'r>( &mut self, n: &'ast SeqExpr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_setter_prop<'ast: 'r, 'r>(
&mut self,
n: &'ast SetterProp,
__ast_path: &mut AstNodePath<'r>
)
fn visit_setter_prop<'ast: 'r, 'r>( &mut self, n: &'ast SetterProp, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
fn visit_span<'ast: 'r, 'r>( &mut self, n: &'ast Span, __ast_path: &mut AstNodePath<'r> )
sourcefn visit_spread_element<'ast: 'r, 'r>(
&mut self,
n: &'ast SpreadElement,
__ast_path: &mut AstNodePath<'r>
)
fn visit_spread_element<'ast: 'r, 'r>( &mut self, n: &'ast SpreadElement, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_static_block<'ast: 'r, 'r>(
&mut self,
n: &'ast StaticBlock,
__ast_path: &mut AstNodePath<'r>
)
fn visit_static_block<'ast: 'r, 'r>( &mut self, n: &'ast StaticBlock, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast Stmt,
__ast_path: &mut AstNodePath<'r>
)
fn visit_stmt<'ast: 'r, 'r>( &mut self, n: &'ast Stmt, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
fn visit_stmts<'ast: 'r, 'r>( &mut self, n: &'ast [Stmt], __ast_path: &mut AstNodePath<'r> )
sourcefn visit_str<'ast: 'r, 'r>(
&mut self,
n: &'ast Str,
__ast_path: &mut AstNodePath<'r>
)
fn visit_str<'ast: 'r, 'r>( &mut self, n: &'ast Str, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_super<'ast: 'r, 'r>(
&mut self,
n: &'ast Super,
__ast_path: &mut AstNodePath<'r>
)
fn visit_super<'ast: 'r, 'r>( &mut self, n: &'ast Super, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_super_prop<'ast: 'r, 'r>(
&mut self,
n: &'ast SuperProp,
__ast_path: &mut AstNodePath<'r>
)
fn visit_super_prop<'ast: 'r, 'r>( &mut self, n: &'ast SuperProp, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_super_prop_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast SuperPropExpr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_super_prop_expr<'ast: 'r, 'r>( &mut self, n: &'ast SuperPropExpr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_switch_case<'ast: 'r, 'r>(
&mut self,
n: &'ast SwitchCase,
__ast_path: &mut AstNodePath<'r>
)
fn visit_switch_case<'ast: 'r, 'r>( &mut self, n: &'ast SwitchCase, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
fn visit_switch_cases<'ast: 'r, 'r>( &mut self, n: &'ast [SwitchCase], __ast_path: &mut AstNodePath<'r> )
sourcefn visit_switch_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast SwitchStmt,
__ast_path: &mut AstNodePath<'r>
)
fn visit_switch_stmt<'ast: 'r, 'r>( &mut self, n: &'ast SwitchStmt, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_tagged_tpl<'ast: 'r, 'r>(
&mut self,
n: &'ast TaggedTpl,
__ast_path: &mut AstNodePath<'r>
)
fn visit_tagged_tpl<'ast: 'r, 'r>( &mut self, n: &'ast TaggedTpl, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_this_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast ThisExpr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_this_expr<'ast: 'r, 'r>( &mut self, n: &'ast ThisExpr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_throw_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast ThrowStmt,
__ast_path: &mut AstNodePath<'r>
)
fn visit_throw_stmt<'ast: 'r, 'r>( &mut self, n: &'ast ThrowStmt, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_tpl<'ast: 'r, 'r>(
&mut self,
n: &'ast Tpl,
__ast_path: &mut AstNodePath<'r>
)
fn visit_tpl<'ast: 'r, 'r>( &mut self, n: &'ast Tpl, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_tpl_element<'ast: 'r, 'r>(
&mut self,
n: &'ast TplElement,
__ast_path: &mut AstNodePath<'r>
)
fn visit_tpl_element<'ast: 'r, 'r>( &mut self, n: &'ast TplElement, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
fn visit_tpl_elements<'ast: 'r, 'r>( &mut self, n: &'ast [TplElement], __ast_path: &mut AstNodePath<'r> )
sourcefn visit_true_plus_minus<'ast: 'r, 'r>(
&mut self,
n: &'ast TruePlusMinus,
__ast_path: &mut AstNodePath<'r>
)
fn visit_true_plus_minus<'ast: 'r, 'r>( &mut self, n: &'ast TruePlusMinus, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_try_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast TryStmt,
__ast_path: &mut AstNodePath<'r>
)
fn visit_try_stmt<'ast: 'r, 'r>( &mut self, n: &'ast TryStmt, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_array_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsArrayType,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_array_type<'ast: 'r, 'r>( &mut self, n: &'ast TsArrayType, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_as_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast TsAsExpr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_as_expr<'ast: 'r, 'r>( &mut self, n: &'ast TsAsExpr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_call_signature_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast TsCallSignatureDecl,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_call_signature_decl<'ast: 'r, 'r>( &mut self, n: &'ast TsCallSignatureDecl, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_conditional_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsConditionalType,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_conditional_type<'ast: 'r, 'r>( &mut self, n: &'ast TsConditionalType, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_const_assertion<'ast: 'r, 'r>(
&mut self,
n: &'ast TsConstAssertion,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_const_assertion<'ast: 'r, 'r>( &mut self, n: &'ast TsConstAssertion, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_construct_signature_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast TsConstructSignatureDecl,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_construct_signature_decl<'ast: 'r, 'r>( &mut self, n: &'ast TsConstructSignatureDecl, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_constructor_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsConstructorType,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_constructor_type<'ast: 'r, 'r>( &mut self, n: &'ast TsConstructorType, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_entity_name<'ast: 'r, 'r>(
&mut self,
n: &'ast TsEntityName,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_entity_name<'ast: 'r, 'r>( &mut self, n: &'ast TsEntityName, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_enum_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast TsEnumDecl,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_enum_decl<'ast: 'r, 'r>( &mut self, n: &'ast TsEnumDecl, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_enum_member<'ast: 'r, 'r>(
&mut self,
n: &'ast TsEnumMember,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_enum_member<'ast: 'r, 'r>( &mut self, n: &'ast TsEnumMember, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_enum_member_id<'ast: 'r, 'r>(
&mut self,
n: &'ast TsEnumMemberId,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_enum_member_id<'ast: 'r, 'r>( &mut self, n: &'ast TsEnumMemberId, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
fn visit_ts_enum_members<'ast: 'r, 'r>( &mut self, n: &'ast [TsEnumMember], __ast_path: &mut AstNodePath<'r> )
sourcefn visit_ts_export_assignment<'ast: 'r, 'r>(
&mut self,
n: &'ast TsExportAssignment,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_export_assignment<'ast: 'r, 'r>( &mut self, n: &'ast TsExportAssignment, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_expr_with_type_args<'ast: 'r, 'r>(
&mut self,
n: &'ast TsExprWithTypeArgs,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_expr_with_type_args<'ast: 'r, 'r>( &mut self, n: &'ast TsExprWithTypeArgs, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
fn visit_ts_expr_with_type_args_vec<'ast: 'r, 'r>( &mut self, n: &'ast [TsExprWithTypeArgs], __ast_path: &mut AstNodePath<'r> )
sourcefn visit_ts_external_module_ref<'ast: 'r, 'r>(
&mut self,
n: &'ast TsExternalModuleRef,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_external_module_ref<'ast: 'r, 'r>( &mut self, n: &'ast TsExternalModuleRef, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_fn_or_constructor_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsFnOrConstructorType,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_fn_or_constructor_type<'ast: 'r, 'r>( &mut self, n: &'ast TsFnOrConstructorType, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_fn_param<'ast: 'r, 'r>(
&mut self,
n: &'ast TsFnParam,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_fn_param<'ast: 'r, 'r>( &mut self, n: &'ast TsFnParam, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
fn visit_ts_fn_params<'ast: 'r, 'r>( &mut self, n: &'ast [TsFnParam], __ast_path: &mut AstNodePath<'r> )
sourcefn visit_ts_fn_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsFnType,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_fn_type<'ast: 'r, 'r>( &mut self, n: &'ast TsFnType, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_getter_signature<'ast: 'r, 'r>(
&mut self,
n: &'ast TsGetterSignature,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_getter_signature<'ast: 'r, 'r>( &mut self, n: &'ast TsGetterSignature, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_import_equals_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast TsImportEqualsDecl,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_import_equals_decl<'ast: 'r, 'r>( &mut self, n: &'ast TsImportEqualsDecl, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_import_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsImportType,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_import_type<'ast: 'r, 'r>( &mut self, n: &'ast TsImportType, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_index_signature<'ast: 'r, 'r>(
&mut self,
n: &'ast TsIndexSignature,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_index_signature<'ast: 'r, 'r>( &mut self, n: &'ast TsIndexSignature, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_indexed_access_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsIndexedAccessType,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_indexed_access_type<'ast: 'r, 'r>( &mut self, n: &'ast TsIndexedAccessType, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_infer_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsInferType,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_infer_type<'ast: 'r, 'r>( &mut self, n: &'ast TsInferType, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_instantiation<'ast: 'r, 'r>(
&mut self,
n: &'ast TsInstantiation,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_instantiation<'ast: 'r, 'r>( &mut self, n: &'ast TsInstantiation, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_interface_body<'ast: 'r, 'r>(
&mut self,
n: &'ast TsInterfaceBody,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_interface_body<'ast: 'r, 'r>( &mut self, n: &'ast TsInterfaceBody, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_interface_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast TsInterfaceDecl,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_interface_decl<'ast: 'r, 'r>( &mut self, n: &'ast TsInterfaceDecl, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_intersection_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsIntersectionType,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_intersection_type<'ast: 'r, 'r>( &mut self, n: &'ast TsIntersectionType, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_keyword_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsKeywordType,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_keyword_type<'ast: 'r, 'r>( &mut self, n: &'ast TsKeywordType, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_keyword_type_kind<'ast: 'r, 'r>(
&mut self,
n: &'ast TsKeywordTypeKind,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_keyword_type_kind<'ast: 'r, 'r>( &mut self, n: &'ast TsKeywordTypeKind, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_lit<'ast: 'r, 'r>(
&mut self,
n: &'ast TsLit,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_lit<'ast: 'r, 'r>( &mut self, n: &'ast TsLit, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_lit_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsLitType,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_lit_type<'ast: 'r, 'r>( &mut self, n: &'ast TsLitType, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_mapped_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsMappedType,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_mapped_type<'ast: 'r, 'r>( &mut self, n: &'ast TsMappedType, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_method_signature<'ast: 'r, 'r>(
&mut self,
n: &'ast TsMethodSignature,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_method_signature<'ast: 'r, 'r>( &mut self, n: &'ast TsMethodSignature, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_module_block<'ast: 'r, 'r>(
&mut self,
n: &'ast TsModuleBlock,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_module_block<'ast: 'r, 'r>( &mut self, n: &'ast TsModuleBlock, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_module_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast TsModuleDecl,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_module_decl<'ast: 'r, 'r>( &mut self, n: &'ast TsModuleDecl, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_module_name<'ast: 'r, 'r>(
&mut self,
n: &'ast TsModuleName,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_module_name<'ast: 'r, 'r>( &mut self, n: &'ast TsModuleName, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_module_ref<'ast: 'r, 'r>(
&mut self,
n: &'ast TsModuleRef,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_module_ref<'ast: 'r, 'r>( &mut self, n: &'ast TsModuleRef, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_namespace_body<'ast: 'r, 'r>(
&mut self,
n: &'ast TsNamespaceBody,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_namespace_body<'ast: 'r, 'r>( &mut self, n: &'ast TsNamespaceBody, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_namespace_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast TsNamespaceDecl,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_namespace_decl<'ast: 'r, 'r>( &mut self, n: &'ast TsNamespaceDecl, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_namespace_export_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast TsNamespaceExportDecl,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_namespace_export_decl<'ast: 'r, 'r>( &mut self, n: &'ast TsNamespaceExportDecl, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_non_null_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast TsNonNullExpr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_non_null_expr<'ast: 'r, 'r>( &mut self, n: &'ast TsNonNullExpr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_optional_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsOptionalType,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_optional_type<'ast: 'r, 'r>( &mut self, n: &'ast TsOptionalType, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_param_prop<'ast: 'r, 'r>(
&mut self,
n: &'ast TsParamProp,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_param_prop<'ast: 'r, 'r>( &mut self, n: &'ast TsParamProp, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_param_prop_param<'ast: 'r, 'r>(
&mut self,
n: &'ast TsParamPropParam,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_param_prop_param<'ast: 'r, 'r>( &mut self, n: &'ast TsParamPropParam, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_parenthesized_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsParenthesizedType,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_parenthesized_type<'ast: 'r, 'r>( &mut self, n: &'ast TsParenthesizedType, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_property_signature<'ast: 'r, 'r>(
&mut self,
n: &'ast TsPropertySignature,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_property_signature<'ast: 'r, 'r>( &mut self, n: &'ast TsPropertySignature, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_qualified_name<'ast: 'r, 'r>(
&mut self,
n: &'ast TsQualifiedName,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_qualified_name<'ast: 'r, 'r>( &mut self, n: &'ast TsQualifiedName, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_rest_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsRestType,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_rest_type<'ast: 'r, 'r>( &mut self, n: &'ast TsRestType, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_satisfies_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast TsSatisfiesExpr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_satisfies_expr<'ast: 'r, 'r>( &mut self, n: &'ast TsSatisfiesExpr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_setter_signature<'ast: 'r, 'r>(
&mut self,
n: &'ast TsSetterSignature,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_setter_signature<'ast: 'r, 'r>( &mut self, n: &'ast TsSetterSignature, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_this_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsThisType,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_this_type<'ast: 'r, 'r>( &mut self, n: &'ast TsThisType, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_this_type_or_ident<'ast: 'r, 'r>(
&mut self,
n: &'ast TsThisTypeOrIdent,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_this_type_or_ident<'ast: 'r, 'r>( &mut self, n: &'ast TsThisTypeOrIdent, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_tpl_lit_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTplLitType,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_tpl_lit_type<'ast: 'r, 'r>( &mut self, n: &'ast TsTplLitType, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_tuple_element<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTupleElement,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_tuple_element<'ast: 'r, 'r>( &mut self, n: &'ast TsTupleElement, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
fn visit_ts_tuple_elements<'ast: 'r, 'r>( &mut self, n: &'ast [TsTupleElement], __ast_path: &mut AstNodePath<'r> )
sourcefn visit_ts_tuple_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTupleType,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_tuple_type<'ast: 'r, 'r>( &mut self, n: &'ast TsTupleType, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsType,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_type<'ast: 'r, 'r>( &mut self, n: &'ast TsType, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_type_alias_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTypeAliasDecl,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_type_alias_decl<'ast: 'r, 'r>( &mut self, n: &'ast TsTypeAliasDecl, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_type_ann<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTypeAnn,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_type_ann<'ast: 'r, 'r>( &mut self, n: &'ast TsTypeAnn, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_type_assertion<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTypeAssertion,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_type_assertion<'ast: 'r, 'r>( &mut self, n: &'ast TsTypeAssertion, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_type_element<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTypeElement,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_type_element<'ast: 'r, 'r>( &mut self, n: &'ast TsTypeElement, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
fn visit_ts_type_elements<'ast: 'r, 'r>( &mut self, n: &'ast [TsTypeElement], __ast_path: &mut AstNodePath<'r> )
sourcefn visit_ts_type_lit<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTypeLit,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_type_lit<'ast: 'r, 'r>( &mut self, n: &'ast TsTypeLit, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_type_operator<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTypeOperator,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_type_operator<'ast: 'r, 'r>( &mut self, n: &'ast TsTypeOperator, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_type_operator_op<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTypeOperatorOp,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_type_operator_op<'ast: 'r, 'r>( &mut self, n: &'ast TsTypeOperatorOp, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_type_param<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTypeParam,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_type_param<'ast: 'r, 'r>( &mut self, n: &'ast TsTypeParam, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_type_param_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTypeParamDecl,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_type_param_decl<'ast: 'r, 'r>( &mut self, n: &'ast TsTypeParamDecl, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_type_param_instantiation<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTypeParamInstantiation,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_type_param_instantiation<'ast: 'r, 'r>( &mut self, n: &'ast TsTypeParamInstantiation, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
fn visit_ts_type_params<'ast: 'r, 'r>( &mut self, n: &'ast [TsTypeParam], __ast_path: &mut AstNodePath<'r> )
sourcefn visit_ts_type_predicate<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTypePredicate,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_type_predicate<'ast: 'r, 'r>( &mut self, n: &'ast TsTypePredicate, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_type_query<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTypeQuery,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_type_query<'ast: 'r, 'r>( &mut self, n: &'ast TsTypeQuery, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_type_query_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTypeQueryExpr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_type_query_expr<'ast: 'r, 'r>( &mut self, n: &'ast TsTypeQueryExpr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_type_ref<'ast: 'r, 'r>(
&mut self,
n: &'ast TsTypeRef,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_type_ref<'ast: 'r, 'r>( &mut self, n: &'ast TsTypeRef, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
fn visit_ts_types<'ast: 'r, 'r>( &mut self, n: &'ast [Box<TsType>], __ast_path: &mut AstNodePath<'r> )
sourcefn visit_ts_union_or_intersection_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsUnionOrIntersectionType,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_union_or_intersection_type<'ast: 'r, 'r>( &mut self, n: &'ast TsUnionOrIntersectionType, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_ts_union_type<'ast: 'r, 'r>(
&mut self,
n: &'ast TsUnionType,
__ast_path: &mut AstNodePath<'r>
)
fn visit_ts_union_type<'ast: 'r, 'r>( &mut self, n: &'ast TsUnionType, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_unary_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast UnaryExpr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_unary_expr<'ast: 'r, 'r>( &mut self, n: &'ast UnaryExpr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_unary_op<'ast: 'r, 'r>(
&mut self,
n: &'ast UnaryOp,
__ast_path: &mut AstNodePath<'r>
)
fn visit_unary_op<'ast: 'r, 'r>( &mut self, n: &'ast UnaryOp, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_update_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast UpdateExpr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_update_expr<'ast: 'r, 'r>( &mut self, n: &'ast UpdateExpr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_update_op<'ast: 'r, 'r>(
&mut self,
n: &'ast UpdateOp,
__ast_path: &mut AstNodePath<'r>
)
fn visit_update_op<'ast: 'r, 'r>( &mut self, n: &'ast UpdateOp, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_using_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast UsingDecl,
__ast_path: &mut AstNodePath<'r>
)
fn visit_using_decl<'ast: 'r, 'r>( &mut self, n: &'ast UsingDecl, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_var_decl<'ast: 'r, 'r>(
&mut self,
n: &'ast VarDecl,
__ast_path: &mut AstNodePath<'r>
)
fn visit_var_decl<'ast: 'r, 'r>( &mut self, n: &'ast VarDecl, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_var_decl_kind<'ast: 'r, 'r>(
&mut self,
n: &'ast VarDeclKind,
__ast_path: &mut AstNodePath<'r>
)
fn visit_var_decl_kind<'ast: 'r, 'r>( &mut self, n: &'ast VarDeclKind, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_var_decl_or_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast VarDeclOrExpr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_var_decl_or_expr<'ast: 'r, 'r>( &mut self, n: &'ast VarDeclOrExpr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_var_declarator<'ast: 'r, 'r>(
&mut self,
n: &'ast VarDeclarator,
__ast_path: &mut AstNodePath<'r>
)
fn visit_var_declarator<'ast: 'r, 'r>( &mut self, n: &'ast VarDeclarator, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
fn visit_var_declarators<'ast: 'r, 'r>( &mut self, n: &'ast [VarDeclarator], __ast_path: &mut AstNodePath<'r> )
sourcefn visit_while_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast WhileStmt,
__ast_path: &mut AstNodePath<'r>
)
fn visit_while_stmt<'ast: 'r, 'r>( &mut self, n: &'ast WhileStmt, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_with_stmt<'ast: 'r, 'r>(
&mut self,
n: &'ast WithStmt,
__ast_path: &mut AstNodePath<'r>
)
fn visit_with_stmt<'ast: 'r, 'r>( &mut self, n: &'ast WithStmt, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.
sourcefn visit_yield_expr<'ast: 'r, 'r>(
&mut self,
n: &'ast YieldExpr,
__ast_path: &mut AstNodePath<'r>
)
fn visit_yield_expr<'ast: 'r, 'r>( &mut self, n: &'ast YieldExpr, __ast_path: &mut AstNodePath<'r> )
This method can be overriden to customize the visitor behavior.
This calls VisitWithPath::visit_children_with_path
on n
by default. The default method visit children nodes with self
.