chore(ast): remove unused code enter_object_expression

This commit is contained in:
Boshen 2023-04-26 18:50:04 +08:00
parent becc5d0a3b
commit 2fc16840de
No known key found for this signature in database
GPG key ID: 9C7A8C8AB22BEBD1
2 changed files with 0 additions and 4 deletions

View file

@ -674,8 +674,6 @@ pub trait Visit<'a>: Sized {
self.leave_node(kind);
}
fn enter_object_expression(&mut self, _expr: &'a ObjectExpression<'a>) {}
fn visit_object_property(&mut self, prop: &'a ObjectProperty<'a>) {
match prop {
ObjectProperty::Property(prop) => self.visit_property(prop),

View file

@ -511,8 +511,6 @@ pub trait VisitMut<'a, 'b>: Sized {
}
}
fn enter_object_expression(&mut self, _expr: &'b mut ObjectExpression<'a>) {}
fn visit_object_property(&mut self, prop: &'b mut ObjectProperty<'a>) {
match prop {
ObjectProperty::Property(prop) => self.visit_property(prop),