@@ -242,31 +242,31 @@ namespace ts {
242242 case SyntaxKind . FunctionType :
243243 return updateFunctionTypeNode ( < FunctionTypeNode > node ,
244244 nodesVisitor ( ( < FunctionTypeNode > node ) . typeParameters , visitor , isTypeParameter ) ,
245- visitParameterList ( ( < FunctionTypeNode > node ) . parameters , visitor , context , nodesVisitor ) ,
245+ nodesVisitor ( ( < FunctionTypeNode > node ) . parameters , visitor , isParameterDeclaration ) ,
246246 visitNode ( ( < FunctionTypeNode > node ) . type , visitor , isTypeNode ) ) ;
247247
248248 case SyntaxKind . ConstructorType :
249249 return updateConstructorTypeNode ( < ConstructorTypeNode > node ,
250250 nodesVisitor ( ( < ConstructorTypeNode > node ) . typeParameters , visitor , isTypeParameter ) ,
251- visitParameterList ( ( < ConstructorTypeNode > node ) . parameters , visitor , context , nodesVisitor ) ,
251+ nodesVisitor ( ( < ConstructorTypeNode > node ) . parameters , visitor , isParameterDeclaration ) ,
252252 visitNode ( ( < ConstructorTypeNode > node ) . type , visitor , isTypeNode ) ) ;
253253
254254 case SyntaxKind . CallSignature :
255255 return updateCallSignatureDeclaration ( < CallSignatureDeclaration > node ,
256256 nodesVisitor ( ( < CallSignatureDeclaration > node ) . typeParameters , visitor , isTypeParameter ) ,
257- visitParameterList ( ( < CallSignatureDeclaration > node ) . parameters , visitor , context , nodesVisitor ) ,
257+ nodesVisitor ( ( < CallSignatureDeclaration > node ) . parameters , visitor , isParameterDeclaration ) ,
258258 visitNode ( ( < CallSignatureDeclaration > node ) . type , visitor , isTypeNode ) ) ;
259259
260260 case SyntaxKind . ConstructSignature :
261261 return updateConstructSignatureDeclaration ( < ConstructSignatureDeclaration > node ,
262262 nodesVisitor ( ( < ConstructSignatureDeclaration > node ) . typeParameters , visitor , isTypeParameter ) ,
263- visitParameterList ( ( < ConstructSignatureDeclaration > node ) . parameters , visitor , context , nodesVisitor ) ,
263+ nodesVisitor ( ( < ConstructSignatureDeclaration > node ) . parameters , visitor , isParameterDeclaration ) ,
264264 visitNode ( ( < ConstructSignatureDeclaration > node ) . type , visitor , isTypeNode ) ) ;
265265
266266 case SyntaxKind . MethodSignature :
267267 return updateMethodSignature ( < MethodSignature > node ,
268268 nodesVisitor ( ( < MethodSignature > node ) . typeParameters , visitor , isTypeParameter ) ,
269- visitParameterList ( ( < MethodSignature > node ) . parameters , visitor , context , nodesVisitor ) ,
269+ nodesVisitor ( ( < MethodSignature > node ) . parameters , visitor , isParameterDeclaration ) ,
270270 visitNode ( ( < MethodSignature > node ) . type , visitor , isTypeNode ) ,
271271 visitNode ( ( < MethodSignature > node ) . name , visitor , isPropertyName ) ,
272272 visitNode ( ( < MethodSignature > node ) . questionToken , tokenVisitor , isToken ) ) ;
@@ -275,7 +275,7 @@ namespace ts {
275275 return updateIndexSignatureDeclaration ( < IndexSignatureDeclaration > node ,
276276 nodesVisitor ( ( < IndexSignatureDeclaration > node ) . decorators , visitor , isDecorator ) ,
277277 nodesVisitor ( ( < IndexSignatureDeclaration > node ) . modifiers , visitor , isModifier ) ,
278- visitParameterList ( ( < IndexSignatureDeclaration > node ) . parameters , visitor , context , nodesVisitor ) ,
278+ nodesVisitor ( ( < IndexSignatureDeclaration > node ) . parameters , visitor , isParameterDeclaration ) ,
279279 visitNode ( ( < IndexSignatureDeclaration > node ) . type , visitor , isTypeNode ) ) ;
280280
281281 case SyntaxKind . Parameter :
@@ -322,7 +322,8 @@ namespace ts {
322322 nodesVisitor ( ( < UnionOrIntersectionTypeNode > node ) . types , visitor , isTypeNode ) ) ;
323323
324324 case SyntaxKind . ParenthesizedType :
325- throw Debug . fail ( "not implemented." ) ;
325+ return updateParenthesizedType ( < ParenthesizedTypeNode > node ,
326+ visitNode ( ( < ParenthesizedTypeNode > node ) . type , visitor , isTypeNode ) ) ;
326327
327328 case SyntaxKind . TypeOperator :
328329 return updateTypeOperatorNode ( < TypeOperatorNode > node , visitNode ( ( < TypeOperatorNode > node ) . type , visitor , isTypeNode ) ) ;
0 commit comments