MCPcopy Index your code
hub / github.com/python/mypy / deserialize_vtable_entry

Function deserialize_vtable_entry

mypyc/ir/class_ir.py:528–536  ·  view source on GitHub ↗
(data: JsonDict, ctx: DeserMaps)

Source from the content-addressed store, hash-verified

526
527
528def deserialize_vtable_entry(data: JsonDict, ctx: DeserMaps) -> VTableMethod:
529 if data[".class"] == "VTableMethod":
530 return VTableMethod(
531 ctx.classes[data["cls"]],
532 data["name"],
533 ctx.functions[data["method"]],
534 ctx.functions[data["shadow_method"]] if data["shadow_method"] else None,
535 )
536 assert False, "Bogus vtable .class: %s" % data[".class"]
537
538
539def deserialize_vtable(data: list[JsonDict], ctx: DeserMaps) -> VTableEntries:

Callers 1

deserialize_vtableFunction · 0.85

Calls 1

VTableMethodClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…