function DocPlainText(parameters) {
        var _this = _super.call(this, parameters) || this;
        if (DocNode.isParsedParameters(parameters)) {
            _this._textExcerpt = new DocExcerpt({
                configuration: _this.configuration,
                excerptKind: "PlainText" /* PlainText */,
                content: parameters.textExcerpt
            });
        }
        else {
            if (DocPlainText._newlineCharacterRegExp.test(parameters.text)) {
                // Use DocSoftBreak to represent manual line splitting
                throw new Error('The DocPlainText content must not contain newline characters');
            }
            _this._text = parameters.text;
        }
        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 DocPlainText(parameters) {
        var _this = _super.call(this, parameters) || this;
        if (DocNode.isParsedParameters(parameters)) {
            _this._textExcerpt = new DocExcerpt({
                configuration: _this.configuration,
                excerptKind: "PlainText" ,
                content: parameters.textExcerpt
            });
        }
        else {
            if (DocPlainText._newlineCharacterRegExp.test(parameters.text)) {
                throw new Error('The DocPlainText content must not contain newline characters');
            }
            _this._text = parameters.text;
        }
        return _this;
    }
function DocPlainText ( parameters ) { var _this = _super . call ( this , parameters ) || this ; if ( DocNode . isParsedParameters ( parameters ) ) { _this . _textExcerpt = new DocExcerpt ( { configuration : _this . configuration , excerptKind : "PlainText" , content : parameters . textExcerpt } ) ; } else { if ( DocPlainText . _newlineCharacterRegExp . test ( parameters . text ) ) { throw new Error ( 'The DocPlainText content must not contain newline characters' ) ; } _this . _text = parameters . text ; } return _this ; }
Don't call this directly.
Don ' t call this directly .
/* PlainText */ // Use DocSoftBreak to represent manual line splitting