- matchingExitNode
Determines if n matches the type and name for the following types of "exits": -
return without value
- moveAllFollowing
Move all the child nodes following start in srcParent to the end of destParent's
child list.
- tryMinimizeExits
Attempts to minimize the number of explicit exit points in a control structure
to take advantage of
- tryMinimizeIfBlockExits
Look for exits (returns, breaks, or continues, depending on the context) at the
end of a block and r
- tryMinimizeSwitchCaseExits
Attempt to remove explicit exits from switch cases that also occur implicitly
after the switch.
- tryMinimizeSwitchExits
- hasBlockScopedVarsFollowing
Detect any block-scoped declarations that are younger siblings of the given
starting point.
- reportChangeToEnclosingScope
- tryConvertAllBlockScopedFollowing
Convert all let/const declarations following the start node to var declarations
if possible.See the