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

Function patch_lambda_function_add_uses_as_arguments

compiler/lambda-utils.cpp:174–194  ·  view source on GitHub ↗

this function adds variables from uses_list to arguments function($x) use ($a) before: lambda$xxx($x) after: lambda$xxx($a, $x), $a extra_type = op_ex_param_from_use

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 4

is_lambdaMethod · 0.80
get_paramsMethod · 0.80
emptyMethod · 0.45
set_locationMethod · 0.45

Tested by

no test coverage detected