(ctx *OptimizerContext, expr ast.Expr)
| 191 | } |
| 192 | |
| 193 | func isLateBoundFunctionCall(ctx *OptimizerContext, expr ast.Expr) bool { |
| 194 | call := expr.AsCall() |
| 195 | function := ctx.Functions()[call.FunctionName()] |
| 196 | if function == nil { |
| 197 | return false |
| 198 | } |
| 199 | return function.HasLateBinding() |
| 200 | } |
| 201 | |
| 202 | func isAsyncFunctionCall(ctx *OptimizerContext, expr ast.Expr) bool { |
| 203 | call := expr.AsCall() |
no test coverage detected