oxc/tasks/ast_tools
overlookmotel a6d71f8f27 feat(ast): add AstKind::ty method (#8521)
Add `AstKind::ty` method to get `AstType` from an `AstKind`.

Works by setting the enum discriminants of `AstKind` and `AstType` to be the same, so one can be converted to the other at zero cost.
2025-01-16 00:32:37 +00:00
..
src feat(ast): add AstKind::ty method (#8521) 2025-01-16 00:32:37 +00:00
Cargo.toml refactor(ast_tools): replace str::replace with CowUtils::cow_replace (#6954) 2024-10-28 00:23:34 +00:00