function DocDeclarationReference(parameters) {
        var _a;
        var _this = _super.call(this, parameters) || this;
        if (DocNode_1.DocNode.isParsedParameters(parameters)) {
            if (parameters.packageNameExcerpt) {
                _this._packageNameExcerpt = new DocExcerpt_1.DocExcerpt({
                    configuration: _this.configuration,
                    excerptKind: "DeclarationReference_PackageName" /* DeclarationReference_PackageName */,
                    content: parameters.packageNameExcerpt
                });
            }
            if (parameters.importPathExcerpt) {
                _this._importPathExcerpt = new DocExcerpt_1.DocExcerpt({
                    configuration: _this.configuration,
                    excerptKind: "DeclarationReference_ImportPath" /* DeclarationReference_ImportPath */,
                    content: parameters.importPathExcerpt
                });
            }
            if (parameters.importHashExcerpt) {
                _this._importHashExcerpt = new DocExcerpt_1.DocExcerpt({
                    configuration: _this.configuration,
                    excerptKind: "DeclarationReference_ImportHash" /* DeclarationReference_ImportHash */,
                    content: parameters.importHashExcerpt
                });
            }
            if (parameters.spacingAfterImportHashExcerpt) {
                _this._spacingAfterImportHashExcerpt = new DocExcerpt_1.DocExcerpt({
                    configuration: _this.configuration,
                    excerptKind: "Spacing" /* Spacing */,
                    content: parameters.spacingAfterImportHashExcerpt
                });
            }
        }
        else {
            _this._packageName = parameters.packageName;
            _this._importPath = parameters.importPath;
        }
        _this._memberReferences = [];
        if (parameters.memberReferences) {
            (_a = _this._memberReferences).push.apply(_a, parameters.memberReferences);
        }
        return _this;
    }
/**
     * Don't call this directly.  Instead use {@link TSDocParser}
     * @internal
     */
Don't call this directly.  Instead use  TSDocParser
@internal
Don ' t call this directly . Instead use TSDocParser @internal
function DocDeclarationReference(parameters) {
        var _a;
        var _this = _super.call(this, parameters) || this;
        if (DocNode_1.DocNode.isParsedParameters(parameters)) {
            if (parameters.packageNameExcerpt) {
                _this._packageNameExcerpt = new DocExcerpt_1.DocExcerpt({
                    configuration: _this.configuration,
                    excerptKind: "DeclarationReference_PackageName" ,
                    content: parameters.packageNameExcerpt
                });
            }
            if (parameters.importPathExcerpt) {
                _this._importPathExcerpt = new DocExcerpt_1.DocExcerpt({
                    configuration: _this.configuration,
                    excerptKind: "DeclarationReference_ImportPath" ,
                    content: parameters.importPathExcerpt
                });
            }
            if (parameters.importHashExcerpt) {
                _this._importHashExcerpt = new DocExcerpt_1.DocExcerpt({
                    configuration: _this.configuration,
                    excerptKind: "DeclarationReference_ImportHash" ,
                    content: parameters.importHashExcerpt
                });
            }
            if (parameters.spacingAfterImportHashExcerpt) {
                _this._spacingAfterImportHashExcerpt = new DocExcerpt_1.DocExcerpt({
                    configuration: _this.configuration,
                    excerptKind: "Spacing" ,
                    content: parameters.spacingAfterImportHashExcerpt
                });
            }
        }
        else {
            _this._packageName = parameters.packageName;
            _this._importPath = parameters.importPath;
        }
        _this._memberReferences = [];
        if (parameters.memberReferences) {
            (_a = _this._memberReferences).push.apply(_a, parameters.memberReferences);
        }
        return _this;
    }
function DocDeclarationReference ( parameters ) { var _a ; var _this = _super . call ( this , parameters ) || this ; if ( DocNode_1 . DocNode . isParsedParameters ( parameters ) ) { if ( parameters . packageNameExcerpt ) { _this . _packageNameExcerpt = new DocExcerpt_1 . DocExcerpt ( { configuration : _this . configuration , excerptKind : "DeclarationReference_PackageName" , content : parameters . packageNameExcerpt } ) ; } if ( parameters . importPathExcerpt ) { _this . _importPathExcerpt = new DocExcerpt_1 . DocExcerpt ( { configuration : _this . configuration , excerptKind : "DeclarationReference_ImportPath" , content : parameters . importPathExcerpt } ) ; } if ( parameters . importHashExcerpt ) { _this . _importHashExcerpt = new DocExcerpt_1 . DocExcerpt ( { configuration : _this . configuration , excerptKind : "DeclarationReference_ImportHash" , content : parameters . importHashExcerpt } ) ; } if ( parameters . spacingAfterImportHashExcerpt ) { _this . _spacingAfterImportHashExcerpt = new DocExcerpt_1 . DocExcerpt ( { configuration : _this . configuration , excerptKind : "Spacing" , content : parameters . spacingAfterImportHashExcerpt } ) ; } } else { _this . _packageName = parameters . packageName ; _this . _importPath = parameters . importPath ; } _this . _memberReferences = [ ] ; if ( parameters . memberReferences ) { ( _a = _this . _memberReferences ) . push . apply ( _a , parameters . memberReferences ) ; } return _this ; }
Don't call this directly.
Don ' t call this directly .
/* DeclarationReference_PackageName */ /* DeclarationReference_ImportPath */ /* DeclarationReference_ImportHash */ /* Spacing */