mirror of
https://github.com/danbulant/oxc
synced 2026-05-21 21:29:01 +00:00
Separate out attributes which communicate info to codegen related to scopes into `#[scope]` attr.
Before:
```rs
#[visited_node(scope(ScopeFlags::empty()))]
pub struct BlockStatement<'a> { /* ... */ }
```
After:
```rs
#[visited_node]
#[scope]
pub struct BlockStatement<'a> { /* ... */ }
```
I think this is clearer.
|
||
|---|---|---|
| .. | ||
| ancestor.mjs | ||
| parse.mjs | ||
| traverse.mjs | ||
| utils.mjs | ||
| walk.mjs | ||