MCPcopy Create free account
hub / github.com/VKCOM/kphp / on_invoke_call

Method on_invoke_call

compiler/pipes/convert-invoke-to-func-call.cpp:90–101  ·  view source on GitHub ↗

here we replace op_invoke_call `$f(...)` with an op_func_call `$f->__invoke(...)` this can be done only here (not in deducing types), after all lambdas have been instantiated

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 6

assume_class_of_exprFunction · 0.85
try_as_classMethod · 0.80
is_lambda_classMethod · 0.80
set_locationMethod · 0.45
get_instance_methodMethod · 0.45

Tested by

no test coverage detected