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

Function cbm_thread_cursor

internal/cbm/cbm.c:952–960  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

950static CBM_TLS bool tl_cursor_live = false;
951
952TSTreeCursor *cbm_thread_cursor(TSNode node) {
953 if (tl_cursor_live) {
954 ts_tree_cursor_reset(&tl_cursor, node);
955 } else {
956 tl_cursor = ts_tree_cursor_new(node);
957 tl_cursor_live = true;
958 }
959 return &tl_cursor;
960}
961
962/* Per-depth cursors for recursive walks (cbm_cursor_acquire). A walk at depth d
963 * holds slot d while it recurses into depth d + 1; the LSP call walkers used to

Callers 2

cbm_walk_error_nodesFunction · 0.85
ts_nstack_push_childrenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected