| 286 | } |
| 287 | |
| 288 | void cbm_extract_semantic(CBMExtractCtx *ctx) { |
| 289 | const CBMLangSpec *spec = cbm_lang_spec(ctx->language); |
| 290 | if (!spec) { |
| 291 | return; |
| 292 | } |
| 293 | |
| 294 | // Throws |
| 295 | if ((spec->throw_node_types && spec->throw_node_types[0]) || |
| 296 | (spec->throws_clause_field && spec->throws_clause_field[0])) { |
| 297 | walk_throws(ctx, ctx->root, spec); |
| 298 | } |
| 299 | |
| 300 | // Reads/Writes |
| 301 | if (spec->assignment_node_types && spec->assignment_node_types[0]) { |
| 302 | walk_readwrites(ctx, ctx->root, spec); |
| 303 | } |
| 304 | } |
| 305 | |
| 306 | // --- Unified handlers --- |
| 307 |
nothing calls this directly
no test coverage detected