Lines Matching refs:newTree
125 _generateDiffTree(newTree, oldTree, newTreeSiblings, oldTreeSiblings) { argument
129 const newId = newTree ? this.getNodeId(newTree) : null;
135 if (newTree) {
139 const diffTree = this._cloneNode(newTree);
195 if (this.isModified && this.isModified(newTree, oldTree)) {
200 diffTree.children = this._visitChildren(newTree, oldTree);
224 _visitChildren(newTree, oldTree) { argument
230 newTree?.children?.length ?? 0, oldTree?.children?.length ?? 0);
232 const newChild = i < newTree?.children?.length ?
233 newTree.children[i] : null;
240 newTree?.children ?? [], oldTree?.children ?? [],