Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(semantic): allow getting mutable reference to symbols table (#8189)
Seems like the only way to get a mutable reference to the `SymbolTable` inside `Semantic` right now is with `into_symbol_table_and_scope_tree`, but that drops other useful info. Since `scopes_mut` exists I figure this would be reasonable too? Reason I'm requesting this is I have a project where I need to fill in some symbols `oxc_semantic` doesn't yet pick up on (like function overloads, `declare`'d symbols) and this would be the cleanest way to do it.
- Loading branch information