tree-edit
tree-edit copied to clipboard
Changing node type while preserving contents
trafficstars
Let's say we want to turn this expression String input = null; into input = null; by deleting String. This seems reasonable, but would take us at the syntax-tree level from a local_variable_declaration to an (expression_statement (assignment_expression)). How can we support this?