Add the given item as children
173972
def append(self, item):
        
        if self.url:
            raise TypeError('Menu items with URL cannot have childrens')

        # Look for already present common node
        if not item.is_leaf():
            for current_item in self.items:
                if item.name == current_item.name:
                    for children in item.items:
                        current_item.append(children)
                    return

        # First insertion
        self.items.append(item)
487338
def addchild(self, child):
        
        if not self.accept_children:
            return False
        self.children += [child]
        return True
396863
public void addChildren( AstNode first,
                             AstNode second,
                             AstNode third ) {
        if (first != null) {
            this.addLastChild(first);
        }
        if (second != null) {
            this.addLastChild(second);
        }
        if (third != null) {
            this.addLastChild(third);
        }
    }
730171
def add_child(self, child, name=None, index=None):
        """"""
        self.m1.add_child(child, name, index)
        if index is None:
            index = len(self.m2._children)
        self.children_for_m2.append((child, name, index))
32691
def add_child(self, node, callback):
        """"""
        if node not in self.children:
            self.children.append(ChildNode(node, callback))
319221
def add_child(self, obj):
        """"""
        self.children.append(obj)
        obj.parents.append(self)
549061
public void addChild(Item child) {
        if (children == null) {
            children = new ArrayList<>();
        }

        children.add(child);
    }
228734
public void addChildrenOf(CSTNode of) {
        for (int i = 1; i < of.size(); i++) {
            add(of.get(i));
        }
    }
644241
def append(self, _, child, name=None):
        """"""
        self._insert(child, name=name)
        return self
108817
def add_child(self, child):
        """"""
        assert isinstance(child, Term)
        self.children.append(child)
        child.parent = self
        assert not child.term_is("Datafile.Section")
580133
public void addChildren( AstNode first,
                             AstNode second ) {
        if (first != null) {
            this.addLastChild(first);
        }
        if (second != null) {
            this.addLastChild(second);
        }
    }
493031
function addChild(data) {
                var child = new TreeNode(data, this);
                if (!this.children) {
                    this.children = [];
                }
                this.children.push(child);
                return child;
            }
387216
def insertChild(self, index, item):
        
        super(XGanttWidgetItem, self).insertChild(index, item)
        item.sync()
513302
def add_child(self, *sprites):
        """"""
        for sprite in sprites:
            self._add(sprite)
        self._sort()
        self.redraw()
664112
def add_child(self, child):
        
        if isinstance(child, BaseCitation):
            self._children.append(child)
640728
def addChild(self, item):
        
        super(XGanttWidgetItem, self).addChild(item)
        
        item.sync()
134694
public void insertChild(CmsTreeItem item, int position) {

        m_children.insert(item, position);
        adopt(item);
    }