mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 20:32:10 +00:00
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. |
||
|---|---|---|
| .. | ||
| ast_tools | ||
| benchmark | ||
| common | ||
| compat_data | ||
| coverage | ||
| javascript_globals | ||
| lint_rules | ||
| minsize | ||
| prettier_conformance | ||
| rulegen | ||
| transform_checker | ||
| transform_conformance | ||
| website | ||