Hello thanks for the reply, and sorry for the delay. Because of other projects I couldn't find the time to reply.
Let's say we have a function called filter. It contains 2 sub-blocks.
* First sub-block is for filtering the given input by comparison (checks equality, inequality, gteq, lteq etc.)
* Second sub-block is for filtering the items of the given input with an upper and a lower bound.
Now let's call the first one as a, and the second one as b.
Our blocks should be something like this:
Filter:
*a;
*a;
*b;
*a;
Each of these a's are different filtering conditions like. The user can make a narrow filter by adding different specialities. We want to add those a's and b's like adding "else if" and "else" sub-blocks to the "if" block. But of course there are differences. For example, unlike "if" block, we can add as much as sub blocks we want to.
Mutator codes are too long and since I'm not too familiar with javascript, most of the code doesn't make sense to me. So that's why we struggled implementing mutators.