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

Function doc_note_code

internal/cbm/extract_defs.c:1522–1528  ·  view source on GitHub ↗

A non-trivia sibling before the anchor: trivia seen so far are not its. */

Source from the content-addressed store, hash-verified

1520
1521/* A non-trivia sibling before the anchor: trivia seen so far are not its. */
1522static void doc_note_code(doc_trivia_t *t, TSNode code) {
1523 t->count = 0;
1524 t->code_before = true;
1525 t->code_erow = doc_erow(code);
1526 t->code_eb = ts_node_end_byte(code);
1527 t->code_end_row = ts_node_end_point(code).row;
1528}
1529
1530/* End of the Kotlin block comment opening at src[i] (block comments nest). */
1531static uint32_t doc_kotlin_block_end(const char *src, uint32_t i, uint32_t to, uint32_t *row) {

Callers 2

doc_collect_cachedFunction · 0.85
doc_collect_cursorFunction · 0.85

Calls 1

doc_erowFunction · 0.85

Tested by

no test coverage detected