gumtree icon indicating copy to clipboard operation
gumtree copied to clipboard

Add support for including unordered nodes

Open algomaster99 opened this issue 1 year ago • 0 comments

This feature is useful for nodes in the AST of source code (and even bytecode) that are independent of order. For example, import statements, method declarations. etc.

The change would require:

  1. Creating an implementation of Tree interface which can hold the property that the children nodes are unordered.
  2. Checks in ChawatheGenerator to eliminate the move actions if the parent of node is UNORDERED and they are mapped to the same parent.

algomaster99 avatar Oct 14 '24 14:10 algomaster99