function DocExcerpt(parameters) {
        var _this = _super.call(this, parameters) || this;
        if (parameters.excerptKind === "Spacing" /* Spacing */) {
            for (var _i = 0, _a = parameters.content.tokens; _i < _a.length; _i++) {
                var token = _a[_i];
                switch (token.kind) {
                    case Token_1.TokenKind.Spacing:
                    case Token_1.TokenKind.Newline:
                    case Token_1.TokenKind.EndOfInput:
                        break;
                    default:
                        throw new Error("The excerptKind=Spacing but the range contains a non-whitespace token");
                }
            }
        }
        _this._excerptKind = parameters.excerptKind;
        _this._content = parameters.content;
        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 DocExcerpt(parameters) {
        var _this = _super.call(this, parameters) || this;
        if (parameters.excerptKind === "Spacing" ) {
            for (var _i = 0, _a = parameters.content.tokens; _i < _a.length; _i++) {
                var token = _a[_i];
                switch (token.kind) {
                    case Token_1.TokenKind.Spacing:
                    case Token_1.TokenKind.Newline:
                    case Token_1.TokenKind.EndOfInput:
                        break;
                    default:
                        throw new Error("The excerptKind=Spacing but the range contains a non-whitespace token");
                }
            }
        }
        _this._excerptKind = parameters.excerptKind;
        _this._content = parameters.content;
        return _this;
    }
function DocExcerpt ( parameters ) { var _this = _super . call ( this , parameters ) || this ; if ( parameters . excerptKind === "Spacing" ) { for ( var _i = 0 , _a = parameters . content . tokens ; _i < _a . length ; _i ++ ) { var token = _a [ _i ] ; switch ( token . kind ) { case Token_1 . TokenKind . Spacing : case Token_1 . TokenKind . Newline : case Token_1 . TokenKind . EndOfInput : break ; default : throw new Error ( "The excerptKind=Spacing but the range contains a non-whitespace token" ) ; } } } _this . _excerptKind = parameters . excerptKind ; _this . _content = parameters . content ; return _this ; }
Don't call this directly.
Don ' t call this directly .
/* Spacing */