oxc/crates/oxc_traverse/scripts/lib
overlookmotel 1061baabbf refactor(traverse): separate #[scope] attr (#3901)
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.
2024-06-26 05:43:10 +00:00
..
ancestor.mjs refactor(ast): store ScopeId in AST nodes (#3302) 2024-05-16 16:21:17 +00:00
parse.mjs refactor(traverse): separate #[scope] attr (#3901) 2024-06-26 05:43:10 +00:00
traverse.mjs feat(traverse): pass &mut TraverseCtx to visitors (#3312) 2024-05-16 16:21:23 +00:00
utils.mjs refactor(traverse): simplify build script (#3231) 2024-05-11 09:03:16 +01:00
walk.mjs refactor(traverse): use camel case props internally (#3880) 2024-06-24 13:19:34 +00:00