(expr: o.InvokeFunctionExpr, ctx: EmitterVisitorContext)
| 311 | } |
| 312 | |
| 313 | visitInvokeFunctionExpr(expr: o.InvokeFunctionExpr, ctx: EmitterVisitorContext): void { |
| 314 | this.printLeadingComments(expr, ctx); |
| 315 | |
| 316 | const shouldParenthesize = this.shouldParenthesize(expr.fn, expr); |
| 317 | |
| 318 | if (shouldParenthesize) { |
| 319 | ctx.print(expr.fn, '('); |
| 320 | } |
| 321 | expr.fn.visitExpression(this, ctx); |
| 322 | if (shouldParenthesize) { |
| 323 | ctx.print(expr.fn, ')'); |
| 324 | } |
| 325 | ctx.print(expr, expr.isOptional ? '?.(' : '('); |
| 326 | this.visitAllExpressions(expr.args, ctx, ','); |
| 327 | ctx.print(expr, ')'); |
| 328 | } |
| 329 | |
| 330 | visitTaggedTemplateLiteralExpr( |
| 331 | expr: o.TaggedTemplateLiteralExpr, |
nothing calls this directly
no test coverage detected