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

Function patch_compiling_json_impl_call

compiler/code-gen/vertex-compiler.cpp:848–862  ·  view source on GitHub ↗

to_json_impl() and from_json_impl() are represented in AST as `impl($json_encoder, ...args)` but we want them to be codegenerated as `f$impl(JsonEncoderTag{}, ...args)` here we shift call args by one and manually output cpp struct tag{} as the first argument

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

compile_func_callFunction · 0.85

Calls 4

beginMethod · 0.45
endMethod · 0.45
set_locationMethod · 0.45
get_stringMethod · 0.45

Tested by

no test coverage detected