| 235 | /* ── Emit helper ─────────────────────────────────────────────────── */ |
| 236 | |
| 237 | static void push_channel(CBMExtractCtx *ctx, const char *channel_name, const char *transport, |
| 238 | CBMChannelDirection direction, TSNode call) { |
| 239 | CBMChannel ch = { |
| 240 | .channel_name = channel_name, |
| 241 | .transport = transport, |
| 242 | .enclosing_func_qn = enclosing_function_qn(ctx, call), |
| 243 | .direction = direction, |
| 244 | }; |
| 245 | cbm_channels_push(&ctx->result->channels, ctx->arena, ch); |
| 246 | } |
| 247 | |
| 248 | /* ══════════════════════════════════════════════════════════════════ |
| 249 | * JS/TS/TSX — Socket.IO, EventEmitter, WebSocket, Kafka, RabbitMQ |
no test coverage detected