Skip to content

Commit ac097e9

Browse files
committed
refactor(transformer/class-properties): rename file (#8036)
Pure refactor. Rename file to make filename more descriptive of what it does.
1 parent 043252d commit ac097e9

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

crates/oxc_transformer/src/es2022/class_properties/mod.rs

+13-13
Original file line numberDiff line numberDiff line change
@@ -175,18 +175,18 @@
175175
//!
176176
//! Implementation is split into several files:
177177
//!
178-
//! * `mod.rs`: Setup and visitor.
179-
//! * `class.rs`: Transform of class body.
180-
//! * `prop_decl.rs`: Transform of property declarations (instance and static).
181-
//! * `constructor.rs`: Insertion of property initializers into class constructor.
182-
//! * `instance_prop_init.rs`: Transform of instance property initializers.
183-
//! * `static_prop_init.rs`: Transform of static property initializers and static blocks.
184-
//! * `computed_key.rs`: Transform of property/method computed keys.
185-
//! * `private_field.rs`: Transform of private fields (`this.#prop`).
186-
//! * `super.rs`: Transform `super` expressions.
187-
//! * `class_details.rs`: Structures containing details of classes and private properties.
188-
//! * `class_bindings.rs`: Structure containing bindings for class name and temp var.
189-
//! * `utils.rs`: Utility functions.
178+
//! * `mod.rs`: Setup and visitor.
179+
//! * `class.rs`: Transform of class body.
180+
//! * `prop_decl.rs`: Transform of property declarations (instance and static).
181+
//! * `constructor.rs`: Insertion of property initializers into class constructor.
182+
//! * `instance_prop_init.rs`: Transform of instance property initializers.
183+
//! * `static_block_and_prop_init.rs`: Transform of static property initializers and static blocks.
184+
//! * `computed_key.rs`: Transform of property/method computed keys.
185+
//! * `private_field.rs`: Transform of private fields (`this.#prop`).
186+
//! * `super.rs`: Transform `super` expressions.
187+
//! * `class_details.rs`: Structures containing details of classes and private properties.
188+
//! * `class_bindings.rs`: Structure containing bindings for class name and temp var.
189+
//! * `utils.rs`: Utility functions.
190190
//!
191191
//! ## References
192192
//!
@@ -215,7 +215,7 @@ mod constructor;
215215
mod instance_prop_init;
216216
mod private_field;
217217
mod prop_decl;
218-
mod static_prop_init;
218+
mod static_block_and_prop_init;
219219
mod supers;
220220
mod utils;
221221
use class_bindings::ClassBindings;

0 commit comments

Comments
 (0)