oxc/crates
overlookmotel 946c867b27 refactor(ast): box TSThisParameter (#5325)
Box `TSThisParameter` in `Function`, `TSMethodSignature` and `TSFunctionType`. I assume `function(this: Whatever) {}` is a fairly rare syntax in TS code, and obviously never occurs in JS code, so it takes up a lot of space in `Function` for this uncommon case.

This change reduces `Function` from 136 bytes to 104.
2024-08-29 18:00:58 +00:00
..
oxc Release crates v0.25.0 (#5107) 2024-08-23 15:37:36 +08:00
oxc_allocator Release crates v0.25.0 (#5107) 2024-08-23 15:37:36 +08:00
oxc_ast refactor(ast): box TSThisParameter (#5325) 2024-08-29 18:00:58 +00:00
oxc_ast_macros Release crates v0.25.0 (#5107) 2024-08-23 15:37:36 +08:00
oxc_cfg Release crates v0.25.0 (#5107) 2024-08-23 15:37:36 +08:00
oxc_codegen fix(codegen): print export @decorator declare abstract class Foo correctly (#5303) 2024-08-28 15:30:39 +00:00
oxc_diagnostics feat(linter): add hyperlinks to diagnostic messages (#5318) 2024-08-29 05:50:04 +00:00
oxc_index Release crates v0.25.0 (#5107) 2024-08-23 15:37:36 +08:00
oxc_isolated_declarations refactor(ast): box TSThisParameter (#5325) 2024-08-29 18:00:58 +00:00
oxc_language_server
oxc_linter feat(linter): improve no-accumulating-spread (#5302) 2024-08-29 14:17:44 +00:00
oxc_macros
oxc_mangler Release crates v0.25.0 (#5107) 2024-08-23 15:37:36 +08:00
oxc_minifier Release crates v0.25.0 (#5107) 2024-08-23 15:37:36 +08:00
oxc_module_lexer feat(module_lexer): distinguish for types-only imports and exports (#5184) 2024-08-25 18:22:44 +08:00
oxc_parser test(parser): fix incorrect flow error test 2024-08-28 20:53:32 +08:00
oxc_prettier fix(ast)!: merge UsingDeclaration into VariableDeclaration (#5270) 2024-08-28 11:26:05 +08:00
oxc_regular_expression chore(regular_expression): Extract diagnostics (#5287) 2024-08-28 03:19:29 +00:00
oxc_semantic feat(semantic): add ScopeTree::delete_root_unresolved_reference (#5305) 2024-08-29 08:39:09 +00:00
oxc_sourcemap Release crates v0.25.0 (#5107) 2024-08-23 15:37:36 +08:00
oxc_span feat(span/source-type): add SourceType factory methods (#5242) 2024-08-27 01:19:54 +00:00
oxc_syntax Release crates v0.25.0 (#5107) 2024-08-23 15:37:36 +08:00
oxc_transformer feat(transformer): support TransformOptions::from_preset_env API (#5323) 2024-08-29 15:20:50 +00:00
oxc_traverse refactor(ast): box TSThisParameter (#5325) 2024-08-29 18:00:58 +00:00
oxc_wasm refactor(wasm): clean up code and add transform (#5299) 2024-08-28 22:14:35 +08:00