Open abhillman opened 6 months ago
rust-analyzer has a good example for this https://github.com/rust-lang/rust-analyzer/blob/master/crates/syntax/src/ted.rs
I wonder if we should add an interface like that.
An example to modify the syntax tree would also be nice.
Description
Some basic code that demonstrates modifying an AST.
Considered alternatives
Poking around, playing with various things, reading tests -- currently doing that.
Additional context
An example could look something like this: