Commit 06fa11e
committed
Simplify `Dummy` generator in `ast_tools`.
Previously it had "special case" code for `NodeId`. Instead, implement `Dummy` on `NodeId`, and then `node_id: Cell<NodeId>` fields can be treated the same as any other field.
1 parent 94772d0 commit 06fa11e
3 files changed
Lines changed: 197 additions & 195 deletions
File tree
- crates
- oxc_ast/src/generated
- oxc_syntax/src
- tasks/ast_tools/src/derives
0 commit comments