mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 04:08:41 +00:00
refactor(transformer/arrow-functions): rename lifetime (#8319)
Follow-on after #8024. Pure refactor. Rename lifetime to `'v` ("v" for visitor).
This commit is contained in:
parent
45eb35434d
commit
37199a4cd6
1 changed files with 5 additions and 5 deletions
|
|
@ -1119,13 +1119,13 @@ impl<'a> ArrowFunctionConverter<'a> {
|
|||
}
|
||||
|
||||
/// Visitor for inserting `this` after `super` in constructor body.
|
||||
struct ConstructorBodyThisAfterSuperInserter<'a, 'arrow> {
|
||||
this_var_binding: &'arrow BoundIdentifier<'a>,
|
||||
ctx: &'arrow mut TraverseCtx<'a>,
|
||||
struct ConstructorBodyThisAfterSuperInserter<'a, 'v> {
|
||||
this_var_binding: &'v BoundIdentifier<'a>,
|
||||
ctx: &'v mut TraverseCtx<'a>,
|
||||
}
|
||||
|
||||
impl<'a, 'b> ConstructorBodyThisAfterSuperInserter<'a, 'b> {
|
||||
fn new(this_var_binding: &'b BoundIdentifier<'a>, ctx: &'b mut TraverseCtx<'a>) -> Self {
|
||||
impl<'a, 'v> ConstructorBodyThisAfterSuperInserter<'a, 'v> {
|
||||
fn new(this_var_binding: &'v BoundIdentifier<'a>, ctx: &'v mut TraverseCtx<'a>) -> Self {
|
||||
Self { this_var_binding, ctx }
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue