Skip to content

Add mutable walk and leading token lookup - #6

Merged
TomasVotruba merged 1 commit into
mainfrom
walk-mut
Dec 3, 2026
Merged

TomasVotruba merged 1 commit into
mainfrom
walk-mut

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Adds visitor::walk_mut (mutable walk over a tree, generated from the read-only walk) and visitor::leading (first token of a subtree, the one carrying its leading whitespace and comments, with a mutable variant). Rustor rules rewrite the tree in place through these.

@TomasVotruba
TomasVotruba merged commit b9c0c28 into main Dec 3, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant