mirror of
https://github.com/denoland/deno.git
synced 2025-01-19 12:16:17 -05:00
3fb8fc1ba7
This PR changes the underlying buffer backed AST format we use for JavaScript-based linting plugins. It adds support for various new types, makes traversal code a lot easier and is more polished compared to previous iterations. Here is a quick summary (in no particular order): - Node prop data is separate from traversal, which makes traversal code so much easier to reason about. Previously, it was interleaved with node prop data - spans are in a separate table as well, as they are rarely needed. - schema is separate from SWC conversion logic, which makes - supports recursive plain objects - supports numbers - supports bigint - supports regex - adds all SWC nodes Apologies, this is kinda a big PR, but it's worth it imo. _Marking as draft because I need to update some tests tomorrow._ |
||
---|---|---|
.. | ||
config | ||
ffi | ||
integration | ||
napi | ||
node_compat | ||
registry | ||
specs | ||
testdata | ||
unit | ||
unit_node | ||
util | ||
wpt | ||
Cargo.toml | ||
lib.rs | ||
README.md |