Files
overlookmotel e94b6cde71 refactor(ast_macros): calculate which enums are fieldless in ast_tools (#23957)
Move work from `#[ast]` macro into `ast_tools`. Calculate whether an enum is fieldless or not in `ast_tools` and pass that info to `#[ast]` macro via an `EnumDetails` struct. This avoids having to iterate over all variants of each enum in the macro.

This is preferable because `ast_tools` runs only after changes to AST, whereas the macro code runs every time `oxc_ast` crate is compiled.
2026-06-30 15:45:38 +01:00
..