| 13606 | } |
| 13607 | |
| 13608 | static int64_t ovr_method(cbm_gbuf_t *gb, int64_t cls, const char *cls_name, const char *name) { |
| 13609 | char qn[128]; |
| 13610 | snprintf(qn, sizeof(qn), "m.%s.%s", cls_name, name); |
| 13611 | int64_t id = cbm_gbuf_upsert_node(gb, "Method", name, qn, "m.py", 2, 3, "{}"); |
| 13612 | cbm_gbuf_insert_edge(gb, cls, id, "DEFINES_METHOD", "{}"); |
| 13613 | return id; |
| 13614 | } |
| 13615 | |
| 13616 | /* OVERRIDE edges leaving `method`; *only_target receives the single target (or 0). */ |
| 13617 | static int ovr_out(cbm_gbuf_t *gb, int64_t method, int64_t *only_target) { |
no test coverage detected