def add_to(self, parent, additions):
        for x in additions:
            if x not in parent:
                parent.append(x)
                self.changed()
Modify _parent_ to include all elements in _additions_
dataset/ETHPy150Open smurfix/yapps/yapps/parsetree.py/Generator.add_to