@@ -242,31 +242,31 @@ namespace ts {
242
242
case SyntaxKind . FunctionType :
243
243
return updateFunctionTypeNode ( < FunctionTypeNode > node ,
244
244
nodesVisitor ( ( < FunctionTypeNode > node ) . typeParameters , visitor , isTypeParameter ) ,
245
- visitParameterList ( ( < FunctionTypeNode > node ) . parameters , visitor , context , nodesVisitor ) ,
245
+ nodesVisitor ( ( < FunctionTypeNode > node ) . parameters , visitor , isParameterDeclaration ) ,
246
246
visitNode ( ( < FunctionTypeNode > node ) . type , visitor , isTypeNode ) ) ;
247
247
248
248
case SyntaxKind . ConstructorType :
249
249
return updateConstructorTypeNode ( < ConstructorTypeNode > node ,
250
250
nodesVisitor ( ( < ConstructorTypeNode > node ) . typeParameters , visitor , isTypeParameter ) ,
251
- visitParameterList ( ( < ConstructorTypeNode > node ) . parameters , visitor , context , nodesVisitor ) ,
251
+ nodesVisitor ( ( < ConstructorTypeNode > node ) . parameters , visitor , isParameterDeclaration ) ,
252
252
visitNode ( ( < ConstructorTypeNode > node ) . type , visitor , isTypeNode ) ) ;
253
253
254
254
case SyntaxKind . CallSignature :
255
255
return updateCallSignatureDeclaration ( < CallSignatureDeclaration > node ,
256
256
nodesVisitor ( ( < CallSignatureDeclaration > node ) . typeParameters , visitor , isTypeParameter ) ,
257
- visitParameterList ( ( < CallSignatureDeclaration > node ) . parameters , visitor , context , nodesVisitor ) ,
257
+ nodesVisitor ( ( < CallSignatureDeclaration > node ) . parameters , visitor , isParameterDeclaration ) ,
258
258
visitNode ( ( < CallSignatureDeclaration > node ) . type , visitor , isTypeNode ) ) ;
259
259
260
260
case SyntaxKind . ConstructSignature :
261
261
return updateConstructSignatureDeclaration ( < ConstructSignatureDeclaration > node ,
262
262
nodesVisitor ( ( < ConstructSignatureDeclaration > node ) . typeParameters , visitor , isTypeParameter ) ,
263
- visitParameterList ( ( < ConstructSignatureDeclaration > node ) . parameters , visitor , context , nodesVisitor ) ,
263
+ nodesVisitor ( ( < ConstructSignatureDeclaration > node ) . parameters , visitor , isParameterDeclaration ) ,
264
264
visitNode ( ( < ConstructSignatureDeclaration > node ) . type , visitor , isTypeNode ) ) ;
265
265
266
266
case SyntaxKind . MethodSignature :
267
267
return updateMethodSignature ( < MethodSignature > node ,
268
268
nodesVisitor ( ( < MethodSignature > node ) . typeParameters , visitor , isTypeParameter ) ,
269
- visitParameterList ( ( < MethodSignature > node ) . parameters , visitor , context , nodesVisitor ) ,
269
+ nodesVisitor ( ( < MethodSignature > node ) . parameters , visitor , isParameterDeclaration ) ,
270
270
visitNode ( ( < MethodSignature > node ) . type , visitor , isTypeNode ) ,
271
271
visitNode ( ( < MethodSignature > node ) . name , visitor , isPropertyName ) ,
272
272
visitNode ( ( < MethodSignature > node ) . questionToken , tokenVisitor , isToken ) ) ;
@@ -275,7 +275,7 @@ namespace ts {
275
275
return updateIndexSignatureDeclaration ( < IndexSignatureDeclaration > node ,
276
276
nodesVisitor ( ( < IndexSignatureDeclaration > node ) . decorators , visitor , isDecorator ) ,
277
277
nodesVisitor ( ( < IndexSignatureDeclaration > node ) . modifiers , visitor , isModifier ) ,
278
- visitParameterList ( ( < IndexSignatureDeclaration > node ) . parameters , visitor , context , nodesVisitor ) ,
278
+ nodesVisitor ( ( < IndexSignatureDeclaration > node ) . parameters , visitor , isParameterDeclaration ) ,
279
279
visitNode ( ( < IndexSignatureDeclaration > node ) . type , visitor , isTypeNode ) ) ;
280
280
281
281
case SyntaxKind . Parameter :
@@ -322,7 +322,8 @@ namespace ts {
322
322
nodesVisitor ( ( < UnionOrIntersectionTypeNode > node ) . types , visitor , isTypeNode ) ) ;
323
323
324
324
case SyntaxKind . ParenthesizedType :
325
- throw Debug . fail ( "not implemented." ) ;
325
+ return updateParenthesizedType ( < ParenthesizedTypeNode > node ,
326
+ visitNode ( ( < ParenthesizedTypeNode > node ) . type , visitor , isTypeNode ) ) ;
326
327
327
328
case SyntaxKind . TypeOperator :
328
329
return updateTypeOperatorNode ( < TypeOperatorNode > node , visitNode ( ( < TypeOperatorNode > node ) . type , visitor , isTypeNode ) ) ;
0 commit comments