Skip to content
Discussion options

You must be logged in to vote

Hi, you can do this even with single node.

Hook into StmtsAwareInterface and look for current + previous stmt that matches your 2 nodes.
Then remove those nodes and replace with a single one, the assignment.

Check core rules that work with StmtsAwareInterface to get better understanding, how to handle this 👍

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by terrafrost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants