Commits
Click on a commit to change the comparison rangefeat(traverse): add into_state and into_state_and_scoping methods to ReusableTraverseCtx
Add methods to extract user state from ReusableTraverseCtx after traversal:
- into_state(): returns just the user state
- into_state_and_scoping(): returns both state and Scoping
This enables multi-pass transformations where state needs to be accumulated
across passes that each require rebuilding scoping (e.g., after AST modifications).