docs/libs/typescript.js
function endNode() {
            if (parent.children) {
                mergeChildren(parent.children);
                sortChildren(parent.children);
            }
            parent = parentsStack.pop();
        }
function endNode() {
            if (parent.children) {
                mergeChildren(parent.children);
                sortChildren(parent.children);
            }
            parent = parentsStack.pop();
        }
function endNode ( ) { if ( parent . children ) { mergeChildren ( parent . children ) ; sortChildren ( parent . children ) ; } parent = parentsStack . pop ( ) ; }
Call after calling `startNode` and adding children to it.
Call after calling startNode and adding children to it .