Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions crates/oxc_semantic/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,11 @@ impl<'a> Semantic<'a> {
&self.symbols
}

/// Get a mutable reference to the [`SymbolTable`].
pub fn symbols_mut(&mut self) -> &mut SymbolTable {
&mut self.symbols
}

pub fn unused_labels(&self) -> &Vec<NodeId> {
&self.unused_labels
}
Expand Down
Loading