(expr: o.InvokeFunctionExpr, ctx: EmitterVisitorContext)
| 282 | } |
| 283 | |
| 284 | visitInvokeFunctionExpr(expr: o.InvokeFunctionExpr, ctx: EmitterVisitorContext): void { |
| 285 | this.printLeadingComments(expr, ctx); |
| 286 | |
| 287 | const shouldParenthesize = this.shouldParenthesize(expr.fn, expr); |
| 288 | |
| 289 | if (shouldParenthesize) { |
| 290 | ctx.print(expr.fn, '('); |
| 291 | } |
| 292 | expr.fn.visitExpression(this, ctx); |
| 293 | if (shouldParenthesize) { |
| 294 | ctx.print(expr.fn, ')'); |
| 295 | } |
| 296 | ctx.print(expr, expr.isOptional ? '?.(' : '('); |
| 297 | this.visitAllExpressions(expr.args, ctx, ','); |
| 298 | ctx.print(expr, ')'); |
| 299 | } |
| 300 | |
| 301 | visitTaggedTemplateLiteralExpr( |
| 302 | expr: o.TaggedTemplateLiteralExpr, |
nothing calls this directly
no test coverage detected
searching dependent graphs…