oxc/crates/oxc_codegen/src
overlookmotel c0e9d7eb77 refactor(codegen)!: Codegen::into_source_text consume Codegen (#6539)
Breaking change. `Codegen::into_source_text` consume `Codegen`, instead of taking the `CodeBuffer` and substituting an empty one.

Keeping the `Codegen` alive seems unintuitive, as its state is then out of sync. Consuming the `CodeBuffer` is also marginally cheaper.
2024-10-14 01:09:03 +00:00
..
binary_expr_visitor.rs refactor(codegen)!: rename print_char method to print_ascii_byte (#6512) 2024-10-13 12:51:37 +00:00
code_buffer.rs refactor(codegen)!: Codegen::into_source_text consume Codegen (#6539) 2024-10-14 01:09:03 +00:00
comment.rs perf(codegen): check last char with byte methods (#6509) 2024-10-14 01:09:02 +00:00
context.rs feat(codegen): align operator precedence with esbuild (#4509) 2024-07-28 11:48:51 +00:00
gen.rs perf(codegen): check last char with byte methods (#6509) 2024-10-14 01:09:02 +00:00
lib.rs refactor(codegen)!: Codegen::into_source_text consume Codegen (#6539) 2024-10-14 01:09:03 +00:00
operator.rs refactor(codegen): restrict visibility of internal methods (#6145) 2024-09-28 14:33:42 +00:00
sourcemap_builder.rs refactor(codegen)!: remove Codegen::enableSourceMap API (#6452) 2024-10-12 04:56:43 +00:00