ethan-leba/tree-edit

Changing node type while preserving contents

ethan-leba opened this issue · 0 comments

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?