refactor(ast): codegen match_*! macros#23955
Conversation
Merging this PR will not alter performance
Comparing Footnotes
|
bd2689c to
b681ad7
Compare
|
@claude review |
Merge activity
|
4bb5baa to
6279a61
Compare
Pure refactor. `oxc_ast` contained 9 hand-written macros e.g. `match_expression!`. Codegen these macros instead. The macros are exactly the same as they were before, just they're now codegenned, so will reflect any changes made to AST automatically.
b681ad7 to
ff74a20
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Pure refactor. `oxc_ast` contained 9 hand-written macros e.g. `match_expression!`. Codegen these macros instead. The macros are exactly the same as they were before, just they're now codegenned, so will reflect any changes made to AST automatically.
6279a61 to
ecf2392
Compare
ff74a20 to
084eb3b
Compare
Pure refactor. `oxc_ast` contained 9 hand-written macros e.g. `match_expression!`. Codegen these macros instead. The macros are exactly the same as they were before, just they're now codegenned, so will reflect any changes made to AST automatically.

Pure refactor.
oxc_astcontained 9 hand-written macros e.g.match_expression!. Codegen these macros instead.The macros are exactly the same as they were before, just they're now codegenned, so will reflect any changes made to AST automatically.