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

Function csx_put_using

internal/cbm/doclink_cs.c:3507–3521  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3505} csx_scan_t;
3506
3507static void csx_put_using(csx_scan_t *p, const csx_tok_t *t) {
3508 if (!p->h_written) {
3509 sb_putc(&p->out, 'H');
3510 csx_put_field(&p->out, &p->x, p->gcond);
3511 sb_putc(&p->out, '\n');
3512 p->h_written = true;
3513 }
3514 sb_putc(&p->out, 'N');
3515 csx_put_field(&p->out, &p->x, t->attr[CSX_A_CONDITION]);
3516 csx_put_field(&p->out, &p->x, t->attr[CSX_A_INCLUDE]);
3517 csx_put_field(&p->out, &p->x, t->attr[CSX_A_REMOVE]);
3518 csx_put_field(&p->out, &p->x, t->attr[CSX_A_STATIC]);
3519 csx_put_field(&p->out, &p->x, t->attr[CSX_A_ALIAS]);
3520 sb_putc(&p->out, '\n');
3521}
3522
3523static void csx_put_import(csx_scan_t *p, const csx_tok_t *t, bool grouped) {
3524 if (grouped && !p->i_written) {

Callers 2

csx_group_childFunction · 0.85
csx_element_endFunction · 0.85

Calls 2

sb_putcFunction · 0.85
csx_put_fieldFunction · 0.85

Tested by

no test coverage detected