@@ -275,7 +275,7 @@ namespace ts {
275
275
276
276
case SyntaxKind . MethodSignature :
277
277
return updateMethodSignature ( < MethodSignature > node ,
278
- nodesVisitor ( ( < MethodSignature > node ) . typeParameters , visitor , isTypeParameter ) ,
278
+ nodesVisitor ( ( < MethodSignature > node ) . typeParameters , visitor , isTypeParameterDeclaration ) ,
279
279
nodesVisitor ( ( < MethodSignature > node ) . parameters , visitor , isParameterDeclaration ) ,
280
280
visitNode ( ( < MethodSignature > node ) . type , visitor , isTypeNode ) ,
281
281
visitNode ( ( < MethodSignature > node ) . name , visitor , isPropertyName ) ,
@@ -288,7 +288,7 @@ namespace ts {
288
288
visitNode ( ( < MethodDeclaration > node ) . asteriskToken , tokenVisitor , isToken ) ,
289
289
visitNode ( ( < MethodDeclaration > node ) . name , visitor , isPropertyName ) ,
290
290
visitNode ( ( < MethodDeclaration > node ) . questionToken , tokenVisitor , isToken ) ,
291
- nodesVisitor ( ( < MethodDeclaration > node ) . typeParameters , visitor , isTypeParameter ) ,
291
+ nodesVisitor ( ( < MethodDeclaration > node ) . typeParameters , visitor , isTypeParameterDeclaration ) ,
292
292
visitParameterList ( ( < MethodDeclaration > node ) . parameters , visitor , context , nodesVisitor ) ,
293
293
visitNode ( ( < MethodDeclaration > node ) . type , visitor , isTypeNode ) ,
294
294
visitFunctionBody ( ( < MethodDeclaration > node ) . body , visitor , context ) ) ;
@@ -319,13 +319,13 @@ namespace ts {
319
319
320
320
case SyntaxKind . CallSignature :
321
321
return updateCallSignature ( < CallSignatureDeclaration > node ,
322
- nodesVisitor ( ( < CallSignatureDeclaration > node ) . typeParameters , visitor , isTypeParameter ) ,
322
+ nodesVisitor ( ( < CallSignatureDeclaration > node ) . typeParameters , visitor , isTypeParameterDeclaration ) ,
323
323
nodesVisitor ( ( < CallSignatureDeclaration > node ) . parameters , visitor , isParameterDeclaration ) ,
324
324
visitNode ( ( < CallSignatureDeclaration > node ) . type , visitor , isTypeNode ) ) ;
325
325
326
326
case SyntaxKind . ConstructSignature :
327
327
return updateConstructSignature ( < ConstructSignatureDeclaration > node ,
328
- nodesVisitor ( ( < ConstructSignatureDeclaration > node ) . typeParameters , visitor , isTypeParameter ) ,
328
+ nodesVisitor ( ( < ConstructSignatureDeclaration > node ) . typeParameters , visitor , isTypeParameterDeclaration ) ,
329
329
nodesVisitor ( ( < ConstructSignatureDeclaration > node ) . parameters , visitor , isParameterDeclaration ) ,
330
330
visitNode ( ( < ConstructSignatureDeclaration > node ) . type , visitor , isTypeNode ) ) ;
331
331
@@ -350,13 +350,13 @@ namespace ts {
350
350
351
351
case SyntaxKind . FunctionType :
352
352
return updateFunctionTypeNode ( < FunctionTypeNode > node ,
353
- nodesVisitor ( ( < FunctionTypeNode > node ) . typeParameters , visitor , isTypeParameter ) ,
353
+ nodesVisitor ( ( < FunctionTypeNode > node ) . typeParameters , visitor , isTypeParameterDeclaration ) ,
354
354
nodesVisitor ( ( < FunctionTypeNode > node ) . parameters , visitor , isParameterDeclaration ) ,
355
355
visitNode ( ( < FunctionTypeNode > node ) . type , visitor , isTypeNode ) ) ;
356
356
357
357
case SyntaxKind . ConstructorType :
358
358
return updateConstructorTypeNode ( < ConstructorTypeNode > node ,
359
- nodesVisitor ( ( < ConstructorTypeNode > node ) . typeParameters , visitor , isTypeParameter ) ,
359
+ nodesVisitor ( ( < ConstructorTypeNode > node ) . typeParameters , visitor , isTypeParameterDeclaration ) ,
360
360
nodesVisitor ( ( < ConstructorTypeNode > node ) . parameters , visitor , isParameterDeclaration ) ,
361
361
visitNode ( ( < ConstructorTypeNode > node ) . type , visitor , isTypeNode ) ) ;
362
362
@@ -400,7 +400,7 @@ namespace ts {
400
400
case SyntaxKind . MappedType :
401
401
return updateMappedTypeNode ( ( < MappedTypeNode > node ) ,
402
402
visitNode ( ( < MappedTypeNode > node ) . readonlyToken , tokenVisitor , isToken ) ,
403
- visitNode ( ( < MappedTypeNode > node ) . typeParameter , visitor , isTypeParameter ) ,
403
+ visitNode ( ( < MappedTypeNode > node ) . typeParameter , visitor , isTypeParameterDeclaration ) ,
404
404
visitNode ( ( < MappedTypeNode > node ) . questionToken , tokenVisitor , isToken ) ,
405
405
visitNode ( ( < MappedTypeNode > node ) . type , visitor , isTypeNode ) ) ;
406
406
@@ -476,15 +476,15 @@ namespace ts {
476
476
nodesVisitor ( ( < FunctionExpression > node ) . modifiers , visitor , isModifier ) ,
477
477
visitNode ( ( < FunctionExpression > node ) . asteriskToken , tokenVisitor , isToken ) ,
478
478
visitNode ( ( < FunctionExpression > node ) . name , visitor , isIdentifier ) ,
479
- nodesVisitor ( ( < FunctionExpression > node ) . typeParameters , visitor , isTypeParameter ) ,
479
+ nodesVisitor ( ( < FunctionExpression > node ) . typeParameters , visitor , isTypeParameterDeclaration ) ,
480
480
visitParameterList ( ( < FunctionExpression > node ) . parameters , visitor , context , nodesVisitor ) ,
481
481
visitNode ( ( < FunctionExpression > node ) . type , visitor , isTypeNode ) ,
482
482
visitFunctionBody ( ( < FunctionExpression > node ) . body , visitor , context ) ) ;
483
483
484
484
case SyntaxKind . ArrowFunction :
485
485
return updateArrowFunction ( < ArrowFunction > node ,
486
486
nodesVisitor ( ( < ArrowFunction > node ) . modifiers , visitor , isModifier ) ,
487
- nodesVisitor ( ( < ArrowFunction > node ) . typeParameters , visitor , isTypeParameter ) ,
487
+ nodesVisitor ( ( < ArrowFunction > node ) . typeParameters , visitor , isTypeParameterDeclaration ) ,
488
488
visitParameterList ( ( < ArrowFunction > node ) . parameters , visitor , context , nodesVisitor ) ,
489
489
visitNode ( ( < ArrowFunction > node ) . type , visitor , isTypeNode ) ,
490
490
visitFunctionBody ( ( < ArrowFunction > node ) . body , visitor , context ) ) ;
@@ -543,7 +543,7 @@ namespace ts {
543
543
return updateClassExpression ( < ClassExpression > node ,
544
544
nodesVisitor ( ( < ClassExpression > node ) . modifiers , visitor , isModifier ) ,
545
545
visitNode ( ( < ClassExpression > node ) . name , visitor , isIdentifier ) ,
546
- nodesVisitor ( ( < ClassExpression > node ) . typeParameters , visitor , isTypeParameter ) ,
546
+ nodesVisitor ( ( < ClassExpression > node ) . typeParameters , visitor , isTypeParameterDeclaration ) ,
547
547
nodesVisitor ( ( < ClassExpression > node ) . heritageClauses , visitor , isHeritageClause ) ,
548
548
nodesVisitor ( ( < ClassExpression > node ) . members , visitor , isClassElement ) ) ;
549
549
@@ -676,7 +676,7 @@ namespace ts {
676
676
nodesVisitor ( ( < FunctionDeclaration > node ) . modifiers , visitor , isModifier ) ,
677
677
visitNode ( ( < FunctionDeclaration > node ) . asteriskToken , tokenVisitor , isToken ) ,
678
678
visitNode ( ( < FunctionDeclaration > node ) . name , visitor , isIdentifier ) ,
679
- nodesVisitor ( ( < FunctionDeclaration > node ) . typeParameters , visitor , isTypeParameter ) ,
679
+ nodesVisitor ( ( < FunctionDeclaration > node ) . typeParameters , visitor , isTypeParameterDeclaration ) ,
680
680
visitParameterList ( ( < FunctionDeclaration > node ) . parameters , visitor , context , nodesVisitor ) ,
681
681
visitNode ( ( < FunctionDeclaration > node ) . type , visitor , isTypeNode ) ,
682
682
visitFunctionBody ( ( < FunctionExpression > node ) . body , visitor , context ) ) ;
@@ -686,7 +686,7 @@ namespace ts {
686
686
nodesVisitor ( ( < ClassDeclaration > node ) . decorators , visitor , isDecorator ) ,
687
687
nodesVisitor ( ( < ClassDeclaration > node ) . modifiers , visitor , isModifier ) ,
688
688
visitNode ( ( < ClassDeclaration > node ) . name , visitor , isIdentifier ) ,
689
- nodesVisitor ( ( < ClassDeclaration > node ) . typeParameters , visitor , isTypeParameter ) ,
689
+ nodesVisitor ( ( < ClassDeclaration > node ) . typeParameters , visitor , isTypeParameterDeclaration ) ,
690
690
nodesVisitor ( ( < ClassDeclaration > node ) . heritageClauses , visitor , isHeritageClause ) ,
691
691
nodesVisitor ( ( < ClassDeclaration > node ) . members , visitor , isClassElement ) ) ;
692
692
@@ -695,7 +695,7 @@ namespace ts {
695
695
nodesVisitor ( ( < InterfaceDeclaration > node ) . decorators , visitor , isDecorator ) ,
696
696
nodesVisitor ( ( < InterfaceDeclaration > node ) . modifiers , visitor , isModifier ) ,
697
697
visitNode ( ( < InterfaceDeclaration > node ) . name , visitor , isIdentifier ) ,
698
- nodesVisitor ( ( < InterfaceDeclaration > node ) . typeParameters , visitor , isTypeParameter ) ,
698
+ nodesVisitor ( ( < InterfaceDeclaration > node ) . typeParameters , visitor , isTypeParameterDeclaration ) ,
699
699
nodesVisitor ( ( < InterfaceDeclaration > node ) . heritageClauses , visitor , isHeritageClause ) ,
700
700
nodesVisitor ( ( < InterfaceDeclaration > node ) . members , visitor , isTypeElement ) ) ;
701
701
@@ -704,7 +704,7 @@ namespace ts {
704
704
nodesVisitor ( ( < TypeAliasDeclaration > node ) . decorators , visitor , isDecorator ) ,
705
705
nodesVisitor ( ( < TypeAliasDeclaration > node ) . modifiers , visitor , isModifier ) ,
706
706
visitNode ( ( < TypeAliasDeclaration > node ) . name , visitor , isIdentifier ) ,
707
- nodesVisitor ( ( < TypeAliasDeclaration > node ) . typeParameters , visitor , isTypeParameter ) ,
707
+ nodesVisitor ( ( < TypeAliasDeclaration > node ) . typeParameters , visitor , isTypeParameterDeclaration ) ,
708
708
visitNode ( ( < TypeAliasDeclaration > node ) . type , visitor , isTypeNode ) ) ;
709
709
710
710
case SyntaxKind . EnumDeclaration :
0 commit comments