mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 04:08:41 +00:00
refactor(semantic): re-order SymbolTable fields (#4459)
Group the fields which are SoA indexed by `ScopeId` together.
This commit is contained in:
parent
e4ca06ae8c
commit
a49f4915de
1 changed files with 2 additions and 1 deletions
|
|
@ -36,8 +36,9 @@ pub struct SymbolTable {
|
|||
/// Pointer to the AST Node where this symbol is declared
|
||||
pub declarations: IndexVec<SymbolId, AstNodeId>,
|
||||
pub resolved_references: IndexVec<SymbolId, Vec<ReferenceId>>,
|
||||
pub references: IndexVec<ReferenceId, Reference>,
|
||||
pub redeclare_variables: IndexVec<SymbolId, Vec<Span>>,
|
||||
|
||||
pub references: IndexVec<ReferenceId, Reference>,
|
||||
}
|
||||
|
||||
impl SymbolTable {
|
||||
|
|
|
|||
Loading…
Reference in a new issue