@@ -69,7 +69,11 @@ export class DocComment extends DocNode {
69
69
// @public
70
70
export class DocDeclarationReference extends DocNode {
71
71
// @internal
72
- constructor (parameters : IDocDeclarationReferenceParameters | IDocDeclarationReferenceParsedParameters );
72
+ constructor (parameters : IDocDeclarationReferenceParameters | IDocDeclarationReferenceParsedParameters | IBetaDocDeclarationReferenceParameters | IBetaDocDeclarationReferenceParsedParameters );
73
+ // Warning: (ae-forgotten-export) The symbol "DeclarationReference" needs to be exported by the entry point index.d.ts
74
+ //
75
+ // @beta
76
+ get declarationReference(): DeclarationReference | undefined ;
73
77
emitAsTsdoc(): string ;
74
78
get importPath(): string | undefined ;
75
79
// @override (undocumented)
@@ -450,6 +454,8 @@ export enum ExcerptKind {
450
454
// (undocumented)
451
455
CodeSpan_OpeningDelimiter = " CodeSpan_OpeningDelimiter" ,
452
456
// (undocumented)
457
+ DeclarationReference_DeclarationReference = " DeclarationReference_DeclarationReference" ,
458
+ // (undocumented)
453
459
DeclarationReference_ImportHash = " DeclarationReference_ImportHash" ,
454
460
// (undocumented)
455
461
DeclarationReference_ImportPath = " DeclarationReference_ImportPath" ,
@@ -531,6 +537,20 @@ export enum ExcerptKind {
531
537
Spacing = " Spacing"
532
538
}
533
539
540
+ // @beta
541
+ export interface IBetaDocDeclarationReferenceParameters extends IDocNodeParameters {
542
+ // (undocumented)
543
+ declarationReference: DeclarationReference ;
544
+ }
545
+
546
+ // @beta
547
+ export interface IBetaDocDeclarationReferenceParsedParameters extends IDocNodeParsedParameters {
548
+ // (undocumented)
549
+ declarationReference? : DeclarationReference ;
550
+ // (undocumented)
551
+ declarationReferenceExcerpt: TokenSequence ;
552
+ }
553
+
534
554
// @public
535
555
export interface IDocBlockParameters extends IDocNodeParameters {
536
556
// (undocumented)
@@ -1085,8 +1105,10 @@ export class ParserMessageLog {
1085
1105
addMessageForDocErrorText(docErrorText : DocErrorText ): void ;
1086
1106
addMessageForTextRange(messageId : TSDocMessageId , messageText : string , textRange : TextRange ): void ;
1087
1107
addMessageForTokenSequence(messageId : TSDocMessageId , messageText : string , tokenSequence : TokenSequence , docNode ? : DocNode ): void ;
1108
+ createMarker(): number ;
1088
1109
get messages(): ReadonlyArray <ParserMessage >;
1089
- }
1110
+ rollbackToMarker(marker : number ): void ;
1111
+ }
1090
1112
1091
1113
// @public
1092
1114
export class PlainTextEmitter {
@@ -1248,6 +1270,9 @@ export class TSDocConfiguration {
1248
1270
isHtmlElementSupported(htmlTag : string ): boolean ;
1249
1271
isKnownMessageId(messageId : TSDocMessageId | string ): boolean ;
1250
1272
isTagSupported(tagDefinition : TSDocTagDefinition ): boolean ;
1273
+ // (undocumented)
1274
+ get parseBetaDeclarationReferences(): boolean | ' prefer' ;
1275
+ set parseBetaDeclarationReferences(value : boolean | ' prefer' );
1251
1276
setSupportedHtmlElements(htmlTags : string []): void ;
1252
1277
setSupportForTag(tagDefinition : TSDocTagDefinition , supported : boolean ): void ;
1253
1278
setSupportForTags(tagDefinitions : ReadonlyArray <TSDocTagDefinition >, supported : boolean ): void ;
0 commit comments