Python implicit concatenation: "a" "b". */
| 227 | |
| 228 | /* Python implicit concatenation: "a" "b". */ |
| 229 | static const char *fold_implicit_concat(CBMExtractCtx *ctx, TSNode node, int depth, bool url) { |
| 230 | fold_buf_t b = {.len = 0, .url = url}; |
| 231 | b.text[0] = '\0'; |
| 232 | uint32_t nc = ts_node_named_child_count(node); |
| 233 | for (uint32_t i = 0; i < nc; i++) { |
| 234 | fold_part(ctx, &b, ts_node_named_child(node, i), depth); |
| 235 | } |
| 236 | return finish(ctx, &b); |
| 237 | } |
| 238 | |
| 239 | /* "A.B.C" for a JS member chain over identifiers, or false. */ |
| 240 | static bool dotted_name(CBMExtractCtx *ctx, TSNode node, char *out, size_t cap, int depth) { |