@@ -98,7 +98,7 @@ export class ApiModelGenerator {
9898 return ; // trim out private declarations
9999 }
100100
101- const apiItemMetadata : ApiItemMetadata = this . _collector . fetchMetadata ( astDeclaration ) ;
101+ const apiItemMetadata : ApiItemMetadata = this . _collector . fetchApiItemMetadata ( astDeclaration ) ;
102102 const releaseTag : ReleaseTag = apiItemMetadata . effectiveReleaseTag ;
103103 if ( releaseTag === ReleaseTag . Internal || releaseTag === ReleaseTag . Alpha ) {
104104 return ; // trim out items marked as "@internal" or "@alpha"
@@ -208,7 +208,7 @@ export class ApiModelGenerator {
208208 const parameters : IApiParameterOptions [ ] = this . _captureParameters ( nodesToCapture , callSignature . parameters ) ;
209209
210210 const excerptTokens : IExcerptToken [ ] = this . _buildExcerptTokens ( astDeclaration , nodesToCapture ) ;
211- const apiItemMetadata : ApiItemMetadata = this . _collector . fetchMetadata ( astDeclaration ) ;
211+ const apiItemMetadata : ApiItemMetadata = this . _collector . fetchApiItemMetadata ( astDeclaration ) ;
212212 const docComment : tsdoc . DocComment | undefined = apiItemMetadata . tsdocComment ;
213213 const releaseTag : ReleaseTag = apiItemMetadata . effectiveReleaseTag ;
214214
@@ -243,7 +243,7 @@ export class ApiModelGenerator {
243243 constructorDeclaration . parameters ) ;
244244
245245 const excerptTokens : IExcerptToken [ ] = this . _buildExcerptTokens ( astDeclaration , nodesToCapture ) ;
246- const apiItemMetadata : ApiItemMetadata = this . _collector . fetchMetadata ( astDeclaration ) ;
246+ const apiItemMetadata : ApiItemMetadata = this . _collector . fetchApiItemMetadata ( astDeclaration ) ;
247247 const docComment : tsdoc . DocComment | undefined = apiItemMetadata . tsdocComment ;
248248 const releaseTag : ReleaseTag = apiItemMetadata . effectiveReleaseTag ;
249249
@@ -294,7 +294,7 @@ export class ApiModelGenerator {
294294 }
295295
296296 const excerptTokens : IExcerptToken [ ] = this . _buildExcerptTokens ( astDeclaration , nodesToCapture ) ;
297- const apiItemMetadata : ApiItemMetadata = this . _collector . fetchMetadata ( astDeclaration ) ;
297+ const apiItemMetadata : ApiItemMetadata = this . _collector . fetchApiItemMetadata ( astDeclaration ) ;
298298 const docComment : tsdoc . DocComment | undefined = apiItemMetadata . tsdocComment ;
299299 const releaseTag : ReleaseTag = apiItemMetadata . effectiveReleaseTag ;
300300
@@ -338,7 +338,7 @@ export class ApiModelGenerator {
338338 const parameters : IApiParameterOptions [ ] = this . _captureParameters ( nodesToCapture , constructSignature . parameters ) ;
339339
340340 const excerptTokens : IExcerptToken [ ] = this . _buildExcerptTokens ( astDeclaration , nodesToCapture ) ;
341- const apiItemMetadata : ApiItemMetadata = this . _collector . fetchMetadata ( astDeclaration ) ;
341+ const apiItemMetadata : ApiItemMetadata = this . _collector . fetchApiItemMetadata ( astDeclaration ) ;
342342 const docComment : tsdoc . DocComment | undefined = apiItemMetadata . tsdocComment ;
343343 const releaseTag : ReleaseTag = apiItemMetadata . effectiveReleaseTag ;
344344
@@ -366,7 +366,7 @@ export class ApiModelGenerator {
366366
367367 if ( apiEnum === undefined ) {
368368 const excerptTokens : IExcerptToken [ ] = this . _buildExcerptTokens ( astDeclaration , [ ] ) ;
369- const apiItemMetadata : ApiItemMetadata = this . _collector . fetchMetadata ( astDeclaration ) ;
369+ const apiItemMetadata : ApiItemMetadata = this . _collector . fetchApiItemMetadata ( astDeclaration ) ;
370370 const docComment : tsdoc . DocComment | undefined = apiItemMetadata . tsdocComment ;
371371 const releaseTag : ReleaseTag = apiItemMetadata . effectiveReleaseTag ;
372372
@@ -394,7 +394,7 @@ export class ApiModelGenerator {
394394 nodesToCapture . push ( { node : enumMember . initializer , tokenRange : initializerTokenRange } ) ;
395395
396396 const excerptTokens : IExcerptToken [ ] = this . _buildExcerptTokens ( astDeclaration , nodesToCapture ) ;
397- const apiItemMetadata : ApiItemMetadata = this . _collector . fetchMetadata ( astDeclaration ) ;
397+ const apiItemMetadata : ApiItemMetadata = this . _collector . fetchApiItemMetadata ( astDeclaration ) ;
398398 const docComment : tsdoc . DocComment | undefined = apiItemMetadata . tsdocComment ;
399399 const releaseTag : ReleaseTag = apiItemMetadata . effectiveReleaseTag ;
400400
@@ -436,7 +436,7 @@ export class ApiModelGenerator {
436436 functionDeclaration . parameters ) ;
437437
438438 const excerptTokens : IExcerptToken [ ] = this . _buildExcerptTokens ( astDeclaration , nodesToCapture ) ;
439- const apiItemMetadata : ApiItemMetadata = this . _collector . fetchMetadata ( astDeclaration ) ;
439+ const apiItemMetadata : ApiItemMetadata = this . _collector . fetchApiItemMetadata ( astDeclaration ) ;
440440 const docComment : tsdoc . DocComment | undefined = apiItemMetadata . tsdocComment ;
441441 const releaseTag : ReleaseTag = apiItemMetadata . effectiveReleaseTag ;
442442 if ( releaseTag === ReleaseTag . Internal || releaseTag === ReleaseTag . Alpha ) {
@@ -478,7 +478,7 @@ export class ApiModelGenerator {
478478 const parameters : IApiParameterOptions [ ] = this . _captureParameters ( nodesToCapture , indexSignature . parameters ) ;
479479
480480 const excerptTokens : IExcerptToken [ ] = this . _buildExcerptTokens ( astDeclaration , nodesToCapture ) ;
481- const apiItemMetadata : ApiItemMetadata = this . _collector . fetchMetadata ( astDeclaration ) ;
481+ const apiItemMetadata : ApiItemMetadata = this . _collector . fetchApiItemMetadata ( astDeclaration ) ;
482482 const docComment : tsdoc . DocComment | undefined = apiItemMetadata . tsdocComment ;
483483 const releaseTag : ReleaseTag = apiItemMetadata . effectiveReleaseTag ;
484484
@@ -524,7 +524,7 @@ export class ApiModelGenerator {
524524 }
525525
526526 const excerptTokens : IExcerptToken [ ] = this . _buildExcerptTokens ( astDeclaration , nodesToCapture ) ;
527- const apiItemMetadata : ApiItemMetadata = this . _collector . fetchMetadata ( astDeclaration ) ;
527+ const apiItemMetadata : ApiItemMetadata = this . _collector . fetchApiItemMetadata ( astDeclaration ) ;
528528 const docComment : tsdoc . DocComment | undefined = apiItemMetadata . tsdocComment ;
529529 const releaseTag : ReleaseTag = apiItemMetadata . effectiveReleaseTag ;
530530
@@ -568,7 +568,7 @@ export class ApiModelGenerator {
568568 const parameters : IApiParameterOptions [ ] = this . _captureParameters ( nodesToCapture , methodDeclaration . parameters ) ;
569569
570570 const excerptTokens : IExcerptToken [ ] = this . _buildExcerptTokens ( astDeclaration , nodesToCapture ) ;
571- const apiItemMetadata : ApiItemMetadata = this . _collector . fetchMetadata ( astDeclaration ) ;
571+ const apiItemMetadata : ApiItemMetadata = this . _collector . fetchApiItemMetadata ( astDeclaration ) ;
572572 const docComment : tsdoc . DocComment | undefined = apiItemMetadata . tsdocComment ;
573573 const releaseTag : ReleaseTag = apiItemMetadata . effectiveReleaseTag ;
574574 if ( releaseTag === ReleaseTag . Internal || releaseTag === ReleaseTag . Alpha ) {
@@ -616,7 +616,7 @@ export class ApiModelGenerator {
616616 const parameters : IApiParameterOptions [ ] = this . _captureParameters ( nodesToCapture , methodSignature . parameters ) ;
617617
618618 const excerptTokens : IExcerptToken [ ] = this . _buildExcerptTokens ( astDeclaration , nodesToCapture ) ;
619- const apiItemMetadata : ApiItemMetadata = this . _collector . fetchMetadata ( astDeclaration ) ;
619+ const apiItemMetadata : ApiItemMetadata = this . _collector . fetchApiItemMetadata ( astDeclaration ) ;
620620 const docComment : tsdoc . DocComment | undefined = apiItemMetadata . tsdocComment ;
621621 const releaseTag : ReleaseTag = apiItemMetadata . effectiveReleaseTag ;
622622
@@ -645,7 +645,7 @@ export class ApiModelGenerator {
645645
646646 if ( apiNamespace === undefined ) {
647647 const excerptTokens : IExcerptToken [ ] = this . _buildExcerptTokens ( astDeclaration , [ ] ) ;
648- const apiItemMetadata : ApiItemMetadata = this . _collector . fetchMetadata ( astDeclaration ) ;
648+ const apiItemMetadata : ApiItemMetadata = this . _collector . fetchApiItemMetadata ( astDeclaration ) ;
649649 const docComment : tsdoc . DocComment | undefined = apiItemMetadata . tsdocComment ;
650650 const releaseTag : ReleaseTag = apiItemMetadata . effectiveReleaseTag ;
651651
@@ -677,7 +677,7 @@ export class ApiModelGenerator {
677677 nodesToCapture . push ( { node : propertyDeclaration . type , tokenRange : propertyTypeTokenRange } ) ;
678678
679679 const excerptTokens : IExcerptToken [ ] = this . _buildExcerptTokens ( astDeclaration , nodesToCapture ) ;
680- const apiItemMetadata : ApiItemMetadata = this . _collector . fetchMetadata ( astDeclaration ) ;
680+ const apiItemMetadata : ApiItemMetadata = this . _collector . fetchApiItemMetadata ( astDeclaration ) ;
681681 const docComment : tsdoc . DocComment | undefined = apiItemMetadata . tsdocComment ;
682682 const releaseTag : ReleaseTag = apiItemMetadata . effectiveReleaseTag ;
683683
@@ -707,7 +707,7 @@ export class ApiModelGenerator {
707707 nodesToCapture . push ( { node : propertySignature . type , tokenRange : propertyTypeTokenRange } ) ;
708708
709709 const excerptTokens : IExcerptToken [ ] = this . _buildExcerptTokens ( astDeclaration , nodesToCapture ) ;
710- const apiItemMetadata : ApiItemMetadata = this . _collector . fetchMetadata ( astDeclaration ) ;
710+ const apiItemMetadata : ApiItemMetadata = this . _collector . fetchApiItemMetadata ( astDeclaration ) ;
711711 const docComment : tsdoc . DocComment | undefined = apiItemMetadata . tsdocComment ;
712712 const releaseTag : ReleaseTag = apiItemMetadata . effectiveReleaseTag ;
713713
@@ -748,7 +748,7 @@ export class ApiModelGenerator {
748748 nodesToCapture . push ( { node : typeAliasDeclaration . type , tokenRange : typeTokenRange } ) ;
749749
750750 const excerptTokens : IExcerptToken [ ] = this . _buildExcerptTokens ( astDeclaration , nodesToCapture ) ;
751- const apiItemMetadata : ApiItemMetadata = this . _collector . fetchMetadata ( astDeclaration ) ;
751+ const apiItemMetadata : ApiItemMetadata = this . _collector . fetchApiItemMetadata ( astDeclaration ) ;
752752 const docComment : tsdoc . DocComment | undefined = apiItemMetadata . tsdocComment ;
753753 const releaseTag : ReleaseTag = apiItemMetadata . effectiveReleaseTag ;
754754
@@ -784,7 +784,7 @@ export class ApiModelGenerator {
784784 nodesToCapture . push ( { node : variableDeclaration . type , tokenRange : variableTypeTokenRange } ) ;
785785
786786 const excerptTokens : IExcerptToken [ ] = this . _buildExcerptTokens ( astDeclaration , nodesToCapture ) ;
787- const apiItemMetadata : ApiItemMetadata = this . _collector . fetchMetadata ( astDeclaration ) ;
787+ const apiItemMetadata : ApiItemMetadata = this . _collector . fetchApiItemMetadata ( astDeclaration ) ;
788788 const docComment : tsdoc . DocComment | undefined = apiItemMetadata . tsdocComment ;
789789 const releaseTag : ReleaseTag = apiItemMetadata . effectiveReleaseTag ;
790790
0 commit comments