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

Function resolve_zig_test_name

internal/cbm/extract_defs.c:338–348  ·  view source on GitHub ↗

Zig: resolve test_declaration name from string→string_content.

Source from the content-addressed store, hash-verified

336
337// Zig: resolve test_declaration name from string→string_content.
338static TSNode resolve_zig_test_name(TSNode node) {
339 TSNode str_node = cbm_find_child_by_kind(node, "string");
340 if (!ts_node_is_null(str_node)) {
341 TSNode content = cbm_find_child_by_kind(str_node, "string_content");
342 if (!ts_node_is_null(content)) {
343 return content;
344 }
345 }
346 TSNode null_node = {0};
347 return null_node;
348}
349
350// VimScript: resolve function_definition name from function_declaration child.
351static TSNode resolve_vimscript_func_name(TSNode node) {

Callers 1

Calls 1

cbm_find_child_by_kindFunction · 0.85

Tested by

no test coverage detected