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

Method on_callback_of_builtin

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

op_callback_of_builtin is an argument passed as a callback to an extern function `array_map('strlen')` where 'strlen' was wrapped into op_callback_of_builtin with str_val=strlen `array_map(fn(...)=>...)` where a lambda was wrapped into op_callback_of_builtin with bound_instance=lambda_class and str_val=__invoke `array_map($callback)` where a variable is wrapper into op_callback_of_builtin with bou

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 7

assume_class_of_exprFunction · 0.85
is_lambdaMethod · 0.80
try_as_classMethod · 0.80
emptyMethod · 0.45
get_functionMethod · 0.45
as_human_readableMethod · 0.45
get_instance_methodMethod · 0.45

Tested by

no test coverage detected