Lines Matching refs:newChildren
349 pANTLR3_VECTOR newChildren; // Iterator for whatever we are going to add in in replaceChildren() local
363 newChildren = newTree->children; in replaceChildren()
368 newChildren = antlr3VectorNew(1); in replaceChildren()
369 if (newChildren == NULL) in replaceChildren()
374 newChildren->add(newChildren, (void *)newTree, NULL); in replaceChildren()
382 replacingWithHowMany = newChildren->size(newChildren); in replaceChildren()
384 numNewChildren = newChildren->size(newChildren); in replaceChildren()
397 child = (pANTLR3_BASE_TREE) newChildren->get(newChildren, j); in replaceChildren()
412 …parent->children->set(parent->children, startChildIndex + j, newChildren->get(newChildren, j), NUL… in replaceChildren()
435 …parent->children->set(parent->children, startChildIndex + j, newChildren->get(newChildren, j), NUL… in replaceChildren()
442 parent->children->add(parent->children, newChildren->get(newChildren, j), NULL); in replaceChildren()
450 ANTLR3_FREE(newChildren->elements); in replaceChildren()
451 newChildren->elements = NULL; in replaceChildren()
452 newChildren->size = 0; in replaceChildren()
453 ANTLR3_FREE(newChildren); // Will not free the nodes in replaceChildren()