| 3917 | } |
| 3918 | |
| 3919 | static bool pylsp_prefix_add(CBMTypeRegistry *reg, const char *qn, const char *receiver) { |
| 3920 | int before = reg->func_count; |
| 3921 | cbm_registry_add_func( |
| 3922 | reg, |
| 3923 | (CBMRegisteredFunc){.qualified_name = qn, .short_name = "call", .receiver_type = receiver}); |
| 3924 | return reg->func_count == before + 1; |
| 3925 | } |
| 3926 | |
| 3927 | static bool pylsp_prefix_oracles(const CBMTypeRegistry *reg) { |
| 3928 | const char *prefixes[] = {NULL, "", "pkg.", "pkg.sub.", |
no test coverage detected