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

Function assume_class_of_expr

compiler/class-assumptions.cpp:729–802  ·  view source on GitHub ↗

the main function of this module, that is called from the outside it calculates the assumption for "root" inside "f", up to the "stop_at" vertex (stop_at is usually in the middle of the function, at the exact point, when we need an assumption, and if he have to traverse the function body, we start analyzing from the start and finist at stop_at)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

analyze_set_to_varMethod · 0.85
analyze_foreachMethod · 0.85
on_enter_vertexMethod · 0.85
infer_from_callFunction · 0.85
infer_from_arrayFunction · 0.85
infer_from_tupleFunction · 0.85
infer_from_shapeFunction · 0.85

Calls 15

infer_from_varFunction · 0.85
infer_from_instance_propFunction · 0.85
infer_from_callFunction · 0.85
infer_from_invoke_callFunction · 0.85
AssumptionClass · 0.85
infer_from_arrayFunction · 0.85
infer_from_tupleFunction · 0.85
infer_from_shapeFunction · 0.85
infer_from_ternaryFunction · 0.85
infer_from_null_coalesceFunction · 0.85
infer_from_op_lambdaFunction · 0.85
get_subkey_by_indexMethod · 0.80

Tested by

no test coverage detected