You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After using ctx.ast.move_expression, the original position has become null. May I kindly ask if there’s a way to remove these? I apologise for any inconvenience caused.
The above is the code I wrote for moving nodes.
This is the specific result of converting ternary expressions into if statements that I wrote. There are many unnecessary instances of null ? null : null; and I wonder if there’s a quick way to eliminate these redundant nulls. I apologise for bothering you during your busy schedule.
The text was updated successfully, but these errors were encountered:
After using ctx.ast.move_expression, the original position has become null. May I kindly ask if there’s a way to remove these? I apologise for any inconvenience caused.
The above is the code I wrote for moving nodes.
This is the specific result of converting ternary expressions into if statements that I wrote. There are many unnecessary instances of null ? null : null; and I wonder if there’s a quick way to eliminate these redundant nulls. I apologise for bothering you during your busy schedule.
The text was updated successfully, but these errors were encountered: