Skip to content

Add post-order visit hook#1

Open
lionel- wants to merge 1 commit intoair-current-tipfrom
feature/post-visit
Open

Add post-order visit hook#1
lionel- wants to merge 1 commit intoair-current-tipfrom
feature/post-visit

Conversation

@lionel-
Copy link
Copy Markdown
Owner

@lionel- lionel- commented Jan 7, 2026

The post-order visit hook allows replacing a node after making changes to children. These changes deeper in the tree can be applied with either a pre-visit replacement, or a post-visit one. Later post-visit hooks will consistently see modified nodes on the way out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant