oxc/crates/oxc_codegen/src
overlookmotel 3858221f45 refactor(global): sort imports (#7883)
Pure refactor. Re-order imports for clarity:

1. `std`
2. External crates
3. `oxc_*` crates
4. Current crate `use crate::...`
5. Super `use super::...`
6. Local modules

This order is from "furthest away" to "closest". This makes it clearer to see what is coming from where.

`cargo +nightly fmt` (#7877) did a lot of the work, but unfortunately `rustfmt` does not have an option to (a) put workspace crates in a separate block from external crates and (b) move `mod` statements to after `use` statements.
2024-12-14 15:07:21 +00:00
..
binary_expr_visitor.rs fix(codegen): missing parens for in in for loop init when it includes two binary expression (#7703) 2024-12-06 15:52:04 +00:00
code_buffer.rs perf(codegen): faster writing indentation (#7820) 2024-12-13 05:17:32 +00:00
comment.rs refactor(global): sort imports (#7883) 2024-12-14 15:07:21 +00:00
context.rs docs(codegen): add #![warn(missing_docs)] to oxc_codegen (#6711) 2024-10-21 00:13:57 +00:00
gen.rs perf(codegen): improve printing of statement comments (#7857) 2024-12-13 15:20:28 +00:00
lib.rs perf(codegen): guard comment printing comments when there are no comments (#7856) 2024-12-13 15:12:09 +00:00
operator.rs refactor(codegen): restrict visibility of internal methods (#6145) 2024-09-28 14:33:42 +00:00
options.rs feat(codegen): print linked and external legal comment (#7059) 2024-11-02 04:08:14 +00:00
sourcemap_builder.rs refactor(codegen)!: remove Codegen::enableSourceMap API (#6452) 2024-10-12 04:56:43 +00:00