mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
This PR adds a new edge type called `Jump` to distinguish between normal edges and jumps. There is also a control flow context which is used to keep track of cfg scopes and labels. It replaces the old `preserve_state` and `restore_state`. It corrects some mistakes - such as labeled blocks especially labeled continue which wasn't easy to implement with the old approach - in the old control flow but other than that it is mostly refactored to have a more declarative API instead of a procedural approach. |
||
|---|---|---|
| .. | ||
| cfg_fixtures | ||
| snapshots | ||
| util | ||
| cfg.rs | ||
| classes.rs | ||
| main.rs | ||
| modules.rs | ||
| scopes.rs | ||
| symbols.rs | ||