The namespace payload is content-only. Its ordered records never depend on * the registry used to build ordinary LSP definitions. */
| 78 | /* The namespace payload is content-only. Its ordered records never depend on |
| 79 | * the registry used to build ordinary LSP definitions. */ |
| 80 | static bool surface_py_add_nullable(yyjson_mut_doc *doc, yyjson_mut_val *obj, const char *key, |
| 81 | const char *value) { |
| 82 | return value ? yyjson_mut_obj_add_str(doc, obj, key, value) |
| 83 | : yyjson_mut_obj_add_null(doc, obj, key); |
| 84 | } |
| 85 | |
| 86 | static bool surface_add_python_namespace(yyjson_mut_doc *doc, yyjson_mut_val *root, |
| 87 | const CBMFileResult *result, CBMLanguage language, |
no outgoing calls
no test coverage detected