function DocFencedCode(parameters) {
        var _this = _super.call(this, parameters) || this;
        if (DocNode.isParsedParameters(parameters)) {
            _this._openingFenceExcerpt = new DocExcerpt({
                configuration: _this.configuration,
                excerptKind: "FencedCode_OpeningFence" /* FencedCode_OpeningFence */,
                content: parameters.openingFenceExcerpt
            });
            if (parameters.spacingAfterOpeningFenceExcerpt) {
                _this._spacingAfterOpeningFenceExcerpt = new DocExcerpt({
                    configuration: _this.configuration,
                    excerptKind: "Spacing" /* Spacing */,
                    content: parameters.spacingAfterOpeningFenceExcerpt
                });
            }
            if (parameters.languageExcerpt) {
                _this._languageExcerpt = new DocExcerpt({
                    configuration: _this.configuration,
                    excerptKind: "FencedCode_Language" /* FencedCode_Language */,
                    content: parameters.languageExcerpt
                });
            }
            if (parameters.spacingAfterLanguageExcerpt) {
                _this._spacingAfterLanguageExcerpt = new DocExcerpt({
                    configuration: _this.configuration,
                    excerptKind: "Spacing" /* Spacing */,
                    content: parameters.spacingAfterLanguageExcerpt
                });
            }
            _this._codeExcerpt = new DocExcerpt({
                configuration: _this.configuration,
                excerptKind: "FencedCode_Code" /* FencedCode_Code */,
                content: parameters.codeExcerpt
            });
            if (parameters.spacingBeforeClosingFenceExcerpt) {
                _this._spacingBeforeClosingFenceExcerpt = new DocExcerpt({
                    configuration: _this.configuration,
                    excerptKind: "Spacing" /* Spacing */,
                    content: parameters.spacingBeforeClosingFenceExcerpt
                });
            }
            _this._closingFenceExcerpt = new DocExcerpt({
                configuration: _this.configuration,
                excerptKind: "FencedCode_ClosingFence" /* FencedCode_ClosingFence */,
                content: parameters.closingFenceExcerpt
            });
            if (parameters.spacingAfterClosingFenceExcerpt) {
                _this._spacingAfterClosingFenceExcerpt = new DocExcerpt({
                    configuration: _this.configuration,
                    excerptKind: "Spacing" /* Spacing */,
                    content: parameters.spacingAfterClosingFenceExcerpt
                });
            }
        }
        else {
            _this._code = parameters.code;
            _this._language = parameters.language;
        }
        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 DocFencedCode(parameters) {
        var _this = _super.call(this, parameters) || this;
        if (DocNode.isParsedParameters(parameters)) {
            _this._openingFenceExcerpt = new DocExcerpt({
                configuration: _this.configuration,
                excerptKind: "FencedCode_OpeningFence" ,
                content: parameters.openingFenceExcerpt
            });
            if (parameters.spacingAfterOpeningFenceExcerpt) {
                _this._spacingAfterOpeningFenceExcerpt = new DocExcerpt({
                    configuration: _this.configuration,
                    excerptKind: "Spacing" ,
                    content: parameters.spacingAfterOpeningFenceExcerpt
                });
            }
            if (parameters.languageExcerpt) {
                _this._languageExcerpt = new DocExcerpt({
                    configuration: _this.configuration,
                    excerptKind: "FencedCode_Language" ,
                    content: parameters.languageExcerpt
                });
            }
            if (parameters.spacingAfterLanguageExcerpt) {
                _this._spacingAfterLanguageExcerpt = new DocExcerpt({
                    configuration: _this.configuration,
                    excerptKind: "Spacing" ,
                    content: parameters.spacingAfterLanguageExcerpt
                });
            }
            _this._codeExcerpt = new DocExcerpt({
                configuration: _this.configuration,
                excerptKind: "FencedCode_Code" ,
                content: parameters.codeExcerpt
            });
            if (parameters.spacingBeforeClosingFenceExcerpt) {
                _this._spacingBeforeClosingFenceExcerpt = new DocExcerpt({
                    configuration: _this.configuration,
                    excerptKind: "Spacing" ,
                    content: parameters.spacingBeforeClosingFenceExcerpt
                });
            }
            _this._closingFenceExcerpt = new DocExcerpt({
                configuration: _this.configuration,
                excerptKind: "FencedCode_ClosingFence" ,
                content: parameters.closingFenceExcerpt
            });
            if (parameters.spacingAfterClosingFenceExcerpt) {
                _this._spacingAfterClosingFenceExcerpt = new DocExcerpt({
                    configuration: _this.configuration,
                    excerptKind: "Spacing" ,
                    content: parameters.spacingAfterClosingFenceExcerpt
                });
            }
        }
        else {
            _this._code = parameters.code;
            _this._language = parameters.language;
        }
        return _this;
    }
function DocFencedCode ( parameters ) { var _this = _super . call ( this , parameters ) || this ; if ( DocNode . isParsedParameters ( parameters ) ) { _this . _openingFenceExcerpt = new DocExcerpt ( { configuration : _this . configuration , excerptKind : "FencedCode_OpeningFence" , content : parameters . openingFenceExcerpt } ) ; if ( parameters . spacingAfterOpeningFenceExcerpt ) { _this . _spacingAfterOpeningFenceExcerpt = new DocExcerpt ( { configuration : _this . configuration , excerptKind : "Spacing" , content : parameters . spacingAfterOpeningFenceExcerpt } ) ; } if ( parameters . languageExcerpt ) { _this . _languageExcerpt = new DocExcerpt ( { configuration : _this . configuration , excerptKind : "FencedCode_Language" , content : parameters . languageExcerpt } ) ; } if ( parameters . spacingAfterLanguageExcerpt ) { _this . _spacingAfterLanguageExcerpt = new DocExcerpt ( { configuration : _this . configuration , excerptKind : "Spacing" , content : parameters . spacingAfterLanguageExcerpt } ) ; } _this . _codeExcerpt = new DocExcerpt ( { configuration : _this . configuration , excerptKind : "FencedCode_Code" , content : parameters . codeExcerpt } ) ; if ( parameters . spacingBeforeClosingFenceExcerpt ) { _this . _spacingBeforeClosingFenceExcerpt = new DocExcerpt ( { configuration : _this . configuration , excerptKind : "Spacing" , content : parameters . spacingBeforeClosingFenceExcerpt } ) ; } _this . _closingFenceExcerpt = new DocExcerpt ( { configuration : _this . configuration , excerptKind : "FencedCode_ClosingFence" , content : parameters . closingFenceExcerpt } ) ; if ( parameters . spacingAfterClosingFenceExcerpt ) { _this . _spacingAfterClosingFenceExcerpt = new DocExcerpt ( { configuration : _this . configuration , excerptKind : "Spacing" , content : parameters . spacingAfterClosingFenceExcerpt } ) ; } } else { _this . _code = parameters . code ; _this . _language = parameters . language ; } return _this ; }
Don't call this directly.
Don ' t call this directly .
/* FencedCode_OpeningFence */ /* Spacing */ /* FencedCode_Language */ /* Spacing */ /* FencedCode_Code */ /* Spacing */ /* FencedCode_ClosingFence */ /* Spacing */