mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
refactor(transformer): implement Debug on StatementInjector internal types (#6886)
This commit is contained in:
parent
c383c34a61
commit
2d95009bca
1 changed files with 2 additions and 0 deletions
|
|
@ -43,11 +43,13 @@ impl<'a, 'ctx> Traverse<'a> for StatementInjector<'a, 'ctx> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[derive(Debug)]
|
||||||
enum Direction {
|
enum Direction {
|
||||||
Before,
|
Before,
|
||||||
After,
|
After,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[derive(Debug)]
|
||||||
struct AdjacentStatement<'a> {
|
struct AdjacentStatement<'a> {
|
||||||
stmt: Statement<'a>,
|
stmt: Statement<'a>,
|
||||||
direction: Direction,
|
direction: Direction,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue