Skip to content

Commit

Permalink
refactor(transformer): implement Debug on StatementInjector inter…
Browse files Browse the repository at this point in the history
…nal types (oxc-project#6886)
  • Loading branch information
overlookmotel committed Oct 25, 2024
1 parent c383c34 commit 2d95009
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/oxc_transformer/src/common/statement_injector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,13 @@ impl<'a, 'ctx> Traverse<'a> for StatementInjector<'a, 'ctx> {
}
}

#[derive(Debug)]
enum Direction {
Before,
After,
}

#[derive(Debug)]
struct AdjacentStatement<'a> {
stmt: Statement<'a>,
direction: Direction,
Expand Down

0 comments on commit 2d95009

Please sign in to comment.