Back-compat wrapper: computes the parent via ts_node_parent (O(n)). * Prefer cbm_is_module_level_p at call sites that already know the * parent (the common case — iterating a parent's children). */
| 1144 | * Prefer cbm_is_module_level_p at call sites that already know the |
| 1145 | * parent (the common case — iterating a parent's children). */ |
| 1146 | bool cbm_is_module_level(TSNode node, CBMLanguage lang) { |
| 1147 | return cbm_is_module_level_p(ts_node_parent(node), lang); |
| 1148 | } |
| 1149 | |
| 1150 | // --- FQN computation --- |
| 1151 | // Mirrors Go's fqn.Compute(): project + path_parts_dotted + name |
nothing calls this directly
no test coverage detected