docs/libs/typescript.js
function cloneEntityName(node, parent) {
        var clone = cloneNode(node, node, node.flags, parent);
        if (isQualifiedName(clone)) {
            var left = clone.left, right = clone.right;
            clone.left = cloneEntityName(left, clone);
            clone.right = cloneNode(right, right, right.flags, parent);
        }
        return clone;
    }
function cloneEntityName(node, parent) {
        var clone = cloneNode(node, node, node.flags, parent);
        if (isQualifiedName(clone)) {
            var left = clone.left, right = clone.right;
            clone.left = cloneEntityName(left, clone);
            clone.right = cloneNode(right, right, right.flags, parent);
        }
        return clone;
    }
function cloneEntityName ( node , parent ) { var clone = cloneNode ( node , node , node . flags , parent ) ; if ( isQualifiedName ( clone ) ) { var left = clone . left , right = clone . right ; clone . left = cloneEntityName ( left , clone ) ; clone . right = cloneNode ( right , right , right . flags , parent ) ; } return clone ; }
Creates a deep clone of an EntityName, with new parent pointers.
@param node The EntityName to clone.
@param parent The parent for the cloned node.
Creates a deep clone of an EntityName with new parent pointers .