Lines Matching defs:child
172 /* child elements */
189 /* text before first child. note that this is a tagged pointer;
454 * Although it's a false alarm always assume at least one child to
463 * false alarm always assume at least one child to be safe.
499 /* add a child element to a parent */
814 PyObject* child = deepcopy(self->extra->children[i], memo);
815 if (!child || !Element_Check(child)) {
816 if (child) {
817 raise_type_error(child);
818 Py_DECREF(child);
823 element->extra->children[i] = child;
945 PyObject *child = self->extra->children[i];
946 Py_INCREF(child);
947 PyList_SET_ITEM(children, i, child);
1031 PyObject *child = PyList_GET_ITEM(children, i);
1032 if (!Element_Check(child)) {
1033 raise_type_error(child);
1038 Py_INCREF(child);
1039 self->extra->children[i] = child;
1450 "child index out of range"
1685 "child assignment index out of range");
1823 * until the next deleted child that have to be "shifted down" to
1845 /* Leftover "tail" after the last removed child */
2058 * the current one is exhausted, and the next child to examine in that parent.
2162 * yes, visit the next child. If not, pop the stack and try again.
2624 treebuilder_add_subelement(PyObject *element, PyObject *child)
2629 return element_add_subelement(elem, child);
2633 res = _PyObject_CallMethodIdOneArg(element, &PyId_append, child);