The module-level Variable `name` declared in file `file_rel`. */
| 261 | |
| 262 | /* The module-level Variable `name` declared in file `file_rel`. */ |
| 263 | static const cbm_gbuf_node_t *pc_module_var(const cbm_gbuf_t *gbuf, const char *project, |
| 264 | const char *file_rel, const char *name) { |
| 265 | if (!file_rel) { |
| 266 | return NULL; |
| 267 | } |
| 268 | const cbm_gbuf_node_t *n = pc_find_by_computed_qn(gbuf, project, file_rel, name); |
| 269 | return (n && n->label && strcmp(n->label, "Variable") == 0) ? n : NULL; |
| 270 | } |
| 271 | |
| 272 | /* Resolve the binding `recv` names in the calling file to a client node: |
| 273 | * a same-file declaration first, then its ES import (default import → the |
no test coverage detected