MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / surface_py_add_nullable

Function surface_py_add_nullable

src/pipeline/lsp_surface.c:80–84  ·  view source on GitHub ↗

The namespace payload is content-only. Its ordered records never depend on * the registry used to build ordinary LSP definitions. */

Source from the content-addressed store, hash-verified

78/* The namespace payload is content-only. Its ordered records never depend on
79 * the registry used to build ordinary LSP definitions. */
80static 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
86static bool surface_add_python_namespace(yyjson_mut_doc *doc, yyjson_mut_val *root,
87 const CBMFileResult *result, CBMLanguage language,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected