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 authored and Orenbek committed Oct 28, 2024
1 parent 5d32db9 commit c283db6
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 c283db6

Please sign in to comment.