diff --git a/crates/oxc_ast/src/generated/visit.rs b/crates/oxc_ast/src/generated/visit.rs
index b953314fc94e6..79a63005754d4 100644
--- a/crates/oxc_ast/src/generated/visit.rs
+++ b/crates/oxc_ast/src/generated/visit.rs
@@ -27,10 +27,14 @@ use walk::*;
/// Syntax tree traversal
pub trait Visit<'a>: Sized {
+ #[inline]
fn enter_node(&mut self, kind: AstKind<'a>) {}
+ #[inline]
fn leave_node(&mut self, kind: AstKind<'a>) {}
+ #[inline]
fn enter_scope(&mut self, flags: ScopeFlags, scope_id: &Cell